Being someone who has not followed Atom as much as the next super-geek, I’m clueless as to how enclosures are handled… I mean, I could have sworn someone was just namespacing in RSS 2.0 and using the <enclosure> element, but I find no docs on that… (And since Mark ain’t around to help with this…)
Should I be using this?
<content type="audio/mpeg" src="http://foo.com/foo.mp3" />
Or perhaps this?
<link rel="related" type="audio/mpeg" href="http://foo.com/foo.mp3" />
I think they both pass the validator fine, but that doesn’t tell me what I should really be using or doing.
Searching gave no good results, and IM to smart people gave no solid answers… Argh… (Maybe in another 10 months I’ll have an answer.)
Oh yeah, it looks like the WordPress solution was to just use a function named rss_enclosure in the wp-atom.php file, which as you might guess, does the RSS 2.0 thing with <enclosure> in an Atom 0.3 file. I think I’d call that a bug…