WordPress.org

Ready to get started?Download WordPress

Forums

location RSS auto-discovery URI? (6 posts)

  1. michaelarrington
    Member
    Posted 8 years ago #

    I am running wordpress 1.5 and using the Letterhead 1.0 theme. The site is http://www.techcrunch.com.

    I'd like to locate the autodiscovery RSS URI and change it to a feedburner feed. I've searched on this support site and have tried to figure this out but I'm just not a coder. Anyone know which file the RSS/Atom URIs are located?

    Thank you.

  2. James
    Happiness Engineer
    Posted 8 years ago #

    It should be in your theme's Header Template (usually header.php). Look for a few lines like this:

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

  3. michaelarrington
    Member
    Posted 8 years ago #

    Hi, thank you.

    I found all of that code and changed it to this:

    <link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/Techcrunch" />

    but the autodiscovery seems unchanged (I did remember to save the file, refresh, etc.). Any ideas?

    Also, where are these "rss_url"s mentioned in the old code (what you wrote above) located anyway?

  4. michaelarrington
    Member
    Posted 8 years ago #

    Just in case I am missing something, here is all of the code from header.php after I made the change (and there are still all of these random feeds showing up in autodiscover):

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    <link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/Techcrunch" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_get_archives('type=monthly&format=link'); ?>

    <?php wp_head(); ?>
    </head>
    <body>

    <div id="page">

    <div id="header">
    <h1>">
    <img src="/wp-content/techcrunchbigger.gif" />
    </h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>
    <img src="images/line.gif" width="433" height="1" alt="" />

  5. James
    Happiness Engineer
    Posted 8 years ago #

    The "rss_url" values are core WordPress functions and pretty much work as "Place the correct URL for the RSS feed (as it corresponds to the permalinks structure) here." It is perfectly safe to not use the "rss_url" values, but it is not safe to change the core functions of the values.

    If I use my feedreader (RSSOwl) to search http://www.techcrunch.com/ for RSS feeds, the only feed that it returns is: http://feeds.feedburner.com/Techcrunch So, it seems to be working properly.

  6. michaelarrington
    Member
    Posted 8 years ago #

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic