How to Display RSS Content as HTML in Email Campaigns

Displaying RSS Content Correctly in Emails

When using an RSS feed as a content source for your email campaigns, you may find that the email body displays raw HTML tags instead of rendering the formatted content. This happens because the standard RSS variable escapes HTML characters by default.

Why This Happens

The CRM's email builder processes the {{rss_item.content}} variable with HTML escaping. This means characters like & become &amp;, and HTML tags like <p> appear as plain text instead of creating paragraphs. This is a safety feature to prevent malformed HTML from breaking your email layout.

How to Fix It

To display the RSS content as properly formatted HTML, you must use the Custom RSS Item element within the email builder and modify the variable syntax.

  1. Drag the Custom RSS Item element into your email template.
  2. Instead of using the double curly brace syntax {{rss_item.content}}, use triple curly braces: {{{rss_item.content}}}.
  3. This 'triple-stash' syntax tells the system to render the content without escaping the HTML.

For example, if your RSS feed contains <div class="example">Content</div>, using the double brace syntax will display the tags as text. Using the triple brace syntax will render it as a formatted div element.

This applies to any HTML-based content in your RSS feed, ensuring your emails display rich text, links, and images correctly.