This FeedHose thing is starting to get interesting! 1. There's a new page that shows the 3 most recent items to flow through the hose for the NYT. http://hose.scripting.com/recent 2. You can change the number of items if you like. Max is 15. http://hose.scripting.com/recent?count=5 3. You can get the most recent items in JSON. http://hose.scripting.com/recent?format=json It's worth pausing here. Look carefully. That's RSS data in JSON format. (I was not the first to do this, thankfully, I had prior art to look at. And a very nice validator to work with as well.) 4. You can also get the long-poll version in JSON, though it's harder to demo. You should call this from a loop in a script to test, or from a browser-based AJAX app. The call below will timeout after 3 seconds. The default is 180. http://hose.scripting.com/?format=json&timeout=3 5. The seed page is also available in JSON. (I've got a general-purpose JSONizer inside the app.) http://hose.scripting.com/seed?format=JSON 6. To celebrate all this neat jsonish hoseyness, I bought a cool domain to tie it all together (haven't started that part yet). |