PHP Classes

Parsing problems

Recommend this page to a friend!

      Feed Finder  >  All threads  >  Parsing problems  >  (Un) Subscribe thread alerts  
Subject:Parsing problems
Summary:Class can't parses websites
Messages:3
Author:Patrice
Date:2007-11-28 10:36:22
Update:2007-12-28 08:03:41
 

 


  1. Parsing problems   Reply   Report abuse  
Picture of Patrice Patrice - 2007-11-28 10:36:23
Hi Manel,

It looks like the class can't find feeds for WordPress blogs like http://www.redferret.net or http://blog.stacyblackman.com/

The array is empty and the following warnings are returned:


Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : head in http://www.redferret.net, line: 171 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseStartTag: misplaced <body> tag in http://www.redferret.net, line: 173 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 216 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 218 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 222 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 248 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 250 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 254 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 280 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 282 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 286 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 312 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 314 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 318 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 344 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 346 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 350 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 379 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 405 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 407 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 411 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 437 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 439 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 443 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 469 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 471 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 475 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 503 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 505 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 509 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 536 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 538 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 542 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 568 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 570 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 574 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 600 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 602 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 606 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 643 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 687 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Opening and ending tag mismatch: p and em in http://www.redferret.net, line: 713 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Unexpected end tag : em in http://www.redferret.net, line: 715 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 719 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 850 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 850 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 850 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 850 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: error parsing attribute name in http://www.redferret.net, line: 850 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: Tag embed invalid in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162

Warning: DOMDocument::loadHTMLFile() [function.DOMDocument-loadHTMLFile]: htmlParseEntityRef: expecting ';' in http://www.redferret.net, line: 863 in C:\findfeed\v2\FeedFinder.php on line 162
Array ( )

  2. Re: Parsing problems   Reply   Report abuse  
Picture of Manel Zaera Manel Zaera - 2007-12-03 22:44:50 - In reply to message 1 from Patrice
Hi,

I updated the class. This version solves the most of the problems but some URLs will not work until I get relative feed URLS and process them correctly. Now FeedFinder still expects to find an absolute feed URL in HTML documents. As soon as I get this point fixed I will upload the class.

Cheers,

Manel

  3. Re: Parsing problems   Reply   Report abuse  
Picture of Manel Zaera Manel Zaera - 2007-12-28 08:03:41 - In reply to message 2 from Manel Zaera
Hi all,

I updated the class. Now it also loads feeds from an OPML document.

Cheers,

Manel

 
For more information send a message to info at phpclasses dot org.