{"id":101,"date":"2003-11-22T21:12:59","date_gmt":"2003-11-22T20:12:59","guid":{"rendered":"http:\/\/wp.devco.net\/?p=101"},"modified":"2009-10-09T17:31:41","modified_gmt":"2009-10-09T16:31:41","slug":"gmaneorg_nntp_2_rss_converter","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2003\/11\/22\/gmaneorg_nntp_2_rss_converter.php","title":{"rendered":"gmane.org NNTP 2 RSS converter"},"content":{"rendered":"

Ever since I started using<\/a> Sharpreader<\/a> I have been missing out on some feeds I used to read. Newzcrawler<\/a> has the ability to read NNTP and show it in the same style interface as RSS feeds which is really nice for reading mailing lists via gmane.org<\/a>‘s SMTP to NNTP service.
\nAt the moment I read
FreeBSD Stable<\/a>, FreeBSD Security Announce<\/a>, NT Bugtraq<\/a> and Bugtraq<\/a> through this gmane.org so you can understand that it was rather traumatic to loose this ability.<\/p>\n


\nI spent hours looking for something to convert newsgroups to RSS feeds and came across one
promising project<\/a> but it has some limitations – it does not do full bodies and its a PHP script so it does the NNTP download at the time you request it which means even coding in Body support would no doubt make it very slow to respond.
\nI set out writing my own gmane specific implementation using
Perl<\/a> using News::NNTPClient<\/a>, XML::RSS<\/a> and DateTime::Format::W3CDTF<\/a>.
\nYou can get the full perl source
here<\/a> and be sure to satisfy the required modules above, they are all in the FreeBSD Ports Tree<\/a>.
\nI run the script from a crontab entry regularly and it outputs RSS feeds. Currently the major features are:<\/p>\n