Hi, we are required to make our site live tomorrow morning and are having some last minute troubles getting our podcast feed to function.
I had the following code running on a test server, before switching over to the actual domain, but it now seems to be broken and all things point to the feed enclosures plugin.
{exp:rss:feed weblog="podcast"}
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<ttl>60</ttl>
<title>mydomain.co.uk podcast</title>
<link>http://mydomain.co.uk</link>
<language>en</language>
<copyright>copyright mydomain.co.uk</copyright>
<itunes:subtitle>Podcast from mydomain.co.uk</itunes:subtitle>
<itunes:author>mydomain.co.uk</itunes:author>
<itunes:summary>Regular podcast.</itunes:summary>
<description>Regular podcast.</description>
<itunes:owner>
<itunes:name>Some Name</itunes:name>
<itunes:email>[email protected]</itunes:email>
</itunes:owner>
<itunes:image href="{homepage}templates/blog/images/podcast.jpg" >
<itunes:category text="Religion & Spirituality">
<itunes:category text="Christianity" >
</itunes:category>
{exp:weblog:entries weblog="podcast"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<itunes:author>mydomain.co.uk</itunes:author>
<itunes:subtitle>{exp:xml_encode}{podcast-description}{/exp:xml_encode}</itunes:subtitle>
<itunes:summary>{exp:xml_encode}{podcast-description}{/exp:xml_encode}</itunes:summary>
{if podcast-file}{exp:feed_enclosures}<a href="http://mydomain.co.uk/media/podcast/{podcast-file}rel=enclosure">{podcast-file}</a>{/exp:feed_enclosures} {/if}
<guid>{comment_url_title_auto_path}</guid>
{gmt_entry_date format="%r"}</pubDate>
<itunes:duration>{podcast-length}</itunes:duration>
<itunes:keywords>schools, education, christian, church, assembly, lesson, student, pupil, RE</itunes:keywords>
</item>
{/exp:weblog:entries}
</channel>
</rss>
{/exp:rss:feed}The test server which had the above code working was running php 5, but the current server is running php 4.47, not sure if that could be the problem or not.
Along with the above code, i’ve tried even the most simple use of the feed enclosure plugin but cannot get it to work, in all cases where the enclosure tag should be, it instead is returned as nothing, just blank.
I’m wondering if maybe this has to do with filetypes allowed? Could it be the server does not process m4a and mp3 files properly? Not sure if this would stop the feed enclosure plugin from working or not.
Any insight or help would be extremely appreciated! The unfortunate part of all this, is we need to launch the site by tomorrow morning, eek!
ExpressionEngine 1.6.0 - Build: 20070918
Feed Enclosures (v.1.0.2)
Thank You!
David