A client needed to import her RSS feed into a MailChimp campaign but the image wasn’t showing up. Here is how I finally got it to work.
MediaRSS
You first need to make sure the feed (yoursite.com/feed usually) is correctly bringing in the first image. I used a plugin called wpRichFeeds plugin removed, here is a new download link (view plugin author site) which adds the enclosure information to your feed in WordPress. This is basically plug-n-play.
MailChimp Code
Then with some creative MailChimp RSS merge tags I got it to work. This is what I used:
<a href="|RSSITEM:URL|"><img alt="" src="|RSSITEM:ENCLOSURE_URL|" width="300" height="200" /></a>\
I hope this will save some people the aggravation of trying to get MailChimp to automatically pull in blog post images from an RSS feed.
This post also helped me get to this point, RSS email: include post thumbnail image from WordPress RSS feed
Here are the MailChimp RSS merge codes for reference.
Please comment if this helps you out! Any tweaks?
Which would be exceptionally helpful information, except you have an xml parse error on your feed, so we can’t look at the results.
:)
This is great stuff! Works perfectly.
I do have a question related to this though. Do you know how to use the *|RSSITEM:CONTENT|* tag but show a longer amount of text? I’d like to show more text than the default, but less than *|RSSITEM:CONTENT_FULL|*
Thanks!
I don’t know off-hand but I would think there would be someway to control the excerpt length. I’ll let you know if I find anything.
Thanks a lot! Finally managed to get images working after reading this post.
This is excellent!!!! Quick question? Is there a way to integrate that functionality with Mailchimp’s post code: *|RSS:POSTS_HTML|*
The end result is an image beside each post text blurb.
What happened to the image? It’s broken, and it contains the information I need!
Sorry, I had a plugin that needed to be reenabled
hmmm…the image, please…
I have the same problem as Jeremy, the solution to the problem I have isn’t on the page anymore because the image isn’t showing!
The syntax plugin has been fixed, the text should be visible again.
Thanks so much for fixing this, I’ve been pulling my hair out for 2 weeks over this issue. MailChimp should really integrate your solution into their help section.
You’re welcome. Glad it helped!
Thanks Blake – the link to the plugin above doesn’t work, but I found out through the author site that you can download wpRichFeeds from here: http://williamscastillo.com/code/wp-content/uploads/wprichfeeds.zip
Thanks, I updated the post with the new link.
After hours of mucking about elsewhere, this worked like a hot damn. Awesome.
Much gratitude.
Thank you. I have been trying to figure this out for a couple hours.
Thanks !!! I love you
Thanks a ton man !! I was trying to figure out a solution for my mail chimp campaign and your suggestion worked.. :)
Awesome, worked like a charm!
sorry stupid question (WP newbie) where does the code go?