News for hackers. Stuff that matters.
Re:Preview: River of News in JSON by Groxx on Sunday December 05, 2010 @06:47PM (#1973153)
O...kay? Why is this news-worthy?

Was there XML previously? They're the same thing, they just use different parsers.

Was there no programmatic access previously? How about a link to where they announce this omg-new-way-to-read-News-River? Scraping looks like it would be simple enough, so I doubt lack-of-JSON-access prevented people from writing anything for changing News River's display.

Is this meant to be public? Will it go away? Why do we want News River in the first place? What is the point of this post?

Re:Preview: River of News in JSON by nir on Sunday December 05, 2010 @07:03PM (#1973197)
Don't know the point of this post, but anything that's code or output of code gets my vote over the "everything I need to know about startups I learned in Kindergarten" submissions.
Re:Preview: River of News in JSON by Groxx on Sunday December 05, 2010 @07:06PM (#1973203)
Why support the lesser of two evils when you don't need either?
Re:Preview: River of News in JSON by nir on Sunday December 05, 2010 @07:14PM (#1973234)
Because we can only upvote.
Re:Preview: River of News in JSON by Groxx on Sunday December 05, 2010 @07:16PM (#1973237)
And not-upvote.
Re:Preview: River of News in JSON by jacob_riis on Sunday December 05, 2010 @07:30PM (#1973266)
It was not XML previously.

I will write a blog post soon explaining, but I wanted people to have a look first.

I believe it's totally newsworthy, but of course YMMV.

Re:Preview: River of News in JSON by Groxx on Sunday December 05, 2010 @07:40PM (#1973287)
The blog post I'll probably end up reading if it makes it to the front page of HN. I don't often look at the new stuff (sorry, but it's true).

But as-is? It's a 1-1 duplicate of the main page (though it does separate by source) in a different format, and a strange extra layer in the JSON:

  { updatedFeeds:{updatedFeed:[{feed item}]}, metadata:{} }
Why updatedFeeds.updatedFeed[]? There's nothing else in updatedFeeds.

edit:

There's also the inconsistency that updatedFeeds.updatedFeed[x].item may be an array or an object, depending on how many items are by that source. Inconsistency == increased edge-case code == less happy users of the data.

It seems a barely-thought-out representation of the data, nothing I'd want other people to see.

Re:Preview: River of News in JSON by davewiner on Monday December 06, 2010 @09:29PM (#1977763)
Re:Preview: River of News in JSON by atheken on Monday December 06, 2010 @09:45PM (#1977799)
Just pushed something more generic to heroku last week..

Http://jsonr.heroku.com

Converts any XML feed to JSON or JSONP. Docs coming very soon.

Re:Preview: River of News in JSON by BarkMore on Sunday December 05, 2010 @06:41PM (#1973132)
The host is refusing connections on port 80.
Re:Preview: River of News in JSON by davewiner on Sunday December 05, 2010 @06:46PM (#1973145)
Had to fix something for a minute. It's working again. Sorry for the outage.
Re:Preview: River of News in JSON by jerf on Sunday December 05, 2010 @06:58PM (#1973184)
Pity we can't go back in time and specify something like this in JSON as the actual format for RSS. It would have prevented a lot of drama. (Not all of it, but a non-trivial amount of it.)
Re:Preview: River of News in JSON by BarkMore on Sunday December 05, 2010 @07:16PM (#1973239)
It's working for me now. Can bodies and titles contain HTML markup?
Re:Preview: River of News in JSON by jacob_riis on Sunday December 05, 2010 @07:29PM (#1973264)
You won't see any HTML markup in any of it.