Is there a way to exclude enclosure tag of type="audio/mpeg"

Issue #34 new
Former user created an issue

I now have a podcast in some of my posts, which results in two enclosure tags being included in my post's RSS feed. Is there a way to exclude one of the enclosure tags, specifically the one related to the type="audio/mpeg" enclosure? Thank you.

Comments (2)

  1. Ladislav Soukup repo owner

    can you please send me link to your RSS feed? Also, haw are you adding the media file to post? Are you using any plugin for that?

  2. Brian Haskin

    Yes, the feed is here: http://dailyalts.com/feed/

    I am embedding the media file using the PowerPress by Blubrry plugin for podcasts using their smart tag. So the media file shows up in the actual body of the post. For example, see this post: http://dailyalts.com/equity-research-with-matthew-rossi-of-marketdna/

    In the following link, you can see where the two enclosures are appearing (lines 131 and 132): http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fdailyalts.com%2Ffeed%2F#l132

    The issue for me arrises when MailChimp runs my RSS to E-mail newsletter and it pulls the Enclosure for the post, and it ends up being the audio file instead of an image file since the audio file shows up first. Thus, no image appears in my e-mail newsletter for any post that includes the audio file (see the second article in this link where no image is appearing: http://us5.campaign-archive2.com/?u=35910cb83fe2ce893afea955a&id=4ce8747b8d).

    Thank you. Brian

  3. Log in to comment