62°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Seriously Simple Podcasting: Including all Episodes in the Podcast RSS Feed

    July 24, 2017

    Seriously Simple Podcasting is a great Wordpress plugin for hosting your own podcast. However, the number of episodes it includes in the RSS feed is tied to the number of items you include in all your other RSS feeds as well. 

    If you want your podcast listeners to be able to find old episodes, you'll need to make sure that all your podcasts appear in the feed all the time, since some clients like iTunes will treat your RSS feed as authoritative, and delete episodes from their directory when they disappear from the feed.

    This podcast has almost 30 episodes, not just 10!

    Tonight I took a plunge into the WordPress plugin to see why it was only including the last 10 posts. It turns out the plugin will actually show the number of posts of all your other RSS feeds, and also provides a hook to override that. Why they don't expose that in the interface I don't know.

    So, rather than making all your RSS feeds show all of your posts (which will slow down your site and use a lot more of your server's bandwidth), I wrote a plugin that overrides the default setting!

    Download this plugin to your plugins folder, and enable it in the WordPress panel! You can download the zip linked below, or just copy and paste this super tiny amount of code into a file in your plugins folder.

    Download Zip
    <?php
    /*
    Plugin Name: Include All Podcast Episodes in RSS Feed
    Plugin URI: https://aaronparecki.com/ssp-include-all-episodes-in-rss-feed
    Description: This plugin enables displaying all podcast episodes in the Seriously Simple Podcast feed
    Version: 1.0
    Author: Aaron Parecki
    Author URI: https://aaronparecki.com
    License: CC0
    */
    
    add_filter('ssp_feed_number_of_posts', 'ssp_modify_number_of_posts_in_feed');
    
    function ssp_modify_number_of_posts_in_feed( $n ) {
      return 10000;
    }
    

    Note that after you install the plugin, you'll have to change something about your podcast (upload a new episode, change the description of an episode, whatever) in order to get the plugin to regenerate the RSS feed since it seems to cache it.

    Portland, Oregon
    anomalily.net
    Mon, Jul 24, 2017 8:42pm -07:00 #wordpress #podcast
    2 likes
    • eli
    • Srikanth Perinkulam
Posted in /articles using quill.p3k.io

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv