How To Differentiate Between Basic and Custom for
Last updated
Was this helpful?
Last updated
Was this helpful?
Within the Email Builder, you may be using the RSS Header or RSS Item elements to automatically update information across sites. They are useful for blogs and other sites if you want to pull information from a site into an email.
Follow these steps to edit the Headers and items using both โBasicโ and โCustomโ options.
Step 1: Editing The RSS Header Block
The RSS Header Block dynamically populates tags from your feed. The header element supports these RSS channel tags:
{{rss_feed.title}}
{{rss_feed.description}}
{{rss_feed.url}}
{{rss_feed.date}}
Be sure to use the corresponding custom value for each, in order to populate the email with the correct tag value.
In the Header blockโs editing options, you will see โBasicโ and โCustomโ options.
โBasicโ will add non-editable text in the editor:
{{rss_feed.description}}
โCustomโ will add this editable text in the editor:
Updates from {{rss_feed.url}}
{{rss_feed.description}} In the {{rss_feed.date}} edition:
NOTE: The custom RSS variables can also be used in the subject field.
Step 2: Editing The RSS Items Block
The Items block will accept these custom values, dynamically inserting the respective RSS Tags:
{{rss_item.title}}
The title of the RSS item, most commonly a blog post. title
{{rss_item.content}}
A summary of the RSS item in HTML format
{{rss_item.url}}
The text link to the RSS item online, which can be displayed as text or used in a hyperlink.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 tag.
pubDate
{{rss_item.date}}
The date the RSS item was published, formatted as MMM DD, YYYY hh:mm A
.
{{rss_item.imageUrl }}
The src URL of image as text in order to render it as image, use {{rss_img}}{{rss_img alt="alt_text" src=rss_item.imageUrl height="200" width="200"}}
{{#rss_items rss_items}}
It's used to open the customized formatting for individual RSS items (doesnโt display anything).
{{/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 some additional options.
โBasicโ will add non-editable text in the editor:
{{#rss_items rss_items}}
{{rss_item.content}} Read on ยป {{/rss_items}}
โCustomโ will add this editable text in the editor:
{{#rss_items rss_items}}
By {{rss_item.author}} on {{rss_item.date}} {{rss_item.content_full}} Read in browser ยป {{/rss_items}} Recent Articles: {{#rss_items rss_items}}