DZReadability icon indicating copy to clipboard operation
DZReadability copied to clipboard

Bug : More paragraphs in comments

Open RealBug opened this issue 9 years ago • 4 comments

Hi

First, your DZReadability is powerfull ! I've seen juste one bug, its when the comments bloc have more

than article. By example for this news : http://blog.lefigaro.fr/football/bruno_roger-petit/2015/03/subasic-heureux-pour-monaco-peut-on-se-rejouir-davoir-ete-ridicule.html

// count how many p tags are inside the parent NSArray *pNodes = [parent nodesMatchingSelector:@"p"];

Did you have an idea for fix it please ? :)

Thx Realbug

RealBug avatar Mar 18 '15 16:03 RealBug

Hi

Thank you.

That's something that I will try to focus on in the next release. I think of adding the ability to provide tag ids and classes for instant win to the algorythm before start. It will help to identify article block on specific sites and may help cure these errors with finding the right article block. I will also implement ignoring comment blocks by their most common id and class names. I don't know when I'll return to this project for the next iteration. Any help is appreciated.

DZamataev avatar Mar 28 '15 07:03 DZamataev

@DZamataev cant able to get the heading of the web page , i have tried with various Readability Parser Option but no result , can you help me ?

praveengodz avatar Jun 14 '16 13:06 praveengodz

@praveengodz Sure, give me the url you are trying to parse please.

DZamataev avatar Jun 14 '16 15:06 DZamataev

@DZamataev URL : http://trak.in/tags/business/2016/06/14/employees-startup-must-have/ From this url except main heading (title) other are so perfect . Thanks for your support Denis.

praveengodz avatar Jun 15 '16 05:06 praveengodz