4 ms·
HN reader
- jhuckabee 15y agoThanks mrsebastian for posting this and everyone else for the feedback. I created this project several months ago as way to dive in and learn node.js. I found it useful and enjoyable to use for myself and decided to throw it on the web. For anyone interested, the code is available at https://github.com/jhuckabee/hn_reader https://github.com/jhuckabee/hn_reader. Pull requests welcome. Unfortunately a lot of sites don't like to be framed which makes the interface annoying to use at times. Also, don't try to open it on a mobile device. It flat out doesn't work. I hope to fix that in a future version. Despite these annoyances, I still use it as my primary means of reading HN.
- mrsebastian 15y agoThere you are! Sorry about possibly jumping the gun :)
- richardg 15y agoWill take a look. Thanks!
- rrand 15y agowould be excellent if you added voting buttons in the title box as well!
- intellection 15y agoLovely to access. Comment icon feels a little minimized, is it better for power users? Importantly, unlike official 'comments' links, it is always clickable in same place.
- tensafefrogs 15y agoLooks nice. I'd like to see the vote count for posts if possible (mostly because I like to see how old/popular a post is)
- pbjorklund 15y agoVery nice! Would love j and k keyboard movement and loading of more stories when you scroll near the end.
- bigohms 15y agoVery cool. Some sites, like the Google 10,000 house article are blocking pages rendered in frames. Perhaps there is a way to do DIVs?
- tmcb 15y agoIt should be kind of fun selecting this very link there.
- benatkin 15y agoI started from the top, clicking every link, and hit this one. It's a frame-friendly site!
- simonw 15y agoWow, it looks like a surprisingly large number of sites refuse to be framed. Shouldn't be too much of a surprise when you consider the threat of click-jacking, but interesting to see none-the-less.
- mmahemoff 15y agoYes, I've written my own HN reader as well as other apps using iframes...and basically the situation sucks. With a reader like this, you have two real options: * Include regular iframes and risk an increasing number of sites opting out with JavaScript or (more politely) an X-Frame-Options header. * Use <iframe sandbox> to prevent people busting out of it with JavaScript. But that stops all JavaScript, so apps and videos won't show up. Pity. iFrames have so many great uses like this Reader. Browsers really need to deal with the clickjacking problem instead of forcing everyone to bust out of them and making sites like this unusable.
- chrisfarms 15y agoYeah that's a real show stopper ... otherwise I'd use this all day. Guess standalone app is the only route to avoid this? I think even Chrome extensions couldn't get around this since they dropped the experimental sidebar thing :/
- richardg 15y agoNice and simple layout. Got a similar site too. http://news.ycombinator.com/item?id=2529573 http://news.ycombinator.com/item?id=2529573 It's here - http://ireadhn.g-webtech.com/ http://ireadhn.g-webtech.com/ Did you use the same API? I have never had a chance to work on the comments but got inspired to work on it again. Good work!
- brohee 15y agoUnderscores aren't legal in hostnames.
- mike-cardwell 15y agoIt doesn't handle gracefully, sites which prevent themselves from being opened in frames by utilising the "frame-ancestors" option of Content-Security-Policy.
- mrsebastian 15y agoBTW, just to clarify -- this isn't my project. I noticed some clickthroughs from this URL on one of my sites, checked it out, then submitted to HN :) Hopefully the actual developer sees this thread and jumps in...
- richardburton 15y agoThis is great. Personally I would love the rendering of the web-page to be in the Readability format. This is a critical feature!!! ;P
- skadamat 15y agoI second this! Readability ftw
- mmackh 15y agoI've gone a different Route, converting the story to a readable format first: http://thequeue.org/hn http://thequeue.org/hn
- laserDinosaur 15y agonice, very nice!
- xutopia 15y agoI found a bug! I can't click on the HN Reader story more than once and go in total recursion! :-D Here is a screenshot https://img.skitch.com/20111223-dx69ix74wimn8twwmrqg1urm6j.png https://img.skitch.com/20111223-dx69ix74wimn8twwmrqg1urm6j.p...
- pohungc 15y agoI'm not sure if that's really a bug, but I'm glad I'm not the first person to do that as soon as I saw it!
- username4 15y agoReading HN is so fast with this.
- geuis 15y agoThis totally fails on iOS (iPhone). The screen is not resizeable. The left column is fixed, and the right column is cut off.
- thanithani 15y agoNice. I was working on one for a while too. The iFrame problem is definitely the biggest hinderance. Comments also need styling: http://hn.thanithani.com/ http://hn.thanithani.com/
- hobonumber1 15y agoWould like to see URL changing as I click through so I can favourite - apart from that, it really works well!