Support » Plugin: podPress » iTunes only picking up 5 items how to set it to pick up older podcasts?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ntm

    (@ntm)

    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).

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

    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.

    Plugin Author ntm

    (@ntm)

    @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

    Plugin Author ntm

    (@ntm)

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

    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?

    Plugin Author ntm

    (@ntm)

    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.

    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

    Thanks, filters work 100%

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘iTunes only picking up 5 items how to set it to pick up older podcasts?’ is closed to new replies.