[Skip header and go to main content.]
news://rss.cpl593h.net:1119/: browse RSS feeds with your newsreader. If you’ve never read Usenet news or used a newsreader before, this post may not interest you.
Read on for more details. If you do try this out, please add a comment, because I’m interested in hearing your feedback. The software is at version 0.1, and is therefore likely to be buggy, but I’m already finding it useful.
RSS is an XML-based file format used for summarizing the content of web sites, especially news sites and weblogs, in a manner that is easily parseable. A typical RSS file (or ‘feed’) will contain, at a minimum, the name of the site, the URL of the site, plus a title, URL, and short description for each site entry. The headlines on the Slashdot sidebars are generated using RSS, for instance, and the chompy.net front page displays post summaries using information extracted from your weblogs’ RSS feeds.
nntprss is a new Java-based program that takes RSS feeds and serves them using NNTP, the network news protocol recognized by news clients such as Outlook Express or Forte Agent. I made a small change to the source code to make the software more flexible, and now there’s a server running at rss.cpl593h.net, port 1119. Point your newsreader at that host, being sure to specify port 1119, and subscribe to a few feeds. If you have problems with your particular news client, please contact the authors of nttprss so they can fix it.
The quality of the RSS feeds varies considerably from feed to feed. Some feeds contain nothing but a headline and a link, while some contain the full text (and images) of each entry. If you wish for your RSS feed to display your entry’s full text (which certainly makes the server more useful), please see these instructions, for example (I recommend not replacing your existing feed, but adding a new feed). If you update your feed URL or find others that are good, please let me know.
Finally, nntprss is GPL‘d software. Here is my code change, starting at line 220 of Channel.java:
String description =
XMLHelper.getChildElementValue(
itemElm,
"content:encoded");
if ((description == null) || (description == "")) {
description =
XMLHelper.getChildElementValue(
itemElm,
"description",
"");
}
comments
i got a server not found. you don’t like the cookies in the comment forms?
posted by gabe on January 8, 2003 4:08 PM
oops. sorry, it was my typo.
posted by gabe on January 8, 2003 4:10 PM
hi gabe!
i removed the comment cookies temporarily because i had introduced a problem that i didn’t feel like fixing. now i don’t remember what the problem was.
this nntprss thing is a little flaky, i think. now that it’s been running for a day, it looks like it’s a bit of a resource hog. it spawns a bazillion little java processes, and i’ve had to restart it a couple times. but it’s only the first version of the software, so i guess that sort of thing is to be expected.
man, work’s been slow lately.
posted by jacob on January 8, 2003 4:27 PM
Thanks for the post - I’ll make sure that your update to support content:encoded gets into the next release, 0.2, which is due for release any day now.
As far as the resource issues go, the current release of nntp//rss has very simplistic thread pooling logic. I’m looking to introduce some throttling in a future release that’ll make it less of a resource hog!
posted by Jason Brome on January 15, 2003 4:10 PM
Thanks for the software! I hope I didn’t sound like an ingrate, because I use nntp//rss every day and like it very much. There are plenty of little touches that show that a lot of thought went into writing it, which is especially impressive given the fact that this is the first release.
posted by jacob on January 15, 2003 4:33 PM
No problem!… glad you find it useful - there’ll be more features coming soon that I hope will make it even more of a useful app!
posted by Jason Brome on January 19, 2003 8:37 PM
it looks good from here, but the link-o-matic only goes to about Feb 12. i was looking for an rss feed for the link-o-matic…
posted by sentry on February 25, 2003 7:27 PM
Comment posting has been closed on this entry.