Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Safari's reader feature work?

Tags:

safari

I want to add a similar feature to a tool I'm making. I'm interested in how it works code-wise. I want to be able get an html page and exclude all but the article.

like image 642
n_x_l Avatar asked Nov 25 '11 20:11

n_x_l


1 Answers

The Readability project does something similar for chrome and iOS. I'm not sure how it detects the content automatically but I know that Readability has an API for people who want to integrate it's features. You might want to check that out.

http://www.readability.com/learn-more

like image 123
ejang Avatar answered Dec 28 '22 14:12

ejang