Follow these steps to edit the Headers and items using both “Basic” and “Custom” options.
To access these features, navigate to Marketing > Emails > Templates/Campaigns and create a new or click on an existing campaign/template to edit it.
The RSS Header Block dynamically populates <channel> tags from your feed. The header element supports these RSS channel tags:
RSS TagsCustom Value<title>{{rss_feed.title}}<description>{{rss_feed.description}}<link>{{rss_feed.url}}<lastBuildDate>{{rss_feed.date}}
Be sure to use each custom value to populate the email with the correct tag value.
You will see “Basic” and “Custom” options in the Header block's editing options.
“Basic” will add non-editable text in the editor:
<h1 class="h1">{{rss_feed.title}}</h1> {{rss_feed.description}}<br /> <br />
“Custom” will add this editable text in the editor:
Updates from {{rss_feed.url}} <h1>{{rss_feed.title}}</h1> <strong>{{rss_feed.description}}</strong><br /> <br /> <strong>In the {{rss_feed.date}} edition:</strong><br />
NOTE: The custom RSS <channel> variables can also be used in the subject field.
The Items block will accept these custom values, dynamically inserting the respective RSS Tags:
RSS Tags / Custom Values /Description
<title/> | {{rss_item.title}} | The title of the RSS item is most commonly a blog post. title
<description/> | {{rss_item.content}} | A summary of the RSS item in HTML format
<link/> | {{rss_item.url}} | The text link to the RSS item online can be displayed as text or used in a hyperlink.
content: encoded
<content:encoded/> | {{rss_item.content_full} |The full content of the information inside the <content:encoded> tag for an RSS item, in HTML format. If no <content:encoded> tag, it will display the information in the <description> tag.
pubDate | {{rss_item.date}} | The date the RSS item was published, formatted as MMM DD, YYYY hh:mm A
.
<dc:creator> | {{rss_item.author}} | The author of the RSS item
media:content
<media:content> | {{rss_item.imageUrl }} | The src URL of the image as text to render it as an image, use {{rss_img}}
{{rss_img alt="alt_text" src=rss_item.imageUrl height="200" width="200"}}
<item> | {{#rss_items rss_items}} | It's used to open the customized formatting for individual RSS items (doesn’t display anything).
</item> | {{/rss_items}} | It's used to close the customized formatting for individual RSS items (doesn’t display anything.)
In the Items block’s editing options, you will see “Basic” and “Custom” options, like the Header block’s options above, along with additional options.
“Basic” will add non-editable text in the editor:
{{#rss_items rss_items}} <h2 class="mc-toc-title"><a href="{{rss_item.url}}" target="_blank"> {{rss_item.title}} </a> </h2> {{rss_item.content}} <br /> <a href="{{rss_item.url}}" target="_blank">Read on »</a><br /> <br /> {{/rss_items}}
“Custom” will add this editable text in the editor:
{{#rss_items rss_items}}<h2 class="mc-toc-title"><a href="{{rss_item.url}}"target="_blank">{{rss_item.title}}</a></h2> <em>By {{rss_item.author}} on {{rss_item.date}}</em><br /> {{rss_item.content_full}}<br /> <a href="{{rss_item.url}}" target="_blank">Read in browser »</a><br /> <br /> {{/rss_items}}<br /> <br /> <br /> <h3 class="h3">Recent Articles:</h3> {{#rss_items rss_items}}
Q1: What is the difference between the "Basic" and "Custom" options for the RSS Header Block?
The "Basic" option adds non-editable text with predefined RSS tags, while the "Custom" option allows you to add and format editable text, including custom RSS tags for more personalized content.
Q2: How do I use custom RSS tags in the subject field of an email?
You can use custom RSS <channel> variables in the subject field to dynamically insert values from your RSS feed. For example, using {{rss_feed.title}} in the subject will include the RSS feed title.
Q3: What custom values can be used in the RSS Items Block?
The RSS Items Block supports various custom values such as {{rss_item.title}}, {{rss_item.content}}, {{rss_item.url}}, {{rss_item.date}}, {{rss_item.author}}, and {{rss_item.imageUrl}} to pull specific details from each RSS item.
Q4: How do "Basic" and "Custom" options differ for the RSS Items Block?
The "Basic" option provides a non-editable template with predefined text and tags. In contrast, the "Custom" option allows you to create and format editable content, including additional details and personalized styling for each RSS item.