Difference between revisions of "alternates-examples"

From Microformats Wiki
Jump to navigation Jump to search
m (replacing MediaRSS links to archive.org)
 
(9 intermediate revisions by 8 users not shown)
Line 15: Line 15:
  
 
= Specific Examples from the Wild =
 
= Specific Examples from the Wild =
 +
 +
== MediaRSS ==
 +
Yahoo's [https://web.archive.org/web/20060719035010/http://search.yahoo.com/mrss MediaRSS] provides the <media:group> tag to group alternate choices for the same media file together. Here's an example from their spec:
 +
 +
<pre><nowiki>
 +
<rss version="2.0">
 +
<channel>
 +
<title>Song Site</title>
 +
<link>http://www.foo.com</link>
 +
<description>Songs galore at different bitrates</description>
 +
<item>
 +
  <title>Cool song by an artist</title>
 +
  <link>http://www.foo.com/item1.htm</link>
 +
  <media:group>
 +
  <media:content url="http://www.foo.com/song64kbps.mp3"
 +
  fileSize="1000" bitrate="64" type="audio/mpeg"
 +
  isDefault="true" expression="full"/>
 +
  <media:content url="http://www.foo.com/song128kbps.mp3"
 +
  fileSize="2000" bitrate="128" type="audio/mpeg"
 +
  expression="full"/>
 +
  <media:content url="http://www.foo.com/song256kbps.mp3"
 +
  fileSize="4000" bitrate="256" type="audio/mpeg"
 +
  expression="full"/>
 +
  <media:content url="http://www.foo.com/song512kbps.mp3.torrent"
 +
  fileSize="8000" type="application/x-bittorrent;enclosed=audio/mpeg"
 +
  expression="full"/>
 +
  <media:content url="http://www.foo.com/song.wav"
 +
  fileSize="16000" type="audio/x-wav" expression="full"/>
 +
  <media:credit role="musician">band member 1</media:credit>
 +
  <media:credit role="musician">band member 2</media:credit>
 +
  <media:category>music/artist name/album/song</media:category>
 +
  <media:rating>nonadult</media:rating>
 +
  </media:group>
 +
</item>
 +
</channel>
 +
</rss>
 +
</nowiki></pre>
 +
 +
Note the mixing of alternates and related metadata together under the group tag.
 +
 +
== hVlog ==
 +
 +
The [http://vpip.org/ vPIP] (Videos Playing in Place) library uses a format called [http://formats.cinegage.com/index.php?title=HVlog hVlog] to identify media enclosures in blog posts.
 +
 
= See Also =
 
= See Also =
 
* [[alternates-examples]]
 
* [[alternates-examples]]
 +
* [[alternates-formats]]
 
* [[alternates-brainstorming]]
 
* [[alternates-brainstorming]]
 
* [[media-metadata-examples]] -- Yahoo's Media RSS uses this
 
* [[media-metadata-examples]] -- Yahoo's Media RSS uses this

Latest revision as of 16:31, 23 July 2014

Introduction

This page is to collect examples of alternates, that is, places where a user may be given several different items to choose amongst that at some logical level are considered equivalent.

Discussion Participants

Editor

Authors

Interested Folks

Specific Examples from the Wild

MediaRSS

Yahoo's MediaRSS provides the <media:group> tag to group alternate choices for the same media file together. Here's an example from their spec:

<rss version="2.0">
<channel>
<title>Song Site</title>
<link>http://www.foo.com</link>
<description>Songs galore at different bitrates</description>
 <item>
  <title>Cool song by an artist</title>
  <link>http://www.foo.com/item1.htm</link>
  <media:group>
   <media:content url="http://www.foo.com/song64kbps.mp3" 
   fileSize="1000" bitrate="64" type="audio/mpeg" 
   isDefault="true" expression="full"/>
   <media:content url="http://www.foo.com/song128kbps.mp3" 
   fileSize="2000" bitrate="128" type="audio/mpeg" 
   expression="full"/>
   <media:content url="http://www.foo.com/song256kbps.mp3" 
   fileSize="4000" bitrate="256" type="audio/mpeg" 
   expression="full"/>
   <media:content url="http://www.foo.com/song512kbps.mp3.torrent" 
   fileSize="8000" type="application/x-bittorrent;enclosed=audio/mpeg" 
   expression="full"/>
   <media:content url="http://www.foo.com/song.wav" 
   fileSize="16000" type="audio/x-wav" expression="full"/>
   <media:credit role="musician">band member 1</media:credit>
   <media:credit role="musician">band member 2</media:credit>
   <media:category>music/artist name/album/song</media:category>
   <media:rating>nonadult</media:rating>
  </media:group>
 </item>
</channel>
</rss>

Note the mixing of alternates and related metadata together under the group tag.

hVlog

The vPIP (Videos Playing in Place) library uses a format called hVlog to identify media enclosures in blog posts.

See Also