Hey guys,
I’m trying to use a file field variable pair in similar fashion to get some file info into a podcast feed and having no luck…
(condensed template code below…)
<?xml version="1.0" encoding="UTF-8"?>
{exp:channel:entries channel="podcasts" limit="1"}
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>{title}</title>
{reverse_related_entries orderby="date"}
<item>
{audio_file}{file_name}<enclosure url="{url}" length="{file_size}" type="{mime_type}" >{/audio_file}
</item>
{/reverse_related_entries}
</channel>
{/exp:channel:entries}
</rss>
At work is a channel for podcasts and a channel for episodes that are related back to the podcast.
The audio_file pair returns the following:
<enclosure url="" length="{file_size}" type="{mime_type}" >
Everything else inside the reverse related entries works as expected.
The site is on 2.3.1, but I didn’t notice anything in the change log that would suggest this was a bug that was fixed in 2.4.
Thoughts?