News for hackers. Stuff that matters.
Re:Hacker News firehose feed by davewiner on Saturday November 13, 2010 @10:11AM (#1900917)
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.
Re:Hacker News firehose feed by ronnier on Saturday November 13, 2010 @11:37AM (#1901068)
I'll take a look on my end.
Re:Hacker News firehose feed by davewiner on Saturday November 13, 2010 @02:27PM (#1901460)
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.
Re:Hacker News firehose feed by davewiner on Saturday November 13, 2010 @05:29PM (#1901878)
The filter seems to work! :-)