The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Inject RSS into the email via API?

Highlighted
Occasional Participant

Inject RSS into the email via API?

I'm wondering if under 1 campaign, we can embedd an RSS feed as the content?  You see, each email will have highly personalized and dynamic content (based on our website), so each consumer gets a specific email w/ just their specific content.  

 

Ideally we create an email from an RSS feed all under 1 campaign, however in ConstantContact it looks like we have to create a separate list/campaign per user and would lose out on aggregate reporting.

 

Has anyone done this or have any solutions we could work on?

Jorge

2 REPLIES 2
Highlighted
Employee

Re: Inject RSS into the email via API?

Hey Jorge,

 

i suppose you could do this but you would have to have something developed using our API in order for it to automate.  What you want to do is have a request to gather the XML from the feed.  Parse it and place it into a String.  Take that string and pass it into a POST statement to create a new campaign where the <EmailContent> node would have the string of your RSS feed. ( You would need to have a nested table / div to hold your content ). 

 

Please let me know if this helps. 

Ryan Davis
Quality Engineer
Highlighted
Moderator

Re: Inject RSS into the email via API?

Ryan's suggestion is how you could turn the content of an RSS feed into a single static email going out to your List(s).  If you are looking to do dynamic content for each Contact, which I believe from our phone conversation earlier today is what you're looking to do, we do not have any option for supporting this much dynamic content at this time.  You would have to use either multiple campaigns to lists of a single Contact or reduce the amount of dynamic content to a few links and text fields.  The first option is actually not recommended as the account lists and reporting data will become virtually useless for you once you get too many emails/lists.

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured