WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] itunes podcast > new feed URL (6 posts)

  1. shai310
    Member
    Posted 5 years ago #

    Hello!

    very new to podcasting -- having a question:

    my young podcast was submitted to iTunes with the 'atom' feed, but now i rather like to uses the 'podcast' feed (from the podcasting plugin)

    to redirect i want modify the "feed file" with the <itunes:new-feed-url> tag, but have no idea what file exactly do i have to modify to make it happen.

    a redirect .htaccess is already made on my server (not sure if thats the recommended "301".. any idea?)

    thanks for helping

  2. toffifee
    Member
    Posted 5 years ago #

    Same problem here

  3. alanft
    Member
    Posted 5 years ago #

    http://www.apple.com/itunes/whatson/podcasts/specs.html#changing

    "You should set your web server to return an HTTP 301 response and redirect when receiving a request for the old feed. Doing so will cause both the iTunes Store and the most (but not all) iTunes clients that have subscribed to your podcast to pick up the new feed URL.

    The <itunes:new-feed-url> tag will work for iTS and all versions of the iTunes client that support podcasting. The 301 redirect will work for most of your subscribers who do not use the iTunes client. We recommend that you use both methods to update the greatest possible number of subscribers with your new feed URL."

    so the 301 will mostly do you ok.

  4. shai310
    Member
    Posted 5 years ago #

    the 301 worked for a while. when i pinged the podcast i got the right, actual feed which i redirected to. but it was not good enough for the itunes store. in some point my podcast was removed (!) with no farther explanations.

    after researching, somebody insisted; i HAVE to use the infamous <itunes:new-feed-url> tag, which up until today, nobody could tell me -- where is the feed which i have to modify, in wordpress. how does it look like / whats it's name / where do i find it. and i refer to the original atom feed, which i applied to the iTS with.

    i thank in advance for any help

  5. shai310
    Member
    Posted 5 years ago #

    problem solved!

    the file needs to be edited is wp-includes/feed-rss2.php

    follow this thread >> http://wordpress.org/support/topic/112452?replies=4

  6. alanft
    Member
    Posted 5 years ago #

    rather than edit a core WP file, a better solution would be to make use of the

    do_action('rss2_head')

    that that file uses. ie add this to your functions.php:

    add_action('rss2_head', 'redirect_my_podcast');
    function redirect_my_podcast()
    {	echo "<itunes:new-feed-url>http://feedburner.com/whatever</itunes:new-feed-url>\n";
    }

    this assumes that some other plugin is adding the adding the "xmlns:itunes=" bit in the namespace bit of the feed. If not, you also need

    add_action('rss2_ns', 'add_itunes_namespace_to_theme');
    function add_itunes_namespace_to_theme()
    {	echo 'xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"'."\n"; }

Topic Closed

This topic has been closed to new replies.

About this Topic