7. RSS / XML Feeds Inserted in a Campaign
You can embed XML(RSS) feeds into your campaigns very easily.
In order to take advantage of this feature, when you create a campaign, you will have to “Enable XML” in Campaign Setup.
Next, in the campaign template you will need to add the Basic XML / RSS Template 1 from the Template Gallery, then you will have to add a set of tags that the system will recognize and transform into the actual content of the feed.
Here is a brief example of what you will have to add inside your campaign template to make use of this feature, obviously modifying it to point to the appropriate URL:HTML:<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html" /> <title>XML FEEDS</title> </head> <body> [XML_FEED_BEGIN url='http://www.bata.com/news/feed/' count='5'] <table> <tr> <td> <a href="[XML_FEED_ITEM_LINK]"> <img src="[XML_FEED_ITEM_IMAGE]" width="100" height="100"/> </a> </td> <td> <strong>[XML_FEED_ITEM_TITLE]</strong><br /> <p>[XML_FEED_ITEM_DESCRIPTION]</p> </td> </tr> </table> [XML_FEED_END] </body> </html>
The [XML_FEED_BEGIN] tag accepts two arguments, url and count. The url is the url of the feed and the count is the number of items you want to receive back from the feed.
Below is a list with all the tags accepted for XML feeds:
[XML_FEED_ITEM_TITLE] – The item title (the title of a post for example)
[XML_FEED_ITEM_DESCRIPTION] – Short item description
[XML_FEED_ITEM_CONTENT] – Item content
[XML_FEED_ITEM_IMAGE] – The image of the item
[XML_FEED_ITEM_LINK] – The url/permalink to the item
[XML_FEED_ITEM_PUBDATE] – Item publish date
[XML_FEED_ITEM_GUID] – Item guid.
All the above tags will work if the feed is valid and the content they try to replace exists in the feed.
You should test your feed campaign before sending, to make sure the tags are parsed and the content is fine because the parsing is strict, any minor error will stop parsing the tags and render them without transformation.
We are adding the 29th Sept Webinar Video here as it dealt with inserting RSS Feeds.
Was this answer helpful?
Using any of the SendReach Templates from the “Template Gallery” automatically inserts the...
Opens and Clicks are recorded in the Stats, but in the case of Clicks does not give you the...
There are times when an Email is "Bounced" back by the recieving Email Server. This can happen...
Templates create a structure within a Campaign ready for you to populate with content be that...
There are occasions when the parameters on which you need to segment a List are such that...
Powered by WHMCompleteSolution