How To Differentiate Between Basic and Custom for
Last updated
Last updated
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 Tags | Custom Value |
---|---|
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:
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}}
RSS Tags | Custom Values | Description |
---|---|---|
{{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.author}}
The author of the RSS itemmedia:content
{{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.)
{{rss_feed.title}}
{{rss_feed.description}}
{{rss_feed.url}}
{{rss_feed.date}}