WordPress.org

Ready to get started?Download WordPress

Forums

podPress
[resolved] iTunes only picking up 5 items how to set it to pick up older podcasts? (10 posts)

  1. MCM
    Member
    Posted 1 year ago #

    Managed to submit my podcasts using RSS feeds to iTunes.

    However, it only shows users the last 5 episodes I have tested it myself.

    How do I set this SPECIFIC RSS feed to show ALL my posts?

    http://wordpress.org/extend/plugins/podpress/

  2. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    How do I set this SPECIFIC RSS feed to show ALL my posts?

    It is only possible to increase the number of posts in a posts feed for all feeds at once.

    Go to the Settings > Reading screen (see http://codex.wordpress.org/Settings_Reading_Screen) and increase the value Syndication feeds show the most recent ... posts.

    Note: There are maybe other circumstances which may limit the amount of posts in a RSS feed (e.g. file type or category filter settings).

  3. MCM
    Member
    Posted 1 year ago #

    Is there no way to override this for a SPECIFIC custom post type?

  4. AdamC6
    Member
    Posted 1 year ago #

    Aloha Podpress. I having issues as well with the url validation and read a ton of the feeds here and can't figure it out. Here's the feed url that podpress generated when I first activated it and went through some settings.

    http://socialstrategizer.com/feed/podcast.

    After several hours of attempting, I just need some help as when submitting to itunes store the feed is invalid and that makes senses cus its a 404 error page. I tried creating a blog post and then attaching a media file using the podpress setting on the post. The url is still 404 when validating though. Another thing you may need to know is when I first installed it, I added the widget to the footer. I clicked on it and it took me to the url above and put a blank feed in my itunes. Not sure if thats the issue. I have my post and page permalinks titles set to custom %postname%. I would love some help getting this going! Thank you so much.

  5. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    @nathmie:

    There is of course a way to adjust the limit for the amount of posts in a certain feed. I will add such an option to the settings of podPress Feeds in the next podPress upgrade.
    But for now you may use this code snippet:

    add_filter( 'post_limits', 'podcast_post_limits' );
    function podcast_post_limits( $limit ) {
    	global $wp_query;
    	if ( TRUE === $wp_query->is_feed AND 'podcast' === $wp_query->query_vars['feed'] ) {
    		return 'LIMIT 0, 50';
    	}
    	return $limit;
    }

    (It is based on this example.)

    This code influences the WP db request and 'LIMIT 0, 50' means that the feed will contain max. 50 posts. You may alter this number.
    This code is influences only the feed with the slug name podcast. If your feed has a different slug name then you need to change that in the line

    if ( TRUE === $wp_query->is_feed AND 'podcast' === $wp_query->query_vars['feed'] ) {

    Put this code snippet into the functions.php of your theme.

    @AdamC6: The issue with the podcast feed in your blog is very different from the one discussed in this thread. The feed is invalid / not working because it does not contain posts. In such a situation you get a 404 error too. You may look into source code too: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fsocialstrategizer.com%2Ffeed%2Fpodcast .
    But this particular feed will be valid once you attach a media file with podPress to a post and publish the post. (This feed will contain only posts with podPress attachment by default.) If you have further questions, please open a new thread.

    Tim

  6. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    @nathmie: (the option is now part of the Development Version and is going to be one of the new features of the upcoming version)

  7. MCM
    Member
    Posted 1 year ago #

    Thanks for the response.

    1. I am using a custom post types feed that I submitted to iTunes and it works.

    e.g.

    http://www.MYWEBSITE.co.za/feed/?post_type=videos

    i.e. custom post type = videos

    As mentioned it only shows x amount of videos based on syndication value in read settings.

    How do I modify your code to ensure that say 50 videos is "fetched" by iTunes?

  8. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Aha okay. You would like to influence a custom post type feed.

    In that case the code is a little bit different:

    add_filter( 'post_limits', 'podcast_post_limits' );
    function podcast_post_limits( $limit ) {
    	global $wp_query;
    	if ( TRUE === $wp_query->is_feed AND 'feed' === $wp_query->query_vars['feed'] AND 'insert_the_slug_of_the_post_type_here' === $wp_query->query_vars['post_type'] ) {
    		return 'LIMIT 0, 50';
    	}
    	return $limit;
    }

    You need to adjust the slug name of the post type. If the post ytpe has the slug name videos then replace insert_the_slug_of_the_post_type_here with this term.

  9. AdamC6
    Member
    Posted 1 year ago #

    Thank you ntm (Plugin Author)...! I have done what you said.

    Here's the link to the post: http://socialstrategizer.com/content-syndication-marketing-rant/

    My Feed says it's this: http://socialstrategizer.com/feed/podcast/

    But when I go to it, theres a crazy long error page with a bunch of code I don't understand. I'm new here and don't understand where to open a new thread. I will do so next, just need a heads up on how. Thanks so much for all your help!

    Aloha,
    Adam

  10. MCM
    Member
    Posted 1 year ago #

    Thanks, filters work 100%

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.