nntplib.pl & wwwnews.pl"

Jack Shirazi - BIU (js@bison.lif.icnet.uk)
Mon, 26 Sep 94 16:47:36 BST


I will follow this mail with the two files nntplib.pl & wwwnews.pl.
These are my first, working attempts at the nntp/news URL support.

nntplib.pl is the start of an nntp library of functions. It currently
supports only the parts of nntp necessary to do GET's (and HEAD's).
It could do with a lot more extending. I will not be extending it
further any time soon.

wwwnews.pl is the usual file. It calls nntplib.pl. Just add in
a 'require "wwwnews.pl";' line into get, and news retreival is
supported. Official URL's are like:
news:comp.lang.perl
news:35paoj$gvg@hibbert.meiko.com
(the last is a message id for a recent post in c.l.p)

news:*

Unofficial (as supported by mosaic too):
news:news.group/33344-33350
(specifying articles 33344 to 33350 in the group news.group)
Almost anything with a * in the path defaults to news:*

The nntp URL scheme is almost trivial to add. I'll get
around to it (if no one else does) when I next have time
(probably not for a while).

Have fun
-Jack js@biu.icnet.uk