6 ms·
There was recently a post about text-only CNN too. https://news.ycombinator.com/item?id=15210022 https://news.ycombinator.com/item?id=15210022 If there are mo
by dpflan 9y ago
There was recently a post about text-only CNN too.
https://news.ycombinator.com/item?id=15210022 https://news.ycombinator.com/item?id=15210022
If there are more text-only versions of sites, it seems like it may be cool to add a meta-view service in the style of HN or reddit. Is there an extant service that would easily allow this?
- akira2501 9y ago> If there are more text-only versions of sites I might have a reason to install lynx again.
- ComputerGuru 9y agoUgh. I literally just spent several hours adding a workaround to fish shell that addresses a bug in Lynx that’s been around forever that randomly makes html content unreadable [0]. And that was only possible after a lot of research and digging! How hard do you have to try to screw up the rendering of text only HTML? It turns out that lynx applies styles (foreground color + optional background color + optional underline) to rendered documents (so you can tell where a link is, mainly) by calculating the hash of the (HTML element name, class) tuple of each DOM member (probably supporting just one class per element). It turns out that the insanely popular `<div class="contents"></div>` element has a hash that collides with that of `em.a` (a link in emphasized text) which styles the link to become readable in the default styling applied to `em`... but due to that collision, `<div class="contents"></div>` elements, not having the default <em> styling applied to them, become entirely unreadably (black on dark blue). Lynx uses a very primitive hashing function (with a very small address space), and then (out of negligence or in the name of performance? Who knows!) doesn't check if the the (element, class) tuple (not its hash, but the actual tuple) matches that defined in the stylesheet... To make matters worse, doxygen (arguably the most popular open source documentation generation software) generates the HTML versions of its output with all the content in a div assigned a class called.... yup, you guessed it, `contents`. And that's where fish and my workaround came in :) [0]: https://github.com/fish-shell/fish-shell/pull/4428 https://github.com/fish-shell/fish-shell/pull/4428
- Spivak 9y agoYeah, if only there was really simple way to subscribe to many different feeds of syndicated text content.
- aaronbrethorst 9y agoText-only CNN was still loading a 200+KB analytics JS file. This NPR page is literally two orders of magnitude smaller.
- roywiggins 9y agoThese remind me of playing with scraping sites into WAP format back when WAP seemed like a reasonable way to provide information on mobile.
- CephalopodMD 9y agoI learned about this site from the comments of that post
- projectant 9y agoThere's this: https://github.com/textonly/news https://github.com/textonly/news ( and its own 'textonly' version https://raw.githubusercontent.com/textonly/news/master/README.md https://raw.githubusercontent.com/textonly/news/master/READM... )
- sjmulder 9y agoI maintain a similar list at https://sjmulder.nl/en/textonly.html https://sjmulder.nl/en/textonly.html Like the GitHub repo it's still very short but I'll add more sites as I find them.
- projectant 9y agoCool. Or you can contribute as well. Make a pull request!
- no_news_is 9y agoI'm assuming this is yours? If so, typo in your url for the CNN link -- line instead of lite.
- projectant 9y agoThank you so much!