Interesting idea. I couldn't open the site, though, because uBO blocked something like 50 domains and figuring which ones are actually needed would be quite an effort. Yes, my uBO blocks everything unless I make an exception.
Congratulations on having a browser that doesn’t work? Most of requests are thumbnail images (I’m hotlinking at the moment); to get things to display you can either disable JavaScript altogether or unblock just unpkg.com to get the libraries the page needs for layout.
Edit: just for you I’ve added a check to handle the case when the libraries can’t be loaded. It will look broken but at least you should be able to read it now.
Thanks! I was inspired by looking at unim.press and wondering, “how hard would it be to put an extract from the page there instead of lorem ipsum?” (Quite difficult, it turns out—I don’t think there’s any way short of human curation or maybe some sort of ML training on a large corpus—but you can get reasonably far with a carefully tuned set of CSS selectors for commonly seen class names.)
It took me about 8 or 10 hours yesterday to build, and I think about half of that was tweaking the heuristics for the paragraph/image extraction and keyword selection (the “STYLE, 3” that links to the thread page).
OP of Unim.press here-- yep, extracting text is pretty hard, though I think Instapaper and Pocket have good tech in that space. Certainly more than a weekend project's worth of work, which is why most of my focus personally was on the layout / visual fidelity. But it's cool to see that you put more time into extracting the content. I think for HN which is mostly longform online writing it definitely adds value.
Comments (133) 66 threads
Earlier commentsOne nit. On mobile I have to scroll left and right to read the titles. Otherwise, I love it
EDIT: I have a z-flip so it's more narrow than most phones, but still looks great
Edit: just for you I’ve added a check to handle the case when the libraries can’t be loaded. It will look broken but at least you should be able to read it now.
It took me about 8 or 10 hours yesterday to build, and I think about half of that was tweaking the heuristics for the paragraph/image extraction and keyword selection (the “STYLE, 3” that links to the thread page).
All comments shown.
Couldn't load more comments. Check your connection and try again.