W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2009

Re: Wordpress RDFa theme [was: Re: Serving XHTML+RDFa as application/xhtml+xml]

From: Toby A Inkster <tai@g5n.co.uk>
Date: Thu, 29 Jan 2009 10:35:54 +0000
To: public-rdf-in-xhtml-tf@w3.org
Message-ID: <pan.2009.>

Sam Kuper wrote:

> I didn't find such a PHP module, at least not one that I could easily
> integrate into Wordpress. But it's likely I just haven't looked hard
> enough...

Is this any help?


Usage: $encoded = xml_entities($plain, $style);

It will always convert ampersand, angled brackets and double quote to the 
XML named entities. Other characters it will convert to numeric entities. 
If $style is set to the string "#x" it will use hexadecimal numbers. If 
style is set to the string "#" or omitted it will use decimal.

Toby A Inkster
Received on Thursday, 29 January 2009 11:14:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:30 UTC