Categories
Code

RSS Feed for Podcasts – WordPress Template

You can use your WordPress blog to publish podcasts on iTunes. Most podcasters use FeedBurner to add iTunes specific author information to podcast XML feed but if you prefer to skip FeedBurner, use these feed template.

Create a new page in your WordPress dashboard and give it a custom slug (say podcast). Now create a page-podcast.php file in your WordPress themes folder and copy-paste the following code. Remember to replace information in the highlighted lines.

The permalink of that WordPress Page will become the URL of your Podcast feed which you can now publish to the iTunes Podcasting directory. Here’s a sample Podcast XML feed generated using this RSS template.


/* RSS Feed for iTunes Podcast  */
/* Source: www.labnol.org       */

'; ?>
?>


    
        <? bloginfo_rss('name'); wp_title_rss(); ?>
        
        
        
        no
        
            amit@labnol.org
            Amit Agarwal
        
        Amit Agarwal 
        
        tech, computers, tutorials
        Get the most out of your tech.
        Podcast hosted by Amit Agarwal.
        
            
        
        Creative Commons License        
        25,'tag'=>'podcast')); ?>
        have_posts()) : $q->the_post(); ?>
            
                <? the_title() ?>
                
                
                    
                
                
                    
                
                
                    ]]>
                
                no
                
                
                Amit Agarwal
                computers, tech, tutorials