logo
Knowledge Base
General3 min read

Embed XML (RSS) feeds into your campaign

Go to "Campaigns" -- "All Campaigns" -- "Create new" from the sidebar menu Follow the same steps as you would to "set up an email campaign" On the third step (Template), paste your...

  1. Go to "Campaigns" --> "All Campaigns" --> "Create new" from the sidebar menu

  2. Follow the same steps as you would to "set up an email campaign"

  3. On the third step (Template), paste your XML-specific email template code

The [XML_FEED_BEGIN] tag accepts the following arguments:

  • url - The web address from which to fetch the feed items (Required)

  • count - The maximum number of items to retrieve from the feed (Optional)

  • offset - The number of items to skip before starting to collect feed items (Optional)

  • days-back - The number of days in the past to search for posts (Optional)

  • no-item-action - Specifies what to do if no items are found in the feed (Optional)- Valid value: "postpone-campaign" (delays the campaign until the next day)

  • send-only-unique-items - Determines whether to send only unique items from the feed (Optional)- Valid values: "yes" or "no"

  • If set to "yes" and no unique items are found, the "no-item-action" is applied

XML Tags

  • [XML_FEED_ITEM_TITLE] - Displays the title of the feed item (e.g., blog post title)

  • [XML_FEED_ITEM_DESCRIPTION] - Shows a brief summary or excerpt of the feed item

  • [XML_FEED_ITEM_CONTENT] - Presents the full content of the feed item

  • [XML_FEED_ITEM_IMAGE] - Inserts the main image associated with the feed item

  • [XML_FEED_ITEM_LINK] - Provides the URL or permalink to the original feed item

  • [XML_FEED_ITEM_PUBDATE] - Shows the publication date of the feed item

  • [XML_FEED_ITEM_GUID] - Displays the unique identifier (GUID) of the feed item

Example HTML email template code

<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html" /> <title>XML FEEDS</title> </head> <body> [XML_FEED_BEGIN url='https://www.bata.com/news/feed/' count='5' offset='0'] <table> <tr> <td> <a href="[XML_FEED_ITEM_1_LINK]"> <img src="[XML_FEED_ITEM_1_IMAGE]" width="100" height="100"/> </a> </td> <td> <strong>[XML_FEED_ITEM_1_TITLE]</strong><br /> <p>[XML_FEED_ITEM_1_DESCRIPTION]</p> </td> </tr> </table> [XML_FEED_END] </body> </html>

Recommendation

  • Test before sending - It's crucial to thoroughly test your XML feed campaign before sending it to your audience

  • Tag parsing - The system strictly interprets XML tags; even minor errors can cause issues

  • Content verification - Ensure that all feed content appears correctly in your email template

  • Error handling - If there's an error in XML syntax or tag usage, the system will: - Stop parsing the problematic tags

  • Display the raw, untransformed tags in the email

  • Common issues to check: - Correct spelling of XML tags

  • Proper nesting of tags

  • Accurate URL for the feed source

  • Compatibility of feed content with email format

Related articles

General7 min read

Domain Auth SPF, DKIM, DMARC, MX

Note: This guide only helps with email authentication for the emails (Eg. Email notifications) sent using OUR delivery server we configured for you. It DOES NOT apply if you are us...

Read article
General2 min read

Using Stripo email template builder

Step 1 Go to the 'Email templates' menu from the left and click on 'Create new'. Step 2 Once loaded, click on the 'Show email builder' link in the top right corner of the WYSIWYG e...

Read article
General3 min read

Email campaigns paused - 'pending-sending'

You ran out of your monthly allowance We enforce limits from the backend. Our system automatically disables once your customers have used up their sending allowance. The counter ca...

Read article

Copyright © 2025 - Jonah and Associates Pty Ltd