* [PATCH] README: document NNTP access
@ 2015-09-30 21:36 7% Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2015-09-30 21:36 UTC (permalink / raw)
To: meta
That's right, we now have our NNTP server running and are
self-hosting a read-only news gateway at:
nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
---
Documentation/txt2pre | 4 +++-
README | 8 ++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/txt2pre b/Documentation/txt2pre
index acc6ca9..ef6a4f3 100755
--- a/Documentation/txt2pre
+++ b/Documentation/txt2pre
@@ -17,7 +17,9 @@ my ($title) = ($str =~ /\A([^\n]+)/);
# temporarily swap > for escape so our s!! to add href works.
# there's probably a way to do this with only a single s!! ...
$str =~ s!>!\e!g;
-$str =~ s!\b((ftp|https?)://[\w+\+\&\?\.\%\;/#-]+)!<a\nhref="$1"\n>$1</a>!g;
+$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#-]+)!<a
+href="$1"\n>$1</a>!g;
+
$str =~ s!\e!>!g; # swap escapes back to >
print '<html><head>',
diff --git a/README b/README
index 89e8521..965556f 100644
--- a/README
+++ b/README
@@ -4,7 +4,8 @@ public-inbox implements the sharing of an email inbox via git to
complement or replace traditional mailing lists. Readers may
subscribe to a mailing list using ssoma[1] (a git-wrapper) to
import email from a git repository into an IMAP folder, Maildir,
-or mbox. Readers may also read via Atom feeds and HTML archives.
+or mbox. Readers may also read via NNTP, Atom feeds and HTML
+archives.
public-inbox spawned around three main ideas:
@@ -39,7 +40,8 @@ addresses without losing/splitting archives. Dedicated readers only
need to install ssoma, a command-line tool[1] currently implemented in
Perl.
-Casual readers may also follow the list via Atom feed or web archives.
+Casual readers may also follow the list via NNTP, Atom feed or
+HTML archives.
_Anybody_ may also setup a delivery-only mailing list server to replay
a public-inbox git archive to subscribers via SMTP.
@@ -117,6 +119,8 @@ You may subscribe via ssoma(1), LISTNAME is a name of your choosing:
ssoma sync --cron
HTML inbox archives are available: http://public-inbox.org/meta/
+The archives are also readable via NNTP:
+ nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
Anti-Spam
---------
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-09-30 21:36 7% [PATCH] README: document NNTP access Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).