[wp-hackers] xml export media type / changeset 4477
Michael D Adams
mikea at turbonet.com
Sat Nov 18 21:57:39 GMT 2006
On Nov 18, 2006, at 3:09 AM, Sam Angove wrote:
> 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`?
That header was used because it worked, not because I know anything
about media types :)
I suggest reopening the ticket to offer advice both here and there.
http://trac.wordpress.org/ticket/3225
Michael
More information about the wp-hackers
mailing list