Re: Parsing HTML

From: Date: Thu, 16 Feb 2006 19:51:24 +0000
Subject: Re: Parsing HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-230574@lists.php.net to get a copy of this message
If all you want is to "parse" HTML code, then you could treat it as XML, of course, that would assume that the sites are all well XHTML formed. Other than that, I can only thing on PCRE. Boby wrote:
I need to extract news items from several news sites. In order to do that, I need to parse the HTML data. I know how to use Regular Expressions, but I wonder if there are other ways to do that. -- Atentamente, J. Rafael Salazar Magaña Innox - Innovación Inteligente Tel: +52 (33) 3615 5348 ext. 205 / 01 800 2-SOFTWARE rsalazar@innox.com.mx http://www.innox.com.mx


« previous php.general (#230574) next »