To use XML Modules you don't necessarily need to have an XML customized template, a module based template on your APSIS Pro account is enough. You can add a single XML Module, customized to get specific content from a specific feed to your newsletter. The content of the modules may then be edited just like regular modules.
In order to use an XML module you need:
When you order an XML Module, we need for you to send us a graphical sketch of that module (in the formats .psd or PDF). We then set up an example XML feed using the syntax required. This example shows you how your XML feed needs to be created so that the population of data, from the feed to the module will work properly. The URL to the XML feed is then specified and stored on your APSIS Pro account, making the communication between the XML feed and APSIS Pro possible. This way, the XML module will always know where to search for content every time you add the module to a newsletter.
Below is an overview of the different steps of ordering an XML Module from APSIS.
XML Modules can and are being used by our customers in different ways. Below you will find some generic examples of the most common user scenarios to give you an idea if this is a solution that would work for you.
To copy the code, highlight the code and press ctrl + C on PC or cmd + C on Mac
Important! Please note that this is only an example. When your module is built, a static demo feed with correct parameters will be built for you to follow.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Products>
<Product>
<Headline1>
<![CDATA[Dolorem sit]]>
</Headline1>
<Bodytext1>
<![CDATA[Lorem ipsum dolorem]]>
</Bodytext1>
<Price1>
<![CDATA[999:-]]>
</Price1>
<Headline2>
<![CDATA[Dolorem sit]]>
</Headline2>
<Bodytext2>
<![CDATA[Lorem ipsum dolorem]]>
</Bodytext2>
<Price2>
<![CDATA[999:-]]>
</Price2>
</Product>
</Products>
<table style="width:600px;" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="width:290px; font:14px/1.4 Arial, Helvetica, sans-serif; color:#303030;" class="db" valign="top" align="left">
<div style="font:23px/1.1 Arial, Helvetica, sans-serif; padding-bottom:10px; border-width:0;" class="headline">
<anpp style="">##XML_Headline1##</anpp>
</div>
<div style="padding:0 0 10px; border-width:0;" class="bodytext">
<anpp style="">##XML_Bodytext1##</anpp>
</div>
<div align="right" class="price">
<anpp style="">##XML_Price1##</anpp>
</div>
</td>
<td class="db" style="height:20px; width:25px;">‌</td>
<td style="width:290px; font:14px/1.4 Arial, Helvetica, sans-serif; color:#303030;" class="db" valign="top" align="left">
<div style="font:23px/1.1 Arial, Helvetica, sans-serif; padding-bottom:10px; border-width:0;" class="headline">
<anpp style="">##XML_Headline2##</anpp>
</div>
<div style="padding:0 0 10px; border-width:0;" class="bodytext">
<anpp style="">##XML_Bodytext2##</anpp>
</div>
<div align="right" class="price">
<anpp style="">##XML_Price2##</anpp>
</div>
</td>
</tr>
</table>
Follow below guides to see how to use an XML Module.
This product is very similar to the product XML Module and therefore this section will only describe the things that differ. We highly recommend you to first read about XML Modules before going deeper into this one.
In order to use an XML Module with ID you need:
Instead of retrieving all of the posts found in an XML feed this products makes it possible to get data by dynamic parameters instead. Please note that this is not something Apsis will do or support, this is something you set up yourself.
The XML Module with ID works similar to the product XML Module, the difference that you in the Apsis Pro user interface are enabled to specify one or more IDs. This string of IDs will replace a part of the XML feed URLand thus enable you to fetch data based on the parameters provided. See example of a link below.
http://www.company.com/feed?id=##ID##
The parameter called "##ID##" will be replaced by the inserted ID.
If multiple IDs should be inserted they must be separated by some kind of delimiter (preferably commas).
XML Modules with ID can and are being used by our customers in different ways. Below you will find some generic examples of the most common user scenarios to give you an idea if this is a solution that would work for you.
Follow below guides to see how to use an XML Module with ID.
An XML Newsletter is a newsletter template, but where its content is generated by an XML feed in a pre-defined layout of modules. After generation it can be edited just like a regular newsletter.
In order to create a newsletter with an XML Newsletter you need:
When you order an XML Newsletter, we build an static demo feed of an XML feed for the template based on the sketch we've got from you. This demo feed will show how your XML feed should be created so that the import of the feed to the newsletter template will work properly. With the help from this example you then create your own XML feed. The URL to the XML feed is then specified and stored on your APSIS Pro account, making the communication between the XML feed and APSIS Pro possible. This way, the XML Newsletter will always know where to search for content and how it should be placed, each time you create a new draft with your XML Newsletter.
Below is an overview of the different steps of ordering an XML Newsletter Template from APSIS.
XML Newsletters can and are being used by our customers in a wide range of different ways. Below you will find some generic examples of the most common user scenarios to give you an idea if this is a solution that would work for you.
Here is a breakdown of attributes that can be found in the XML feed. Make adjustments when necessary.
Name | Description | Values | Required |
---|---|---|---|
name | Internal name of the newsletter draft on your account | e.g. "My first newsletter" | Yes |
subject | Subject shown in the email client of the receiver | e.g. "Summer sale!" | Yes |
templatename | Name of the template you want to use on your account. Case sensitive! | e.g. "[1612] Newsletter" | Yes |
id | This attribute must be placed on the ANPPLACEHOLDER and defines which position the modules in this group should be placed. | e.g. "0" | Yes |
moduleID | This attribute must be placed on the ANPMODULEBLOCK and must contain the specific ID for the module that should be used. The ID can be found for each individual module on your account. These IDs are written in the demo feed built by APSIS. | e.g. "12345" | Yes |
paramtag | This attribute must be placed on the BLOCKITEM inside a ANPMODULEBLOCK. It decides which parameter in the module it should replace with data found in the XML feed. These parameters are defined by APSIS when building the template. | e.g. "@@BodyText1@@" | Yes |
filterName | Attribute can be placed on a ANPMODULEBLOCK and defines which filter to be used for that specific module. If attribute instead is placed on ANPNEWSLETTER the whole newsletter sending will get a filter. |
Case sensitive filtername, e.g. "Stockholm" | No |
usemainfilter | If value is set to true, recipients that don't match any of the module filters will be filtered out. The mainfilter will however only work if at least one ANPMODULEBLOCK have a filter. | true / false | No |
tracking | Defines which tracking that should be used. Only used for XML Automation |
all / no | No |
sendnow | Only used for XML Automation | true / false | No |
mailinglist | The name of the mailinglist Only used for XML Automation |
e.g. "Weekly sendouts" | No |
fromemail | Which email should this newsletter be sent from? Only used for XML Automation |
e.g. "email@email.com" | No |
fromname | Which name should this newsletter be sent from? Only used for XML Automation |
e.g. "Company" | No |
To copy the code, highlight the code and press ctrl + C on PC or cmd + C on Mac
Important! Please note that this is only an example. When your template is built a static demo feed with correct parameters and module IDs will be built for you to follow.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<ANPNEWSLETTER mailinglist="APSIS Test" name="[1612] XML Demo Template" subject="APSIS XML Newsletter" templatename="[1612] XML Demo Template" tracking="all" sendnow="false" fromemail="test@apsis.se" fromname="APSIS" usemainfilter="false">
<ANPPLACEHOLDER id="0">
<ANPMODULEBLOCK moduleID="43209" filterName=""> <!-- Module: Preheader -->
<BLOCKITEM paramtag="@@PreheaderText@@"><![CDATA[Preheader]]></BLOCKITEM>
</ANPMODULEBLOCK>
</ANPPLACEHOLDER>
<ANPPLACEHOLDER id="1">
<ANPMODULEBLOCK moduleID="43204" filterName=""> <!-- Module: Header -->
<BLOCKITEM paramtag="@@HeaderURL@@"><![CDATA[http://i.anpwidget.com/img/600/150]]></BLOCKITEM>
</ANPMODULEBLOCK>
</ANPPLACEHOLDER>
<ANPPLACEHOLDER id="2">
<ANPMODULEBLOCK moduleID="43201" filterName=""> <!-- Module: 1 text column -->
<BLOCKITEM paramtag="@@Title1@@"><![CDATA[Lorem ipsum]]></BLOCKITEM>
<BLOCKITEM paramtag="@@BodyText1@@">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</BLOCKITEM>
<BLOCKITEM paramtag="@@LinkText1@@"><![CDATA[Click here]]></BLOCKITEM>
<BLOCKITEM paramtag="@@Link1@@"><![CDATA[http://www.apsis.com]]></BLOCKITEM>
</ANPMODULEBLOCK>
</ANPPLACEHOLDER>
</ANPNEWSLETTER>
</root>
Follow below guides to create a newsletter with an XML Newsletter template.
XML automation's is an add-on intended for APSIS Pro users that have XML Newsletter templates on their accounts and want to have their XML Newsletters automatically created and sent on a regular basis.
By setting up an XML automation project, APSIS Pro will automatically fetch and build newsletters based on the information and content from the XML feed and send them out regularly according to your XML automation project settings. You will not have to manually create and send out your XML Newsletters every time it’s time to make new send outs.
Please contact your APSIS contact if you want to order an XML customized template, or if you want to activate the XML automation's add-on on your account. If you don’t know who your APSIS representative is, please contact APSIS support at support@apsis.com.
In order to use the XML automation's add-on you need:
Follow below guide to create an XML automation project.
Monthly frequency
Build and send a new XML Newsletter on a monthly basis. Select the monthly frequency (every month, every other month etc.) and if the XML Newsletter should be built and sent on a specific date or a relative date (the first, second, third fourth or last: Monday, Tuesday, Wednesday, Thursday, Friday, Day, Weekday or Holiday). Then select at what hour of the day the XML Newsletter should be built and sent.
Weekly frequency
Build and send a new XML Newsletter on a weekly basis. Select the weekly frequency (every week, every other week etc.) and on which specific weekday the XML Newsletter should be built and sent. Then select at what hour of the day the XML Newsletter should be built and sent.
Daily frequency
Build and send a new XML Newsletter on a daily basis. Select the daily frequency (every day, every other day etc.). Then select at what hour of the day the XML Newsletter should be built and sent.