TV Library RSS Example

From DevWiki

Jump to: navigation, search
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:boxee="http://boxee.tv/spec/rss/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/">
    <!--
        Boxee Library RSS example
        http://developer.boxee.tv/RSS_Specification
 
        Please note that links contained within this rss are examples only.
        Not all tags are required, please see boxee rss specification for more details
        There are also additional tags available for use, please see boxee rss specification.
 
        Some important notes to keep in mind....
        1. Namespace declaration is very important. Do not forget the end slash "/" in the xmlns url
        2. Its important to always set the content type of your media (text/html for links to pages containing flash/move/silverlight)
        3. Add as much detail as possible, include the imdb or tvdb tag if possible. The more metadata included the richer the experience.
    -->
  <channel>
    <title>Awesome TV</title>
    <description>Enjoy awesome TV shows online</description>
    <copyright>Awesome TV, 2010</copyright>
    <image>http://foobar.com/example.png</image>
    <language>en-us</language>
    <webmaster>bar@foobar.com</webmaster>
    <lastBuildDate>Wed, 08 Sep 2010 10:19:01 -0600</lastBuildDate>
    <link>http://foorbar.com</link>
    <item>
      <title>Awesome Soap Opera</title>
      <guid>http://foobar.com/assets/12345</guid>
      <link>http://foobar.com/assets/12345</link>
      <description>The item that defines the show, linked to by episodes through content-of tags.</description>
      <media:thumbnail url="http://foobar.com/art/12345/thumb.png" />
      <boxee:media-type expression="none" name="TV Show" type="show" />
      <boxee:release-date>2010</boxee:release-date>
      <media:restriction relationship="allow" type="country">us</media:restriction>
      <media:rating schema="urn:mpaa">G</media:rating>
      <media:rating schema="urn:v-chip">TV-G</media:rating>
      <media:community>
        <media:starRating average="5.0" />
      </media:community>
      <media:credit role="actor">Tyler Durden</media:credit>
      <media:credit role="actor">Alferd Packer</media:credit>
      <media:category scheme="urn:boxee:genre">Soap Opera</media:category>
    </item>
    <item>
      <title>Awesome Premiere</title>
      <guid>http://foobar.com/episodes/54321/sd</guid>
      <link>http://foobar.com/episodes/54321</link>
      <description>The first episode of this awesome series.</description>
      <media:thumbnail url="http://foobar.com/art/54321/thumb.png" />
      <boxee:media-type expression="full" name="Full Episode" type="episode" />
      <boxee:content-of>http://foobar.com/assets/12345</boxee:content-of>
      <boxee:release-date>2010</boxee:release-date>
      <media:restriction relationship="allow" type="country">us</media:restriction>
      <media:rating schema="urn:mpaa">G</media:rating>
      <media:rating schema="urn:v-chip">TV-G</media:rating>
      <media:community>
        <media:starRating average="5.0" />
      </media:community>
      <media:credit role="actor">Tyler Durden</media:credit>
      <media:credit role="actor">Alferd Packer</media:credit>
      <media:content duration="1381" type="text/html" url="http://foobar.com/12345?episode_id=54321" />
      <media:category scheme="urn:boxee:episode">1</media:category>
      <media:category scheme="urn:boxee:season">1</media:category>
    </item>
    <item>
      <title>Awesome Finale</title>
      <guid>http://foobar.com/episodes/98765/sd</guid>
      <link>http://foobar.com/episodes/98765</link>
      <description>The last episode of this awesome series.</description>
      <media:thumbnail url="http://foobar.com/art/98765/thumb.png" />
      <boxee:media-type expression="full" name="Full Episode" type="episode" />
      <boxee:content-of>http://foobar.com/assets/12345</boxee:content-of>
      <boxee:release-date>2010</boxee:release-date>
      <media:restriction relationship="allow" type="country">us</media:restriction>
      <media:rating schema="urn:mpaa">G</media:rating>
      <media:rating schema="urn:v-chip">TV-G</media:rating>
      <media:community>
        <media:starRating average="5.0" />
      </media:community>
      <media:credit role="actor">Tyler Durden</media:credit>
      <media:credit role="actor">Alferd Packer</media:credit>
      <media:content duration="1381" type="text/html" url="http://foobar.com/12345?episode_id=98765" />
      <media:category scheme="urn:boxee:episode">2</media:category>
      <media:category scheme="urn:boxee:season">1</media:category>
    </item>
    </channel>
</rss>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox