about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-30 21:25:51 +0000
committerEric Wong <e@80x24.org>2015-09-30 21:33:34 +0000
commite012d02ca21ddd01864c683e9cec318190abb047 (patch)
treeab729edc82e56b9740ea628a08775c8a71929dba
parent6d4c168ed494d1f4681a00062aab92baff50e94a (diff)
downloadpublic-inbox-e012d02ca21ddd01864c683e9cec318190abb047.tar.gz
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
-rwxr-xr-xDocumentation/txt2pre4
-rw-r--r--README8
2 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/txt2pre b/Documentation/txt2pre
index acc6ca94..ef6a4f35 100755
--- a/Documentation/txt2pre
+++ b/Documentation/txt2pre
@@ -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 89e8521f..965556fa 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
 ---------