RSS 2.0 Structure - Supported Elements and Attributes

Following picture shows structure of supported elements

RSS Structure

<Channel> element

Name Mandatory Description
title Y The name of the channel. Shown to the user as Internet Videos service header.
link N The URL to the HTML website corresponding to the channel. Shown in the Service’s details window.
description N Description of the channel. Must be given in plain text.
image N Channel icon. Required elements described in separated table. If channel icon is not provided, default icon is shown.
item N Zero or more items could be included. Required elements described in separated table.

<Image> (Sub-element of channel)

Name Mandatory Description
url Y The URI of a GIF, JPEG or PNG image that represents the channel.
link N Should have the same value as the channel’s link.
title N Should have the same value as the channel’s title.
width N Icon width. Not used. Icon is scaled to fit it's position.
height N Icon height. Not used. Icon is scaled to fit it's position.

<item> (Sub-element of channel)

Name Mandatory Description
title Y The title of the item.
description N Description of the item element. Should be given in plain text.
link N Link to the web page providing more information related to the item.
enclosure Y Media object description related to the item. Required attributes described in separated table.
category N Zero or more elements describing the category where this item belongs to.
pubDate N Publishing date of the item. Must be given in RFC822 format.
guid N Unique ID for the item.
media:thumbnail N Thumbnail for the item. Shown for downloaded items. Described in separated table.
media:group N Extension to describe more than one Media object for the item. Settings defined in media:group overrides settings from enclosure element. Described in separated table.

<enclosure> (Sub-element of item)

Name Mandatory Description
url Y URI to the Media object for the item.
length Y Media object length in bytes.
type Y Type of the Media object. A standard MIME type must be used.

<media:thumbnail> (Sub-element of item)

Name Mandatory Description
url Y URI to the thumbnail file.

<media:group> (Sub-element of item)

Name Mandatory Description
media:content Y One or more media object could be included in media:group. Video Center selects the best possible format available.
media:description N Description of the item element. Should be given in plain text. Overrides normal description element if provided.

<media:content> (Sub-element of media:group)

v
Name Mandatory Description
url Y URI to the media object for the item.
filesize N Media object size in bytes. Overrides length element if provided.
type Y Standard MIME type of the object. Mandatory for Video Center.
isDefault N Determines if this is the default media object. Not used at the moment.
expression NDetermines if the object is sample or the full version. Not used at the moment
bitrate N Bitrate in kilobits per second.
duration N Duration given in hours or minutes or seconds.
framerate N Framerate in frames per second.
height N Height of the media object.
width N Width of the media object.

Supported MIME types

Currently accepted MIME types for local playback:

• video/3gpp
• video/mp4
• video/avi
• video/x-pn-realvideo

Currently accepted MIME types for streaming (Media objects with rtsp URI):

• application/vnd.rn-realmedia
• video/x-pn-realvideo

RSS Example

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Example Mobile News</title>
<link>http://255.255.255.255</link>
<description>News service to your Mobile</description>

<image>
<url>http://255.255.255.255/logo/service.jpg</url>
<link>http://255.255.255.255/</link>
<title>Logo</title>
<height>144</height>
<width>144</width>
</image>

<item>
<enclosure url="rtsp://255.255.255.255/news/24/newest.avi" length="395673601" type="video/avi" />
<media:thumbnail url="http://255.255.255.255/logo/news.jpg" width="128" height="96" />
<title>Hourly news</title>
<description>Hourly news stream</description>
<link>http:// 255.255.255.255/news/24/</link>
</item>

<item>
<enclosure url="rtsp://255.255.255.255/news/finance/finnews.3gp"
length="43745280" type="video/3gpp" />
<media:thumbnail url="http://255.255.255.255/logo/finance.jpg" width="128" height="96" />
<title>Financial news</title>
<description>Financial news stream</description>
<link>http://255.255.255.255/news/finance </link>
</item>

</channel>
</rss>

Media RSS Example

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Example Mobile News</title>
<link>http://255.255.255.255</link>
<description>News service to your Mobile</description>

<image>
<url>http://255.255.255.255/logo/service.jpg</url>
<link>http://255.255.255.255/</link>
<title>Logo</title>
<height>144</height>
<width>144</width>
</image>

<item>
<media:group>
<media:content url="http://www.sample.com/mobile/mobile_vga.mp4" fileSize="1216320" type="video/mp4" expression="full" duration="720" width="640" height="480" />

<media:content url="http://www.sample.com/mobile/mobile_qvga.3gp" type="video/3gpp" expression="full" duration="720" width="320" height="240" />

<media:content url="http://www.sample.com/mobile/mobile_sample.3gp" type="video/3gpp" expression="sample" duration="15" width="320" height="240" />

<media:thumbnail url="http://www.sample.com/mobile/mobile.JPG" width="140" height="125" />
<media:description>Video no. 1 description</media:description>
</media:group>

<enclosure url="rtsp://www.sample.com/mobile/mobile.3gp" length="213358" type="video/3gpp" />
</item>
</channel>
</rss>