readityourself
readityourself copied to clipboard
Need to improve Readability code...
Hello,
I would like your opinion about Readability code from http://code.fivefilters.org/php-readability/src
I already create a extend class (in dev_login branch) to add some feature to this code like :
- specific behaviour for http://www.techno-science.net/
- do not split title to suppress ":"
- do not split title if more than 150 characters
- add html5 tags (like article footer header)
But... In some case, comment could be great (like response on stackoverflow, or discussion on a tutorial etc..) would you like them or an option to retrieve them "after" ?
Have you web site example not parsed correctly ?
Thanks, Memiks.
Hello
Thank you for your site, RIY is a nice tool I use everyday.
About comments, you could just add a link "Comment(s)" if they exist (count > 0). then:
- if I click the link "Comment(s)" you display the original webpage.
- if I click the link "Comment(s)" then you retrieve and display the comments on your page.
I think the first option is easier to code and you could implement it first. The second option is hard to code because of comments systems like disqus.
I've had some rare bugs with lepoint.fr (404) or leparisien.fr websites but I think the cause was these websites.
Thanks.