[uf-discuss] Re: Parsing XFN in PHP

Toby A Inkster mail at tobyinkster.co.uk
Fri Apr 11 00:33:59 PDT 2008

Ryan Parman wrote:

> On Apr 10, 2008, at 10:34 AM, Toby A Inkster wrote:
>> http://www.php.net/manual/en/function.dom-domdocument-loadhtml.php
> This is interesting -- especially if it works. However the version
> information is noted as CVS-only. Is this in a shipping version of PHP
> yet?

I've never quite understood how they get that versioning information in 
the documentation. It often seems wrong. DOMDocument has been part of the 
PHP core since 5.0.

Another option is XML_HTMLSax3 from PEAR:

Here's an example use of the above PEAR module: it converts an HTML table 
into a two-dimensional array, respecting rowspan and colspan (oh yes!):

Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux, up 15 days, 18:33.]

                   Tagliatelle with Fennel and Asparagus

More information about the microformats-discuss mailing list