[yunqa.de] Re: DiHTMLParser not found links

  • From: Сергей <dr_coyote@xxxxxxx>
  • To: Delphi Inspiration <yunqa@xxxxxxxxxxxxx>
  • Date: Sun, 27 Nov 2011 18:19:33 +0400

Hello Delphi,

Sunday, November 27, 2011, 4:53:24 PM, you wrote:

> On 27.11.2011 10:08, Сергей Кушнерчук wrote:

>> I use DiHTMLParser for links search, but parser found not all... Why?
>> 
>> Example in attachment.

> It is working well for me: The DIHtmlParser_LinksPlugin demo project
> finds 76 links in your document.

> I assume that something is wrong with your code. Sometimes developers
> forget to register the required tag and attribute IDs like this:

> initialization
>   { Register the HTML tags and attributes so the parser is able to
>     correctly detect preformatted text, scripts, and styles. }
>   RegisterHtmlTags; RegisterHtmlAttribs;
>   // RegisterSsiTags; RegisterSsiAttribs;
>   { Also register the HTML entities to convert to their character
>     represenation. &amul; --> ä }
>   RegisterHtmlDecodingEntities;
>   { Register the HTML entities to convert to their character
>     represenation: ä --> &auml;. }
>   RegisterHtmlEncodingEntities;
>   { Register the character sets for automatic adjustment by the
>     DIHtmlCharSetPlugin. }
>   RegisterCharSets;

In attachment have a link:
<a href="http://www.lodkasava.ru/prodazha-katerov/"; target="_blank">
but your example not found it.
Why?





-- 
Best regards,
 Сергей                            mailto:dr_coyote@xxxxxxx

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: