Here's the core of that implementation:
http://lab.arc90.com/experiments/readability/js/readability-0.1.js
It's heuristic-based, e.g.:
// Study all the paragraphs and find the chunk that has the most
<p>'s and keep it:
On Tue, Mar 3, 2009 at 2:00 PM, Peter Kasting <[email protected]> wrote:
> Googlers may remember that one of my brainstorm ideas for Chromium was
> "readability mode", a way to temporarily get rid of everything on a page
> except the main article. Now a company has prototyped this in the wild
> using a bookmarklet. Watch the intro video here.
> http://lab.arc90.com/2009/03/readability.php
>
> I continue to feel that this is a huge use case for browsers and something
> like this could be a major boon if the UI was right.
> PK
> >
>
--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected]
View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---