Live data from Hacker News

A better mobile version of HN. Please review my weekend project

toadjaw.com

21–30 of 53 posts

Re: A better mobile version of HN. Please review my weekend project

#24

An icon for iPhone users would be nice... EDIT: Oh, and thank you! It really seems to be better than iCombinator.

Do you know where to find a HN icon in ico format?

EDIT: Duh... HN itself has one. I'll use it.

EDIT: Ok, I added it. Thanks for reminding me about this.

Re: A better mobile version of HN. Please review my weekend project

#26
post #15

For some reason I can not zoom on that page on my Nexus One. Is that intentional, and how is it done? I can zoom on other web sites. I guess links could be bigger - I tend to zoom on web sites to hit the smaller links, and since it is not possible on your page, it might become an issue.

On the iPhone, and I think also on Android devices, you can prevent a page from being zoomed withe the following meta tag : But this tag isn't being used here, as far I can see.

(that tag is on the site)

Re: A better mobile version of HN. Please review my weekend project

#29
post #11
post #3

http://www.icombinator.net/ I really wish there was a way to comment and vote from the interface, though.

I really like icombinator but I wanted to address some problems and add new features (View the article text, collapse/expand comments, and return to the previous position when using the browsers back button).

This is awesome! (iCombinator author here :) Looking forward to the new features coming to your app!

Re: A better mobile version of HN. Please review my weekend project

#30
post #12

How does this work?

For the home page, I request the HTML from HN, process it, and create a collection of elements that represent a HN news item: URL, Title, # of comments, ID, Posted By, Date, and so on. Then use that to generate the new HTML. I cache that for 200 seconds and store a copy in the event that I can't read the HTML from HN.

Works just about the same way for the comments , except it adds some additional functionality like collapsing comments. With the nature of comments being nested, a recursive function worked really well on rendering the output.

The article text functionality uses the algorithm from arc 90's readability project, which is in javascript. I used the main idea behind their readability algorithm for this, except mine runs server side (C#) where theirs is all done on the client.

Post reply on HN