Re: Enclosures, multiple formats
Suzan Foster <su-ZjWWLV22F01mR6Xm/[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 27, 2004, at 2:28 PM, Danny Ayers wrote:
> [apologies for crossposts, I'm not sure which list deals with RSS 2.0
> technical issues]
>
> There's a use case for multiple formats that's being defined for RSS
> 2.0 which mod_enclosures for RSS 1.0 should also be able to handle -
> publishing the same data as mp3 over HTTP or as a BitTorrent stream.
> An approach has be proposed for RSS 2.0 [1] which seems a little
> strange to me. I realise this itself is out of scope on rss-dev, but I
> may be missing something obvious that would impact any RSS 1.0
> enclosure module.
>
> Ok, the decision has been made to be explicit about the media type in
> the XML rather than using HTTP negotiation. That seems reasonable
> enough. Here's an RSS 2.0 item with a single enclosure:
>
> <item>
> ...regular item elements...
> <enclosure url="http://adam.opml.org/DSC20041124.mp3"
> length="16716621" type="audio/mpeg"/>
> </item>
>
> What I don't understand is when it comes to multiple alternate types,
> the proposal for RSS 2.0 suggests:
>
> <item>
> ...regular item elements...
> <bitTorrent:torrent
> url="http://torrents.podcatch.com/DSC20041124.mp3.torrent"/>
> <enclosure url="http://adam.opml.org/DSC20041124.mp3"
> length="16716621" type="audio/mpeg"/>
> </item>
>
> rather than simply:
>
> <item>
> ...regular item elements...
> <enclosure url="http://adam.opml.org/DSC20041124.mp3"
> length="16716621" type="audio/mpeg"/>
> <enclosure
> url="http://torrents.podcatch.com/DSC20041124.mp3.torrent"
> length="16716621" type="application/x-bittorrent"/>
> </item>
>
> Doesn't the latter make a lot more sense?
The short answer is that the spec prohibits it [1]. If this wasn't the
case I think most would simply add a second enclosure for the torrent.
At the moment people are mainly just publishing two feeds, one for
torrents an one for direct download.
Regards,
Suzan Foster.
[1] http://groups.yahoo.com/group/ipodder-dev/message/2137
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/