Feedblock RSS Merge Tags

Use feedblock merge tags to add a blog post to any campaign. 

Feedblock channel tags pull in content from your blog as a whole, while feedblock item tags allow you to customize how individual blog posts appear. You can think of your blog as a "channel" and your blog posts as "items" from that channel. You can use feedblock tags with any type of campaign, including automation emails, but be aware that the content is populated in real-time when the campaign is sent.

In this article, you'll learn about the feedblock RSS channel and item tags available to you and how each tag functions.

Channel Tags

Use feedblock RSS channel tags to customize content pulled in from your RSS tag, which represents your blog as a whole, such as your blog title or source URL.

Related RSS tag: <channel>

What it displays: This tag doesn't display anything. It's used to open the customized formatting for your feed content. In this tag, be sure to replace URL with your RSS feed's URL, like *|FEEDBLOCK:http://mywebsite.com/feed|*

Related RSS tag: </channel>

What it displays: This tag doesn't display anything. It's used to close the customized formatting for your feed content.

Related RSS tag: <title>

What it displays: The title of your blog or RSS feed "channel."

Related RSS tag: <pubDate>

What it displays: The date the RSS item was published. Use *|FEED:DATE:FORMAT|* to show the current date in a given format. For example, *|FEED:DATE:d/m/y|* where d is replaced by the day, m by the month, and y by the year. View a full reference of date options on the  PHP website. Not available for automation workflows.

Related RSS tag: <link>

What it displays: The URL of your source RSS feed or "channel." This tag can be displayed as text or used in a hyperlink.

Related RSS tag: <description>

What it displays: The description of your blog or RSS feed "channel," found in the <channel><description> tag.

Related RSS tag: <item>

What it displays: A linked list of five of your most recent blog post titles. This includes a link title, a date, an author, and a description for each post.

Related RSS tag: <item>

What it displays: A linked list of your blog posts, with optional settings for number shown and content type. $content=full displays the post's full content. Leave it blank to display the post's summary instead.  $constrain_rss_img=Y resizes the images in your feed to fit the width of your template, so your campaign isn't stretched. Omit the parameter if you don't want us to resize your images.

Related RSS tag: <category>

What it displays: A linked list and summary of your blog posts from the defined category ("xyz").

Item Tags

Use feedblock RSS item tags to customize how your individual blog posts appear, such as the titles posts or social share links.

Related RSS tag: <item>

What it displays: This tag doesn't display anything. It's used to open the customized formatting for your RSS items, and define how many items should display. $constrain_rss_img=Y resizes the images in your feed to fit the width of your template, so your campaign isn't stretched. Omit the parameter if you don't want us to resize your images.

Related RSS tag: </item>

What it displays: This tag doesn't display anything. It's used to close the customized formatting for your RSS items.

Related RSS tag: <title>

What it displays: The title of the RSS item, usually a blog post.

Related RSS tag: <link>

What it displays: The text link to the RSS item online, which can be displayed as text or used in a hyperlink.

Related RSS tag: <pubDate>

What it displays: The publish date of the RSS item. This tag allows you to include date formatting options, which are available at php.net. Use *|FEEDITEM:DATE:FORMAT|* to show the current date in a given format. For example, *|FEEDITEM:DATE:d/m/y|* where is replaced by the day, by the month, and y by the year.

Related RSS tag: <author>

What it displays: The author of the RSS item.

Related RSS tag: <comments>

What it displays: A text link to the comments section of the RSS item, which can be displayed as text or used in a hyperlink.

Related RSS tag: <categories>

What it displays: A comma-separated list of the RSS item's categories (e.g., tags or "posted in" notes).

Related RSS tag: <description>

What it displays: A summary of the RSS item. Includes information inside the <description> tag. If there is no <description> tag in your feed, MailChimp will display the information in the <content:encoded> tag.

Related RSS tag: <content:encoded>

What it displays: The full content of the RSS item. Includes information inside the <content:encoded> tag. If there is no <content:encoded> tag in your feed, MailChimp will display the information in the <description> tag.

Related RSS tag: <description>

What it displays: A summary of the RSS item presented in plain-text. Includes information inside the <description> tag. If there is no <description> tag in your feed, MailChimp will display the information in the <content:encoded> tag.

Related RSS tag: <description>

What it displays: The full content of the RSS item presented in plain-text. Includes information inside the <content:encoded> tag. If there is no <content:encoded> tag in your feed, MailChimp will display the information in the <description> tag.

Related RSS tag: <media:content>

What it displays: In certain feed set-ups, this tag displays the image defined in the <media:content> tag. Child elements like height, width and source URL aren't editable in MailChimp, but can be included in the RSS feed on your site.

Related RSS tag: <enclosure>

What it displays: A preformatted text link to a media file in the <enclosure> tag.

Related RSS tag: <image>

What it displays: The URL of a media file in the <enclosure> tag, which can be applied to customized content in your campaign.

Related RSS tag: <source>

What it displays: The URL of the RSS item online displayed as text (not a link).

Related RSS tag: <source>

What it displays: The title associated with the RSS item's source URL, located between the <source></source> tags.

Related RSS tag: <link>

What it displays: A Facebook Like button that subscribers can click to "Like" a specific RSS item right in your campaign.

Related RSS tag: <link>

What it displays: A Tweet button that subscribers can click to tweet a specific RSS item right in your campaign.

Related RSS tag: <link>

What it displays: A Tumblr reblog button that subscribers can click to post a specific RSS item to their Tumblr blog right in your campaign.

Related RSS tag: <link>

What it displays: A +1 button that subscribers can click to share a specific RSS item to Google+ right in your campaign.

Related RSS tag: <link>

What it displays: A share to Instapaper button that subscribers can click to save a specific RSS item to their Instapaper account right in your campaign.

Related RSS tag: <link>

What it displays: A customized block of social share icons that you can define, which give subscribers a simple way to share the RSS item to their preferred social network. This tag does not support Google+.

Next Steps

To view sample feedblocks and learn how to create your own, read  Add a Blog Post to Any Campaign

Was this article helpful?
What can we do to improve articles like this?

Technical Support