Ask HN: Help me make HN work well on the iPhone
I feel bad that I still haven't produced a variant of HN that works well on an iPhone. A helpful user just sent me what he says is the minimum I'd have to do.
http://www.archub.org/wohl.txt
But I've learned that code people send by email generally doesn't work. ("It doesn't work." "Oops, I forgot, you also have to..." "It still doesn't work." etc.)
So I'd appreciate it if someone would produce a verbatim, tested snapshot of the HN frontpage that shows the minimum amount of stuff I'd have to change to make the site work decently on an iPhone. (I know I need bigger arrows; you can make those too if you want.)
65 comments
[ 4.1 ms ] story [ 140 ms ] threadBut thank you, icombinator author. And the folks before them (blanking on the YC funded company) that offered something similar, for a time.
Just my two cents. shrug
Here are the URLs to test on the phone.
http://lookerupper.com/hn/news.html http://lookerupper.com/hn/comments.html
Obviously not an optimal iPhone interface, but enough for reading/login/voting.
Screen shot of the second page on Android, it seems to be a bit too wide. http://static.3banana.com/pics/lookerupper_comments_android-...
http://developer.apple.com/documentation/appleapplications/R...
http://xavvy.com/news.yc/comments-arrows.html
In HTML, the up and down arrow A elements get classes; in the CSS, the IMGs are stretched and the down arrow bumped down a bit.
(And the last comment shows a failed experiment in using ⇑ and ⇓ in lieu of IMGs.)
And then testing is easy too. Just resize your window.
Oh, actually, just one thing - links in the message body. Since iPhones can't copy/paste, those might as well not be there. Otherwise, it seems pretty functional to me... I've browsed articles and comments, posted comments, checked my threads for responses... all worked absolutely fine.
If the user agent matches an iPhone, then make the borders a few pixels wide and make the content stretch across the screen. Then it would be pretty much perfect.
I have a bookmarklet that tries to set the width to 480. It works really well for the front page, but not so much for comment pages when there are lost of nested comments.
The grandparent issue -- clickable links in top text -- can be fixed with a bookmarklet, even on the iPhone:
http://news.ycombinator.com/item?id=430725
http://code.google.com/p/iui/
IUI is good, but, the only problem that I have been having is that it doesn't retain browsing history after I visit an external link.
There are some other good libraries that can be used for HN. Please have a look at this: http://stackoverflow.com/questions/215390/available-iphone-w...
Is the winner going to be a new moderator? Get a HN T-Shirt? Get a 7x7 pixel image of their face hidden on the site somewhere?
What you actually want is a mobile projection of the HN site! iPhone is the dominant device in the US but I am sure you want to open up to Asia's Nokia, Google's Android and the BlackBerry as well.
We launched Mobify.Me in a post earlier today and here's a mobile version of HN done in around 5 minutes (as it's very late here in Vancouver). All you'd have to do is point a DNS entry for m.ycombinator.com to:
http://yc.mobify.me
Hope you like it!
Team Mobify.Me
You just filled a need for the guy who says "make something people want."
- All that has changed is the front page, which already displayed fine on mobile devices. Every other page (comments, etc) is unchanged. Comments sometimes have rendering problems on mobile devices (they're sometimes way too wide), so it seems like the Comments pages should be modified, not the front page.
- Valuable information has been stripped, including login status and current karma count.
- The header color has been stripped.
- Items should be spaced further apart.
Basically, you've already met your goal, which is to "make HN work well on the iPhone" -- it currently works great.
I do about 80% of my HNing on the iPhone, so any improvements would be huge. Thanks for looking into this, Paul!