Media RSS Description
From ThirdPresence Wiki
Contents |
RSS
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:thirdpresence="http://www.thirdpresence.com/feed/"> <channel> <title></title> <link>http://show.thirdpresence.com/</link> <description>show feed from thirdpresence.com</description> <item> <title>Big Buck Bunny</title> <link>http://show.thirdpresence.com/dls/t/item.jsp?iid=19069</link> <pubDate>10.08.2009 07:49</pubDate> <category></category> <thirdpresence:expiredate>10.08.2010 07:49</thirdpresence:expiredate> <thirdpresence:releasedate>10.08.2009 07:49</thirdpresence:releasedate> <thirdpresence:duration>9:56</thirdpresence:duration> <media:group> <media:thumbnail url="http://vod.cloud.thirdpresence.com/http/Show_BigBuckBunny_640x360.avi.jpg" width="240" height="135" /> <media:description type="plain">Big Buck Bunny | (c) copyright Blender Foundation | www.bigbuckbunny.org</media:description> <media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?iid=19069" expression="full" duration="596" isDefault="true"/> <media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?nid=Big Buck Bunny" expression="full" duration="596"/> <media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?rid=xxj220j33" expression="full" duration="596"/> <media:content url="http://show.thirdpresence.com/dls/t/xsmall.jsp?iid=19069" duration="596" expression="full"/> <media:content url="http://show.thirdpresence.com/dls/t/download.jsp?iid=19069" duration="596" expression="full"/> </media:group> <media:embed url="http://dir.thirdpresence.com/player.swf" width="230" height="195" > <media:param name="type">application/x-shockwave-flash</media:param> <media:param name="width">230</media:param> <media:param name="height">195</media:param> <media:param name="allowFullScreen">true</media:param> <media:param name="quality">high</media:param> <media:param name="flashVars">file=http://show.thirdpresence.com/dls/t/watch.jsp?iid=19069&f=fl&image=http://vod.cloud.thirdpresence.com/http/Show_BigBuckBunny_640x360.avi.jpg&autoplay=false</media:param> </media:embed> <media:status state="ACTIVE"/> </item> </channel> </rss>
channel
| Tag | Description |
| <title> | Feed title |
| <link> | link to account page |
| <description> | General description |
<channel>
<title></title>
<link>http://show.thirdpresence.com/</link>
<description>show feed from thirdpresence.com</description>
<item>
...
</item>
</channel>
item
| Tag | Description |
| <title> | Video title |
| <link> | Link to default content page |
| <pubDate> | video publishing date |
| <category> | category id (if cat=-1 defined at request then this is null) |
| <thirdpresence:expiredate> | date when video will be expired |
| <thirdpresence:releasedate> | date when video will be released |
| <thirdpresence:duration> | video duration at [HH:MM:SS] format |
<item>
<title>Big Buck Bunny</title>
<link>http://show.thirdpresence.com/dls/t/item.jsp?iid=19069</link>
<pubDate>10.08.2009 07:49</pubDate>
<category></category>
<thirdpresence:expiredate>10.08.2010 07:49</thirdpresence:expiredate>
<thirdpresence:releasedate>10.08.2009 07:49</thirdpresence:releasedate>
<thirdpresence:duration>9:56</thirdpresence:duration>
<media:group>
...
</media:group>
<media:embed ...>
...
</media:embed>
<media:status .../>
</item>
media:group
| Tag | Description |
| <media:thumbnail> | url: defines where thumbnail can be found. width, height: define dimensions of the image. |
| <media:description> | Description of the video. Attribute type defines that is description format as plain or html |
| <media:content> | url: defines where video can be found. expression: defines that is video full or preview duration: video length as seconds |
| <media:content> url | Description |
| watch.jsp?iid=[id] | Default url for the video. |
| watch.jsp?nid=[name] | Url for the video where request parameter is name of the video. |
| watch.jsp?rid=[id] | Url for the video where request parameter is referenceid (id which customer has defined) of the video. |
| xsmall.jsp?iid=[id] | This url can be used as "fallback". It will define smallest possible video for the terminal. |
| download.jsp?iid=[id] | This url can be used for download of the video. Terminal will receive video http when accessing through this url. |
<media:group>
<media:thumbnail url="http://vod.cloud.thirdpresence.com/http/Show_BigBuckBunny_640x360.avi.jpg" width="240" height="135" />
<media:description type="plain">Big Buck Bunny | (c) copyright Blender Foundation | www.bigbuckbunny.org</media:description>
<media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?iid=19069" expression="full" duration="596" isDefault="true"/>
<media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?nid=Big%20Buck%20Bunny" expression="full" duration="596"/>
<media:content url="http://show.thirdpresence.com/dls/t/watch.jsp?rid=xxj220j33" expression="full" duration="596"/>
<media:content url="http://show.thirdpresence.com/dls/t/xsmall.jsp?iid=19069" duration="596" expression="full"/>
<media:content url="http://show.thirdpresence.com/dls/t/download.jsp?iid=19069" duration="596" expression="full"/>
</media:group>
media:embed
If you wish to use video at Flash Lite capable terminals only you can use <media:embed> information to embed player at web page.
<media:embed url="http://dir.thirdpresence.com/player.swf" width="230" height="195" > <media:param name="type">application/x-shockwave-flash</media:param> <media:param name="width">230</media:param> <media:param name="height">195</media:param> <media:param name="allowFullScreen">true</media:param> <media:param name="quality">high</media:param> <media:param name="flashVars">file=http://show.thirdpresence.com/dls/t/watch.jsp?iid=19069&f=fl&image=http://vod.cloud.thirdpresence.com/http/Show_BigBuckBunny_640x360.avi.jpg&autoplay=false</media:param> </media:embed>
media:status
| Tag | Description |
| <media:status> | state can be ACTIVE / PROCESSING / ERROR |
<media:status state="ACTIVE"/>This page was last modified on 31 December 2009, at 11:07.