Last updated December 5, 2012. Created by maciej.zgadzaj on December 5, 2012.
Log in to edit this page.
Setting up core feed elements
After enabling Views RSS: Media (MRSS) Elements module, start with setting up core <channel> elements and core <item> elements provided by Views RSS: Core Elements submodule of Views RSS module, then proceed with iTunes-specific feed elements described below.
Setting up Media <item> elements
Values for all Media <item> elements are configured from within Item elements : Media group in view's Format settings.
<media:content>
Use any image, file/media or video field.
Select RSS <media:content> element as field formatter.
Check Group multiple field values in one <media:group> element if you plan to output multiple <media:content> elements within single <item> element and want to wrap them in <media:group> element.
Select remaining options as required.
Also:
- If you have getid3 module enabled, it will be used to read extra file attributes to be added to
<media:content>feed element (for example: bitrate, samplingrate, channels and duration foraudiofiles; bitrate, framerate, duration, width and height forvideofiles). - If you are using Media module and your files are fieldable, adding the following fields:
- field_title
- field_description
will cause their values to be printed as sub-elements of
<media:content>element (<media:title>and<media:description>respectively).
More information: Media RSS Specification: media:content
<media:title>
Use any text field.
More information: Media RSS Specification: media:title
<media:description>
Use any text field.
More information: Media RSS Specification: media:description
<media:keywords>
Select either text field or Taxonomy field (for example All taxonomy terms) or Term reference field.
In field configuration section:
- enable
Strip HTML tagsoption if necessary
In case of Taxonomy fields:
- disable
Link this field to its term pageoption - select
Simple separatorinDisplay typeand use,as aSimple separator
In case of Term reference fields:
- select
Plain textasFormatter, - in
Multiple field settingscheckDisplay all values in the same rowand use,as aSimple separator
More information: Media RSS Specification: media:keywords
<media:thumbnail>
Use any image, file/media or video field.
Select RSS <media:thumbnail> element as field formatter.
Also:
- If you are using Media module and your files are fieldable, adding the field
field_timewill cause its value to be added astimeattribute of<media:thumbnail>element.
More information: Media RSS Specification: media:thumbnails
<media:category>
Use any Term reference field (do not use Taxonomy "fields" provided by Views).
Select RSS <media:category> element as field formatter.
In Multiple field settings check Display all values in the same row.
Also:
- If your source taxonomy vocabulary has
field_schemeand/orfield_labeldefined, their values will be automatically added as attributes to each<media:category>element.
More information: Media RSS Specification: media:category