Hi,
I am new here, My motive here is to create email campaign using XML API from my another site.
I will be creating newsletter with it.
I have seen RSS XML to Email campaign in Mailchimp, But does constantcontact provide such a feature to
create email campaign using XML API URL?
Example
My url will be
http://mysite.com/api/call.php
Which will give me info in tags , Like
<product_title>
<image_url_1>
<product_price>
Etc , Please suggest
Hey Scott,
You can do that but it would require the programming to be done on your side and converted to HTML before passed into our API. All the HTML also needs to be encoded.
Please let me know if you have any other questions.
Hey
Thanks for swift reply.
Ok so no way to parse xml api to email template as tags on your end!
Can you suggest me how could i encode my html page ?
That may be useful for me !
Thanks alot again.
Hey Scott,
It all depends on which programming language your using. You could replace all characters with < to < and > to >. There are special methods in various languages like java, c# and php to do that part for you.
Hi , i am using PHP .
Hey Scott,
The method to do that with php is very easy to use.
htmlspecialchars($string_with_html);
You can read more about it here.