3 ms·
Thanks for linking this. I've been working on ViewText as a side project. I'd love to hear feedback and ideas. Currently, you can request the content of an a
by ronnier 16y ago
Thanks for linking this. I've been working on ViewText as a side project. I'd love to hear feedback and ideas. Currently, you can request the content of an article in html, json, jsonp, xml, and pdf formats.
It also works on RSS feeds.
- jacquesm 16y agoRonnie, Do you want me to score your code relative to what I've been able to do with this so far on my test-set ?
- ronnier 16y agoSure, that's fine.
- mikeklaas 16y agoMight you be willing to share your code/approach? How does it differ from Readability's algorithm?
- ronnier 16y agoI took readability's algorithm (in JavaScript) and ported it over to C#. It's not a direct port of course, as lots of things in C# are done differently than in JavaScript, and I didn't have the browsers DOM to work with. In addition, readability performs the processing while on the current page, leaving elements in place. For me, I just have the HTML string to work with. That's the biggest difference, otherwise I followed their idea on how to extract the main content.