]> Sergey Matveev's repositories - public-inbox.git/commitdiff
README: document NNTP access
authorEric Wong <e@80x24.org>
Wed, 30 Sep 2015 21:25:51 +0000 (21:25 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Sep 2015 21:33:34 +0000 (21:33 +0000)
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
README

index acc6ca94bb484a42ee57f5d43aaead53f81d8600..ef6a4f3557395825d05fc5818ba56696367ec40e 100755 (executable)
@@ -17,7 +17,9 @@ my ($title) = ($str =~ /\A([^\n]+)/);
 # temporarily swap &gt; for escape so our s!! to add href works.
 # there's probably a way to do this with only a single s!! ...
 $str =~ s!&gt;!\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!&gt;!g; # swap escapes back to &gt;
 
 print '<html><head>',
diff --git a/README b/README
index 89e8521fa38463ae4894a839e3ce1194ea61457f..965556fafb21ccf9d273ab6d7b1cd690a874ce57 100644 (file)
--- 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
 ---------