Support » Plugins » HARD PROBLEM: Mailchimp RSS Formatting

  • Okay…. Complicated question for an RSS expert…

    So, I’ve got a daily Mailchimp newsletter that send the latest headlines from my blog out via email. It took me a really long time to figure out how to format my RSS feed in a way that would include things like an image in every post. It’s awesome.

    One thing that’s still driving me nuts – how to link the author’s name to their author page on my site.

    In my current RSS there I have this in every <item>

    <dc:creator><?php the_author() ?></dc:creator>

    This pulls the name or the Author (obviously) which mailchimp seems to understand using the shortcode “*|RSSITEM:AUTHOR|*”

    Trouble is, if i hack my RSS to look like this:

    <dc:creator><?php $author_url = get_the_author_url(); if( $author_url == '' ) the_author_posts_link(); else the_author_link(); ?></dc:creator>

    Then I get a nice HTML url in the RSS, but Mailchimp’s merge tags seem to strip the HTML and I still just get the author’s name.

    Anyone know a clever way around this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HARD PROBLEM: Mailchimp RSS Formatting’ is closed to new replies.