Seriously Simple Podcasting
Subtitle Too Long (6 posts)

  1. colinmcgray
    Posted 1 year ago #

    Hi Hugh,

    Slightly strange one here - I have a Podcasting site within my multisite that is experiencing an iTunes Subtitle error. I had assumed all subtitles for each episode were copied from the main Podcast Subtitle field, but having looked into a few it seems it's copying the subtitle from the body text of the Podcast post.

    This seems fine for most, but I have one post which is going over length, as you can see here: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.thepodcasthost.com%2Fscottnash%2F%3Ffeed%3Dpodcast

    How are the iTunes subtitles supposed to work? Your help would be much appreciated,


  2. briandunaway
    Posted 1 year ago #

    Any luck with this Colin?

    I have been experiencing the same problem.

  3. colinmcgray
    Posted 1 year ago #

    No, sorry, still having the same problem!

    Surprised Hugh hasn't got back.. he's usually pretty prompt.

  4. briandunaway
    Posted 1 year ago #

    I got some help from a friend using add_filter but I haven't gotten the complete solutions yet. Also, I don't like messing with functions if I can help it. Cause I'll forget what I did and update something and it will break. :)

    What I have so far -

    add_filter( 'the_title', function(){
    if( is_feed() && 255 <= strlen( $title ) ) {
    $title = substr( $title, 0, 252 ) . '...';
    return $title;
    } );

  5. briandunaway
    Posted 1 year ago #

    Yeah. Ignore all that jazz I posted. That is only good for the titles. I do not see a way to add_filter to <itunes:subtitle> which is what we are wanting to shorten.

  6. briandunaway
    Posted 1 year ago #

    I think Hugh is busy doing some cool stuff:


    also, I was able to ugly fix my problem.

    I changed Line 288 in wp-content/plugins/seriously-simple-podcasting/templates/feed-podcast.php

    From This:
    <itunes:subtitle><?php echo $itunes_excerpt; ?></itunes:subtitle>

    To This:
    <itunes:subtitle><?php echo $subtitle; ?></itunes:subtitle>

    Not sure what else this may break. But it worked for my case. For now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Seriously Simple Podcasting
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic