WordPress.org

Ready to get started?Download WordPress

Forums

Gave iTunes the wrong feed - now what? (4 posts)

  1. mbritt
    Member
    Posted 7 years ago #

    I just started my podcast about two months ago and I couldn't figure out why I couldn't find the podcast on iTunes when I searched under one of the search terms I created when I burned the feed at feedburner. Now I know why: I gave itunes the source feed from the blog and not the feed that feedBurner created.

    What do I do now? My podcast shows up in iTunes, but because there are no search tags, it's really, really hard to find.

    I checked the tech specs page at Apple and it says that I need to insert a <itunes:new-feed-url> tag into the feed and "set up a set your web server to return an HTTP 301 response and redirect when receiving a request for the old feed." Whoa. How do I do this?

    I read elsewhere on this support forum that you can't edit your feed. Now I'm really confused.

    Help!

    Michael

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Adding the itunes:new-feed-url bit is as easy as editing your wp-rss2.php file. Just open it up in a text editor and add the following to it, right after the <channel>:
    <itunes:new-feed-url>http://feedburner.com/whatever</itunes:new-feed-url>

    Just that simple. Next time the iTunes store checks your feed, it'll switch to your feedburner one.

    The purpose of the 301 is to make anybody who has already subscribed to your feed look at the new location. The Feedburner WordPress plugin actually sends a 307, which is a temporary redirect. A 301 is a "permanent" redirect, which tells clients to change their saved links. You can either use the feedburner plugin and edit it to have "301 Permanent Redirect" instead of "307 Temporary Redirect", or you can make some specific changes to your .htaccess file. Either way.

  3. mbritt
    Member
    Posted 7 years ago #

    I tried what you have above and I learned that you also have to insert this line into the wp-rss2.php file:

    xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"

    I inserted this line and now the feed won't validate at all. Here's where I put the line above:

    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"

    >

    I'm getting a "duplicate attribute" error which I think is due to the fact that version = "2.0" appears twice. However, when I delete either one, the itunes tags aren't recognized and the feed won't validate. Please help!!

    Michael

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Removing one is the correct thing to do. It should look like this in your code:

    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
    <?php do_action('rss2_ns'); ?>
    >

    If it still doesn't like it, try this (same thing, different case):
    http://www.itunes.com/DTDs/Podcast-1.0.dtd.

Topic Closed

This topic has been closed to new replies.

About this Topic