[wp-trac] [WordPress Trac] #9513: Wordpress should allow input of XHTML/HTML via Atompub
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 25 05:17:10 UTC 2010
#9513: Wordpress should allow input of XHTML/HTML via Atompub
-------------------------+--------------------------------------------------
Reporter: mcepl | Owner: josephscott
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: AtomPub | Version:
Severity: normal | Keywords: needs-patch
-------------------------+--------------------------------------------------
Changes (by dturvene):
* cc: dturvene (added)
Comment:
The type="xhtml" attribute seems to retain the XHTML tags for me. Using a
CDATA section did not (though I think it should but that's a problem with
the PHP xml parser.) I documented my progress at http://www.turvene.net
I just sent the posting given above to my test system and the XHTML tags
in the content element were retained (even the UTF-8 characters were
retained!)
One note:
If you use <feed xmlns="http://www.w3.org/2005/Atom">, then the default
namespace is "atom", you don't need to add it to each element name. It
saves a lot of typing, especially if you want to change name spaces (e.g.
I used to use Dublin Core a lot.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9513#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list