Embed XML(RSS) feeds into your campaign

twisted1919

Administrator
Staff member
Starting with MailWizz EMA 1.3 you can embed XML(RSS) feeds into you campaigns easily.
In order to take advantage of this feature, when you create a campaign, you will have to enable the feature.
Next, in the campaign template, you will have to add a set of tags that MailWizz EMA 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:

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, well, 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 exist 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.
 

Raoni

Member
Hi,

I looked this feature in MailWizz website......but just now after I setup everthing I found out there is no way to setup a campaing to send everyweek with the latest feeds from a XML (blog posts).
Is there any plan of adding this feature?
Thanks again.
 

Raoni

Member
Hi! That's nice!!!! Any estimate on release???
I just bought because of this feature...rsrsrsrsr......gonna have to wait for it!! :)
 

Raoni

Member
Owwwwww!!! You are my Hero!!! I would like to help financially as well! How could I send you some money?
Also, could you share what's the plan for this feature? like how is going to work? maybe I could share some knowledge and help. :)
I have been using many others Email Marketing solutions.
Thansk again!
 

twisted1919

Administrator
Staff member
This is pretty much done in the development version, together with recurring campaigns.
I have no ETA for release, it'll be release when i am done with all the items i have to do.
 

twisted1919

Administrator
Staff member
Hey,

As i said, all the above are done, but currently i am struggling with the drag and drop builder. Maybe after i am done with that i'll release a small version with the above features.

Thanks.
 

twisted1919

Administrator
Staff member
@SQLIK - What feature exactly ? The recurring campaigns feature together with the XML feed feature are work just fine for a while now.
Am i missing something here?
 
Top