Re:Hacker News firehose feed
by LiveTheDream on Saturday November 13, 2010 @11:25AM
(#1901040)
This is actually the first time I've heard about rss cloud, though apparently rss cloud has been around for ages. Is there any particular reason you went with this over PubSubHubbub?
Re:Hacker News firehose feed
by kwamenum86 on Saturday November 13, 2010 @12:43PM
(#1901201)
There are a number of issues with the RSS Cloud. There are proposals to fix RSS Cloud (see discussion here http://rsscloud.org/walkthrough/openDiscussion.html), but there is not yet a new specification incorporating these changes.
Which are you waiting for? We might have addressed some of them.
I cannot subscribe from Google App Engine. My incoming and outgoing IP address are not the same as required by RSS Cloud.
Here is an implementation of RSS Cloud done specifically for Google App engine:
http://www.shotton.com/wp/2009/10/20/poets-guide-to-rssnimbu...
And here is the source code:
http://www.shotton.com/wp/2009/10/20/rssnimbus-source-code-a...
Thanks. We did address that.
See item #6 in this section of the walkthrough.
http://rsscloud.org/walkthrough.html#requestingNotificationU...
I use it because it's part of RSS, and that's an RSS feed. :-)
One thing that remains to be done is figuring out how the encoding works. Not sure if the funny characters are coming from: YC, the API service I'm using (http://api.ihackernews.com/new) or JSON, but there are some funny encodings that show up. The feed is usable but looks dorky sometimes.
I'll take a look on my end.
I just added code to filter special character sequences. As I encounter special characters in the JSON, I'll just change them to more innocuous characters. Like turning a curly single quote, which is communicated by this triplet: ’ into a straight single quote.
http://static.scripting.com/hackernews/rss.xml
Each item points to the article being linked to from the HN entry. The <comments> link points to the HN discussion page.
The feed is realtime, it has a functional <cloud> element, and the notification server works (at least for now, knock wood, praise Murphy).
http://cyber.law.harvard.edu/rss/soapMeetsRss.html
I am following it in http://daveriver.scripting.com/. It's a lot of news, but I like having it there. You're welcome to poll it, but please no more often than once a minute. It only updates at most once a minute, so there's no point in polling more frequently.