How to create a "Reader Mode" with PHP?

0

In Safari you have a "Reader Mode" that removes everything from a site and leaves only the article.

Does anyone know of an open source library that provides the same functionality? Or, is it difficult to implement?

I need to develop this in PHP.

Example on Iphone:

    
asked by anonymous 20.03.2015 / 15:48

1 answer

1

Carlos,

1) Create the file Readability.php

2) Create the file JSLikeHTMLElement.php

3) Create the index.php file with this code :

No stretch

  

$ url = 'http: //';

Add the site address.

Retrieved from: link

    
20.03.2015 / 15:56