[uf-dev] hAtom2Atom.xsl in PHP 5.2
Ryan King
ryan at technorati.com
Wed Jan 31 19:25:44 PST 2007
On Jan 31, 2007, at 5:35 PM, Robert Bachmann wrote:
> Ryan King wrote:
>> Has anyone gotten hAtom2Atom.xsl working with PHP 5.2? PHP 5 uses
>> libxml2, which is, I believe tested, but my script can't seem to
>> find any entries:
>> [...]
>> $html_doc->loadHTML($html);
> Change this to "loadXML" because "loadHTML" drops the XHTML
> namespace [1].
> Also note that h2a will say that the "updated" datetimes are
> invalid, this
> is because they are lacking a timezone.
Ok, I'll try that, but what about HTML4 content? Our other XSLTs work
fine in this manner.
-ryan
--
Ryan King
ryan at technorati.com
More information about the microformats-dev
mailing list