[yunqa.de] Re: DiHTMLParser not found links

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Sun, 27 Nov 2011 13:53:24 +0100

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;

If this does not help, please send in your project's source code (no
binaries) for inspection.

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



Other related posts: