[uf-discuss] Microformat for linking to XML source (to replace the Structured Blogging plugin's embedding method)

Charles Iliya Krempeaux supercanadian at gmail.com
Wed Jan 18 17:12:52 PST 2006


On 1/18/06, Phillip Pearson <pp at myelin.co.nz> wrote:
> >>>> Anyone know of any prior art?
> >>>
> >>>
> >>> <link rel="alternate" type="application/xml" />
> >>
> >>
> >> Is that valid inside the HTML <body> block?
> >
> >
> > No, but <a rel="alternate" type="application/xml">foo</a> is.
> >
> > RTFS: http://www.w3.org/TR/REC-html40/types.html#type-links.
> Excellent - thanks Mark and Ryan!  I didn't realise that the "type"
> attribute was valid on <a> elements.
> Does that require that we serve the XML with the application/xml MIME
> type?  The spec calls the type attribute an "advisory hint"; I'm not
> sure whether this means it has to be correct, or only that it has to be
> close enough (e.g. to text/xml or application/something+xml) to let a
> reader know that the linked resource is XML.

Wasn't "text/xml" deprecated?!  And instead you are suppose to use
"application/xml" or "application/???+xml", etc.  (If I remember
correctly, this was done because of text-transcoders and conflicts
between "text types" specified with HTTP and XML.  I think I read this
on Mark Pilgrim's blog... but I couldn't find the article.)

See ya

    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
 Never forget where you came from

More information about the microformats-discuss mailing list