News for hackers. Stuff that matters.
Re:Hnsh - Hacker News from the command-line by ShabbyDoo on Monday December 07, 2009 @09:30AM (#981210)
There's no HN API, right? So, you have to screen-scrape?
Re:Hnsh - Hacker News from the command-line by scottjackson on Monday December 07, 2009 @09:34AM (#981218)
Unfortunately, yeah, I'm just getting the HTML of the home-page and slicing and dicing it.

Oh, how I wish there was an API... I kept the HTML-getting stuff in its own class, so if HN ever adds an API, I can slot that right in there instead.

Re:Hnsh - Hacker News from the command-line by ShabbyDoo on Monday December 07, 2009 @09:51AM (#981243)
I haven't yet tried out HN on my new Droid, but I've found that I far prefer purpose-built apps over just using "normal" sites. For example, the twitter app is much easier for my fat fingers than using the twitter site via the Android browser. With an API,....
Re:Hnsh - Hacker News from the command-line by ZeroGravitas on Monday December 07, 2009 @11:14AM (#981403)
Is that the standard twitter site, the old m.twitter.com site for mobile phones or the new mobile.twitter.com for webkit based phones?

This is an area where webapps should already be competitive.

Re:Hnsh - Hacker News from the command-line by ShabbyDoo on Monday December 07, 2009 @11:19AM (#981412)
Oh...I'm new to the whole smartphone thing...I'll have to try mobile twitter.
Re:Hnsh - Hacker News from the command-line by RiderOfGiraffes on Monday December 07, 2009 @06:21PM (#982500)
Given that you're fetching, slicing and dicing, why can't you then provide an API? That would be uber-cool ...
Re:Hnsh - Hacker News from the command-line by scottjackson on Monday December 07, 2009 @06:31PM (#982516)
The thing is, I could, but because I'm not at all related to HN in any official way, it would be up to me to change how the API gets data from HN whenever HN changes anything at their end. That would mean there'd probably be a delay between HN making changes and me making changes, during which time any applications using the API wouldn't work.

I'd happily do it with the blessing of the officials at Y Combinator :)

Re:Hnsh - Hacker News from the command-line by ShabbyDoo on Tuesday December 08, 2009 @12:10PM (#984071)
What's your implementation language?