[wp-hackers] xml export media type / changeset 4477
Sam Angove
sam at rephrase.net
Sat Nov 18 11:09:48 GMT 2006
re: http://trac.wordpress.org/changeset/4477
+ header('Content-type: text/wxr+xml; charset=' .
get_option('blog_charset'), true);
It's pretty bad form to use unregistered media types, and at the very
least it ought to be in the `prs` (personal) or `vnd` (vendor)
trees.[1][2] Also, it seems to me that it's a better fit for
"application"[3] than "text"[4].
Something like `application/prs.wordpress.export+xml`?
There are examples of what others are using at IANA.[5]
[1]: http://tools.ietf.org/html/rfc4288#section-3.2
[2]: http://tools.ietf.org/html/rfc4288#section-3.3
[3]: http://tools.ietf.org/html/rfc4288#section-4.2.5
[4]: http://tools.ietf.org/html/rfc4288#section-4.2.1
[5]: http://www.iana.org/assignments/media-types/
More information about the wp-hackers
mailing list