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@xxxxxxxxxxxx
http://www.innox.com.mx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php