Media RSS Template Tags

Media RSS (MRSS) is an RSS extension that supplements the <enclosure> capabilities of RSS 2.0. RSS enclosures are already being used to syndicate audio files and images.

Media RSS extends enclosures to handle other media types, such as short films or TV, as well as provide additional metadata with the media. Media RSS enables content publishers and bloggers to syndicate multimedia content such as TV and video clips, movies, images and audio.

Example of a primary element <media:content> in a source feed:

<media:content
  url="http://www.foo.com/movie.mov"
  fileSize="12216320"
  type="video/quicktime"
  medium="video"
  isDefault="true"
  expression="full"
  bitrate="128"
  framerate="25"
  samplingrate="44.1"
  channels="2"
  duration="185"
  height="200"
  width="300"
  lang="en" />

Below you can find the full list of the MRSS-specific template tags (and the corresponding source feed tags) currently supported by our service.

Important: Feed Informer does not collect any Media RSS data by default. You need to enable this feature on "DIGEST PROPERTIES" page by checking "Enable RSS extensions for media content" option for each digest that uses it.

Feed Informer template tag Media RSS element
%MEDIACONTENTURL% <media:content
url="http://www.foo.com/
song128kbps.mp3" ...>
%MEDIACONTENTTYPE% <media:content
type="audio/mpeg" ...>
%MEDIACONTENTFILESIZE% <media:content
fileSize="4000" ...>
%MEDIACONTENTMEDIUM% <media:content
medium="audio/mpeg" ...>
%MEDIACONTENTISDEFAULT% <media:content
isDefault="true" ...>
%MEDIACONTENTEXPRESSION% <media:content expression="full" ...>
%MEDIACONTENTBITRATE% <media:content
bitrate="128" ...>
%MEDIACONTENTFRAMERATE% <media:content framerate="30" ...>
%MEDIACONTENTSAMPLINGRATE% <media:content
samplingrate="44.1" ...>
%MEDIACONTENTCHANNELS% <media:content channels="2" ...>
%MEDIACONTENTDURATION% <media:content duration="185" ...>
%MEDIACONTENTHEIGHT% <media:content height="480" ...>
%MEDIACONTENTWIDTH% <media:content width="640" ...>
%MEDIACONTENTLANG% <media:content lang="en" ...>

Optional Elements

Feed Informer template tag Media RSS element
%MEDIARATING% <media:rating>
pg
</media:rating>
%MEDIARATINGSCHEME% <media:rating scheme="urn:mpaa">
...
</media:rating>
%MEDIATITLETYPE% <media:title type="plain">
...
</media:title>
%MEDIATITLE% <media:title>
The Judy's -- The Moo Song
</media:title>
%MEDIADESCRIPTION% <media:description>
This was some really bizarre band I listened to as a young lad.
</media:description>
%MEDIADESCRIPTIONTYPE% <media:description type="plain">
...
</media:description>
%MEDIAKEYWORDS% <media:keywords>
kitty, cat, big dog, yarn, fluffy
</media:keywords>
%MEDIATHUMBNAILTIME% <media:thumbnail time="12:05:01.123" ... />
%MEDIATHUMBNAILURL% <media:thumbnail
url="http://www.foo.com/
keyframe.jpg" ... />
%MEDIATHUMBNAILHEIGHT% <media:thumbnail height="50" ... />
%MEDIATHUMBNAILWIDTH% <media:thumbnail
width="75" ... />
%MEDIACATEGORY% <media:category>
Arts/Movies/
Titles/A/Ace_Ventura_Series/
Ace_Ventura_ -_Pet_Detective
</media:category>
%MEDIACATEGORYSCHEME% <media:category scheme="http://dmoz.org" ...>
...
</media:category>
%MEDIACATEGORYLABEL% <media:category label="Ace Ventura - Pet Detective" ...>
...
</media:category>
%MEDIAHASH% <media:hash>
dfdec888b72151965a34b4b59031290a
</media:hash>
%MEDIAHASHALGO% <media:hash algo="md5">
...
</media:hash>
%MEDIACREDIT% <media:credit>
copyright holder of the entity
</media:credit>
%MEDIACREDITROLE% <media:credit role="owner">
...
</media:credit>
%MEDIACREDITSCHEME% <media:credit scheme="urn:yvs">
...
</media:credit>
%MEDIACOPYRIGHT% <media:copyright>
2005 FooBar Media
</media:copyright>
%MEDIACOPYRIGHTURL% <media:copyright url="http://blah.com/
additional-info.html">
...
</media:copyright>
%MEDIATEXT% <media:text>
Oh, say, can you see
</media:text>
%MEDIATEXTTYPE% <media:text type="plain" ...>
...
</media:text>
%MEDIATEXTLANG% <media:text lang="en" ...>
...
</media:text>
%MEDIATEXTSTART% <media:text start="00:00:03.000" ...>
...
</media:text>
%MEDIATEXTEND% <media:text end="00:00:10.000" ...>
...
</media:text>
%MEDIARESTRICTIONRELATIONSHIP% <media:restriction relationship="allow">
...
</media:restriction>
%MEDIARESTRICTIONTYPE% <media:restriction type="country">
...
</media:restriction>
%MEDIARESTRICTION% <media:restriction>
au us
</media:restriction>