[OSX-Users] Re: Safari 5 - Safari Reader
Marcus Ramsden
mmr at ecs.soton.ac.uk
Wed Jun 9 12:41:41 BST 2010
The best kind of hack.
Marcus
-----Original Message-----
From: osx-users-bounces at ecs.soton.ac.uk
[mailto:osx-users-bounces at ecs.soton.ac.uk] On Behalf Of Leslie Carr
Sent: 09 June 2010 11:31
To: List for users of Mac OS X
Subject: [OSX-Users] Re: Safari 5 - Safari Reader
OK. I see. It's just an enormous hack with lots of RE's.
--
Les
On 9 Jun 2010, at 10:47, Nick Gibbins wrote:
> ...and for those of us that use other browsers, there's Readability:
>
> http://lab.arc90.com/experiments/readability/
>
> (the open source tool that Apple integrated into Safari to make reader)
>
> Nick
>
> On 8 Jun 2010, at 08:46, Leslie Carr wrote:
>
>> I just installed Safari 5, and I'm quite liking the safari reader.
However, I'm completely flummoxed as to how it's deciding what's an article,
and what parts of the DOM make the article's body. Does anyone have any
technical documentation?
>>
>> for example, on my home page (users.ecs.soton.ac.uk/lac), it picks out
the <div> immediately preceded by the comment <!-- InstanceBeginEditable
name="Main Content" -->
>>
>> whereas on the NYTimes article:
http://www.nytimes.com/2010/06/06/magazine/06Squatters-t.html
>> it finds the <div class="articleBody"> and successfully links up pages
joined by <a class="next"/>
>>
>> WTF?
>> --
>> Les
>
> --
> Dr Nicholas Gibbins
nmg at ecs.soton.ac.uk
> Intelligence, Agents, Multimedia Group
http://www.ecs.soton.ac.uk/~nmg/
> School of Electronics and Computer Science tel: +44 (0) 23
80598879
> University of Southampton fax: +44 (0) 23
80592865
>
>
>
>
More information about the Osx-users
mailing list