x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Handheld PC Optimized Hacker News

Karpour Page Icon Posted 2022-01-07 1:50 AM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
438
Location:
Austria
Status:
Here's a little side-project! I like reading Hacker News, but their site - despite the simple design - wasn't properly working on my Jornada 720, so I pieced this together using their API plus a PHP port of Firefox'readability, which strips down pages of unnecessary stuff! It also downscales and converts images!

http://news.ohnitsch.net

Enjoy!





(photo_2022-01-07_02-49-54.jpg)



(photo_2022-01-07_02-40-36.jpg)



Attachments
----------------
Attachments photo_2022-01-07_02-49-54.jpg (72KB - 0 downloads)
Attachments photo_2022-01-07_02-40-36.jpg (83KB - 0 downloads)
 Top of the page
ArchiMark Page Icon Posted 2022-01-07 4:38 AM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,189
Location:
Silicon Valley
Status:
Great job!

Looks very good.

Thanks for sharing.
 Top of the page
stingraze Page Icon Posted 2022-01-07 4:38 AM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,625
Location:
Japan
Status:
Great work!
 Top of the page
C:Amie Page Icon Posted 2022-01-07 7:34 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,924
Location:
United Kingdom
Status:
Apart from the missing navigation, it even minifies here http://news.ohnitsch.net/read.php?url=https://www.hpcfactor.com too.
 Top of the page
Karpour Page Icon Posted 2022-01-07 11:55 AM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
438
Location:
Austria
Status:
Readability is a pretty sweet pile of code! I added some DOM manipulation for making it better suited for CE, but not much really.

Of course the caveat is that it is 100% made for extracting articles from websites, so it will specifically discard any navigation elements.
Maybe someone will do a fork sometime that also tries to preserve navigation elements.

There used to be this Google thing that would strip down pages for display on very basic browsers, like the Palm OS one, I forgot what it was called though.
 Top of the page
Jump to forum:
Seconds to generate: 0.234 - Cached queries : 61 - Executed queries : 11