Syndication/formats/item

From Bjoern Hassler's website
Jump to: navigation, search
Syndication: Formats  |  metafeed  |  feedheader  |  short item  |  full item  |  Category:Syndication formats
Using Yahoo media for content aggregation
Working with Yahoo Media
Using media rss to syndicate and share media
Example feeds
Formats
metafeed
feedheader
short item
full item
The yahoo media content and group elements
Enclosures in yahoo media, rss, and atom
Media rss media group element
Media rss media group alternatives scheme
Appendix
Atom media extension
Overview of images in rss

Printing and index

1 Feed format at item level[edit]

For head information see header.

We describe an item in rss, but the atom equivalent is straight forward: We mostly just use basic elements from rss, most other things are atom/yahoo. To have an <entry> rather than an <item> is straigt forward.

2 The rss-item (or <atom:entry>)[edit]

<item>
<title>The title of this media item</title>
<description>Description ....</description>
<pubDate></pubDate>
<atom:updated></atom:updated>

<guid isPermaLink="false"></guid>

<media:category domain="http://purl.org/steeple/id" label="" >cam.ac.uk/sms/2342340923</media:category>

<link></link>
<atom:link rel="http://purl.org/steeple/context" href="" title="View this item in the original context at Oxford University">View this item in the original context at Oxford University</atom:link>

<!-- institutional classification -->
<atom:category scheme="http://purl.org/steeple/division" term="<e.g. via LDAP>" label="Section of Physical Sciences" />
<atom:category scheme="http://purl.org/steeple/department" term="<e.g. via LDAP>" label="Physics Department" />
<atom:category scheme="http://purl.org/steeple/group" term="" label="" />

<!-- subject classification -->
<atom:category scheme="...british library..." term="..." label="..." />
<atom:category scheme="http://www.itunesu.com" term="101" label="General Science" />
<atom:category scheme="http://www.itunesu.com" term="104101" label="..." />
<atom:category scheme="http://www.itunesu.com" term="108" label="..." />

<!-- people -->
<media:credit role="presenter" scheme="http://purl.org/steeple/credit">Prof. Dr. A. B. C. Smith-Jones (University of Oxford)</media:credit>
<media:credit role="presenter" scheme="http://purl.org/steeple/credit">Prof. Dr. D. E. F. Taylor (University of Cambridge)</media:credit>

<media:thumbnail url="http://www.foo.com/keyframe.jpg" width="75" height="50" time="" s:type="keyframe|slide|thumb|cover" s:attribution="" />

<!-- media content -->
<enclosure url1 length="" type="..." />
<media:group>
   <media:category domain="http://purl.org/steeple/mediatype" />video</media:category>
   <media:content url="url_low.m4v" fileSize="length" type="type" medium="video" isDefault="true" 
                         expression="full" bitrate="128" height="200" width="300" duration="185" lang="en"
                         s:FlashCompatible="9.0.115.0" s:transport="progressive,seekable" s:version="..." />

   <media:content url="url_high.m4v" fileSize="length" type="type" medium="video" isDefault="false" 
                         expression="full" bitrate="1128" height="400" width="600" duration="185" lang="en"
                         s:FlashCompatible="9.0.115.0" s:transport="progressive,seekable" s:version="..." />
</media:group>

<media:content  url="url5.pdf"  expression="full" .... ><media:title>Lecture slides as pdf</media:title></media:content>

<!-- keywords -->
<media:keywords>a, b, c</media:keywords>

<!-- license -->
<media:copyright url=".......">Oxford University</media:copyright>
<media:license type="text/html" href="http://creativecommons.org/licenses/by/3.0/us/">
 Creative Commons Attribution 3.0 United States License.
 Add attribution here: This item was produced by <a href="...">Dr. A. Smith</a>.
</media:license>
<cc:license>http://www.creativecommons.org/licenses/by-nc/1.0</cc:license>
</item>

3 Some quick questions?[edit]

3.1 How do you support subtitles?[edit]

<media:text start="00:00:00.000" xml:lang="en" s:type="subtitles">content for close captions / subtitles</media:text>
<media:text start="00:00:10.000" xml:lang="en" s:type="subtitles">content for close captions / subtitles</media:text>
<media:text start="00:00:30.000" xml:lang="en" s:type="subtitles">content for close captions / subtitles</media:text>
<media:text start="00:00:50.000" xml:lang="en" s:type="subtitles">content for close captions / subtitles</media:text>
<media:subTitle type="application/smil" lang="en-us"  href="http://www.example.org/subtitle.smil"  />

3.2 How do you support event dates and location?[edit]

<ev:startdate /> <geo:lat></geo:lat> <geo:lon></geo:lon>

3.3 What if the media item has limited period of validity?[edit]

<dcterms:valid>

   start=2002-10-13T09:00+01:00;
   end=2002-10-17T17:00+01:00;
   scheme=W3C-DTF

</dcterms:valid>

3.4 I have more questions![edit]

The next page gives a full account.