XML technologies / RSS & Atom / RSS 2.0 / Extension modules / The BitTorrent module

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

With the BitTorrent module you can specify the address of a BitTorrent seed for downloading data (usually audio or video documents) also referenced by an enclosure element. The namespace for torrent, the only element in this module, is "http://www.reallysimplesyndication.com/bitTorrentRssModule", and the default prefix is bitTorrent. The element should only be used together with enclosure so that the other information in the parent element item applies to both. Dave Winer gives the following example:

...
<item>
   <title>Daily Source Code November 24 2004</title>
   <link>http://adam.opml.org/DSC20041124.mp3</link>
   <description>I finally got Patricia back on the mic to talk about another of her fabulous showbizz stories, today: Stevie Nicks.</description>
   <guid>http://radio.weblogs.com/0001014/categories/dailySourceCode/2004/11/24.html#a6900</guid>
   <pubDate>Wed, 24 Nov 2004 08:10:37 GMT</pubDate>
   <bitTorrent:torrent bitTorrent:url="http://torrents.podcatch.com/DSC20041124.mp3.torrent"/>
   <enclosure url="http://adam.opml.org/DSC20041124.mp3" length="16716621" type="audio/mpeg"/>
</item>
... 

Code example: example of the bitTorrent:torrent element

BitTorrent seeds can also be specified directly inside enclosure if there is no alternative download address for the complete equivalent file (see Adding multimedia data with enclosure).

   

 

 

 

Creative Commons license
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

back to top