The tags are generally divided into two groups. Feed Level and Item Level. Feed Level deals with the elements that are under the <channel> element. Item Level deal with each <item> in the <channel>.
The following is an example of putting it all together:
[RSSFeed url=”http://www.kpho.com/list/216452/kpho-newstream?clienttype=rss” [^]]
<div>
<h1>[RSSFeedLink text=”[RSSFeedTitle]” style=”color: white;”]</h1>
[RSSItems]
<table border=”1″ width=”100%”>
<tbody>
<tr>
<td>
<div style=”text-align: left;”>[RSSItemEnclosure format=”image” width=”100″ align=”left” hspace=”5″ vspace=”5″ border=”0″ linked=”true”]</div>
<div style=”text-align: left;”> </div>
<div>[RSSItemLink style=”color: white;”]</div>
<p style=”font-size: 10pt; padding: 0; margin: 0;”>[RSSItemDescription max-word-count=”10″] [RSSItemLink text=”Read More >>” style=”color: white;”]< /p >
<p style=”font-size: 10pt; padding: 0; margin: 0;”><span style=”color: yellow;”>[RSSItemCreator]</span>< /p >
<p style=”font-size: 10pt; padding: 0; margin: 0;”><span style=”color: #99cc00;”>[RSSItemPubDate pattern=”MMM d, yyyy”]</span>< /p >
</td>
</tr>
</tbody>
</table>
[/RSSItems]
</div>
[/RSSFeed]
· Feed Level RSS Merge Tags
[RSSFeed][/RSSFeed] description: This is the main set of tags. Note that this requires an end tag. The tags delineate the beginning and end of the dynamic content. All other RSS tags that occur in between are related to the specified feed. The feed is specified by the required URL attribute. attributes:
example:
|
[RSSFeedTitle] related RSS element: <title> within <channel> description: Outputs the content of the feed’s <title> element. Attributes:
Exexample
|
[RSSFeedLink] Related RSS element: <link> within <channel> Description: Outputs an <a> element with the href set to the URL found within the feed’s <link> element. The target is always set to “_blank”. Attributes:
Example:
|
[RSSFeedDescription] Related RSS element: <description> within <channel> Description: Outputs the content of the feed’s <description> element. Attributes:
Example:
|
[RSSFeedElement] Related RSS element: Any element within <channel> Description: Outputs the content of the specified RSS element or its attribute. Use the name attribute to specify the name of the element or attribute. Attributes:
Example:
|
[RSSItems][/RSSItems] Related RSS element: <item> within <channel> Description: Iterates across each of the <item> elements, outputting the content between the start and end tag for each item. Note that this requires an end tag. RSS item tags that occur between the start and end tags will be applied for each item. Items can be optionally filtered so that only items that match the filtering conditions will be included. When filtered, then the items are numbered based on their position within the matched items, not within the entire item list. This has an impact on this tag’s start attribute, or the RSSItemConditional tag’s position attribute. Filtering requires all 3 filter attributes. Attributes:
Examples:
|
·Item Level RSS Merge Tags
[RSSItemTitle] Related RSS element: <title> within <item> Description: Outputs the content of the item’s <title> element. Attributes:
Examples:
|
[RSSItemLink] Related RSS element: <link> within <item> Description: Outputs an <a> element with the href set to the URL found within the item’s <link> element. The target is always set to “_blank”. Attributes:
Examples:
|
[RSSItemDescription] Related RSS element: <description> within <channel> Description: Outputs the content of the item’s <description> element. Attributes:
Examples:
|
[RSSItemCreator] Related RSS element: <dc:creator> within <item> Description: Outputs the content of the item’s <dc:creator> element. If there are multiple <dc:creator> elements, then they will be output together, each separated by the separator attribute value (a comma and space by default). Attributes:
Examples:
|
[RSSItemPubDate] Related RSS element: <pubDate> within <item> Description: Outputs the item’s publication date, optionally reformatting the date using a different pattern. The publication date is expected to be in the format “EEE, d MMM yyyy HH:mm:ss z”. For example, “Tue, 1 Dec 2015 14:32:00 EST”. Attributes:
Examples:
|
[RSSItemContent] Related RSS element: <content:encoded> within <item> Description: Outputs the content of the RSS <content:encoded> element. Attributes:
Examples:
|
[RSSItemEnclosure] Related RSS element: <enclosure> within <item> Description: Outputs the enclosure, either as an image, a linked image, or a link. For images, if neither the width nor height attribute are provided, then the images native dimensions will be used. If either one of width or height are provided, then the image’s native proportions will be used to determine the missing dimension. Attributes:
Examples:
|
[RSSItemConditional][/RSSItemConditional] Description: These tags allow for conditional content to be either included or excluded based on the current item’s position in the RSSItems group. Note that this requires an end tag. The tags delineate the beginning and end of the conditional content. The conditional content can include other RSS tags. Attributes:
Examples:
|
[RSSItemElement] Related RSS element: Any element within <item> Description: Outputs the content of the specified RSS element or its attribute. Use the name attribute to specify the name of the element or attribute. Attributes:
Examples:
|