Podcast XML Feed Example
<?php
/**
* Podcasts Feed Test
*/
add_action('init', 'fcc_norad_do_podcasts_feed');
function fcc_norad_do_podcasts_feed(){
global $wp_rewrite;
$wp_rewrite->flush_rules();
add_feed('podcasts', 'add_podcasts_feed');
}
function add_podcasts_feed(){
//load_template( NORADIO__PLUGIN_PATH . 'includes/templates/podcasts-feed.php' );
header("Content-type: text/xml");
echo "\n";
echo "\n";
echo '<channel>I am the Podcasts Feed Template File</channel>';
}