Technology - CMS

Extending RedDot RSS feeds with Embedding Media Files

Nov 09, 2011
Pablo Bustamante

RSS feeds are a great way for your customers to reach your site whenever new content is available, but this shouldn’t be restricted to only text content, as you can now embed media elements such as video and audio, and is simple to add them to our previous RSS feed post for reddot (

First, we need to create new placeholders in each of our entries that are going to appear in the feed, we should add three things: media placeholder, info for the media size and a media type placeholder (it can be an option list with the media types). All of them should be added in the keyword import for LiveServer to be later retrieved in the result of verity.

Second, for retrieval of this information it is necessary to add/modify the following attributes in the verity query:

  • Include-mode: you need to add “metainfo” to the current values, the result can be something like this "content-info,notag;context-tags,notag;metainfo,notag".
  • Metainfo: In the values that should be extracted from the meta content you need to add the name of the attribute that was registered in reddot, something like <env>.<attribute_name>.

Once the query has changed you should test it and see the new attribute extracted in the results from the verity query.

Finally we need to render this data in our RSS feed, and there a multitude of ways in which you can include this Metadata into your feeds and this is very dependant on what the business says, a possibility is to do it in a <enclosure> tag (