Re: Does a package like this exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 4, 2008 9:33 AM, Christoph Boget <christoph.boget@xxxxxxxxx> wrote:
> Not wanting to re-invent the wheel, I'm wondering if there is a package out
> there that can read in an HTML file and allow you to manipulate and dissect
> it much like you can in javascript?  For example, functionality similar to
> (though, not necessarily the same as) getElementById(), .innerHTML, etc.

Hopefully you're using PHP5:

http://php.net/dom to interact with the DOM

http://php.net/tidy to cleanup the HTML if needed

If you're on PHP4:

http://php.net/domxml

Brady

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux