Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Preparing a message for use with RSS

You can set up a message or a template so that it contains tags that can be replaced dynamically with content coming from an RSS feed.

This will allow you to easily add items from the feed into the message - using the New from RSS feature - selecting the order (i.e. position) in which they will be displayed.

RSS merge tags

This task requires a basic understanding of HTML in that you will need to edit the HTML of the message.

In the HTML of the message, insert the following merge tags where you want the content to be diplayed. There are separate RSS and ATOM tags, depending on the type of feed.

 RSS tags

DYNAMIC RSS TAGEXAMPLECONTENT INSERTED INTO THE MESSAGE
[rss_positionN_title][rss_position1_title]The title of the piece of news selected for position N
[rss_positionN_description][rss_position1_description]The main content of the piece of news selected for position N
[rss_positionN_link][rss_position1_link]A link to the piece of news selected for position N
[rss_positionN_pubdate][rss_position1_pubdate]The release date of the piece of news selected for position N
[rss_positionN_author][rss_position1_author]The author of the piece of news selected for position N
[rss_positionN_category][rss_position1_category]The category of the piece of news selected for position N
[rss_positionN_comments][rss_position1_comments]The link to comments page of the piece of news selected for position N
[rss_positionN_guid][rss_position1_guid]The unique ID of the piece of news selected for position N
[rss_positionother][rss_positionother]Title, content, and link of the additional news selected for position 5

ATOM tags

DYNAMIC ATOM TAGEXAMPLECONTENT INSERTED INTO THE MESSAGE
[rss_positionN_id][rss_position1_id]The unique ID of the piece of news selected for position N
[rss_positionN_title][rss_position1_title]The title of the piece of news selected for position N
[rss_positionN_updated][rss_position1_updated]The last date and time of the piece of news selected for position N was modified
[rss_positionN_author][rss_position1_author]The authors of the piece of news selected for position N
[rss_positionN_content][rss_position1_content]The content of the piece of news selected for position N
[rss_positionN_link][rss_position1_link]The links to the piece of news selected for position N
[rss_positionN_summary][rss_position1_summary]The summary of the piece of news selected for position N
[rss_positionN_category][rss_position1_category]The categories of the piece of news selected for position N
[rss_positionN_contributor][rss_position1_contributor]The contributors of the piece of news selected for position N
[rss_positionN_published][rss_position1_published]The last date and time of the piece of news selected for position N was created
[rss_positionN_rights][rss_position1_rights]The rights of the piece of news selected for position N
[rss_positionother][rss_positionother]Title, summary, and link of the additional news selected for position 5

Using the [rss_positionother] you have to specify the numeric id  when you choose to populate feeds to be included in your custom template.

For example: in the default templates it continues to be populated with all the feeds specified in position 5 while for the custom template ( those created by customers), this tag will be populated with all the feeds specified as 0 (zero).

  • No labels