Does RSSFeed support Media RSS? I'd like to include mp3's of a radio show in the feed.
I tried:
// RSS
function init() {
RSSFeed::linkToFeed($this->Link() . "rss");
parent::init();
}
function rss() {
$rss = new RSSFeed($this->LatestUpdates(), $this->Link(), "Pet World", "", "Title", "Content", "AudioFile");
$rss->outputToBrowser();
}
function LatestUpdates() {
// 5 is the number of items listed
return DataObject::get("AudioPetWorldPage", "", "Created Desc", "", 5);
}
Everything works except the audio file.
Thanks