Uggh. Must be something stupid, everything but the mp3 renders in the resulting XML.
{exp:weblog:entries weblog="{master_weblog_name}" rdf="off" dynamic_start="on" category="7" disable="member_data|trackbacks"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<link>{title_permalink=site/comments}</link>
<guid>{title_permalink=site/comments}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
<description>{exp:xml_encode}{exp:html_strip}{podcast_summary}{/exp:html_strip}{/exp:xml_encode}</description>
<dc:subject>{exp:xml_encode}{title}{/exp:xml_encode}</dc:subject>
{exp:feed_enclosures type="rss"}{podcast_file}{/exp:feed_enclosures}
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
</item>
{/exp:weblog:entries}
<item>
<title>Podcast Extra: Madonna’s New Album</title>
<link>http://www.mysite.com/index.php/site/comments/podcast_music_review/</link>
<guid>http://www.mysite.com/index.php/site/comments/podcast_music_review/#When:00:18:00Z</guid>
<description>Lorem ipsum dolor sit</description>
<dc:subject>Podcast Extra: Madonna’s New Album</dc:subject>
<dc:date>2008-04-29T00:18:00+00:00</dc:date>
</item>
See that big blank space between subject and date? What am I missing?
The custom field value is ‘https://ellislab.com/asset/images/ent-partner-logo/080429_Hard_Candy_Madonna.mp3’
ExpressionEngine 1.6.3 - 20080319
I can’t remember if this happens in RSS feeds, but maybe EE is turning the URL into a link. Is the setting “Automatically turn URLs and email addresses into links?” turned off for this weblog?
You find the setting under CP Home > Admin > Weblog Administration > Weblog Management > Edit Preferences
Oh, and the URL does link to an existing file right?
I think you need to add parse_list to the feed_enclosures tag, e.g.
{exp:feed_enclosures type="rss" parse_list="y"}
From the instructions:
parse_list - (y/n) If set to ‘y’, it will only look for a list of URLs separated by commas or line breaks and will not parse out links. If set to ‘n’ (default), it will look through tag’s data looking for all links using the rel=”enclosure” attribute.
As the default is “n”, you need to set to “y” as you’re giving it an MP3 link.
When set to “n”, the plugin looks through a chunk of text… e.g.
The quick brown fox jumped.
Whereas with “y” it’s looking for standalone URLs, even just 1 in a list.
I’m no expert, but that looks like a server configuration that doesn’t fit with feed_enclosures.
Yep, looking through the forums found this thread: problem with enclosures in rss feeds
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.