diff options
-rwxr-xr-x | Documentation/txt2pre | 4 | ||||
-rw-r--r-- | README | 8 |
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 > 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>', @@ -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 --------- |