WordPress Admin Dashboard - Technorati or Google Blogsearch?

On the right side of your WordPress admin dashboard you can see your incoming links. Until recently the data was fetched from Technorati.

This changed in WordPress 2.3. Now the data is fetched from Google Blogsearch.

While I think that 2.3 is a big step forward, I prefer Technorati as the source for my incoming links. So I changed it.

If you want to do the same, you can download the changed index-extra.php (zip) or get your hands dirty - it’s pretty easy.

Open the index-extra.php file from your wp-admin directory in an editor. Replace this part of the 2.3-version

case 'incominglinks' :
$rss_feed = apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?hl=en&scoring=d&ie=utf-8&num=10&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );
$more_link = apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?hl=en&scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );
$rss = @fetch_rss( $rss_feed );
if ( isset($rss->items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results
?>
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo htmlspecialchars( $more_link ); ?>"><?php _e('More »'); ?></a></cite></h3>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, 10);
foreach ($rss->items as $item ) {
?>
<li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>
<?php } ?>
</ul>
<?php
}
break;

with this part from the 2.2.2-version

case 'incominglinks' :
$rss = @fetch_rss('http://feeds.technorati.com/cosmos/rss/?url='. trailingslashit(get_option('home')) .'&partner=wordpress');
if ( isset($rss->items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results
?>
<h3><?php _e('Incoming Links'); ?> <cite><a href="http://www.technorati.com/search/<?php echo trailingslashit(get_option('home')); ?>?partner=wordpress"><?php _e('More »'); ?></a></cite></h3>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, 10);
foreach ($rss->items as $item ) {
?>
<li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>
<?php } ?>
</ul>
<?php
}
break;

Save it, put it in your wp-admin folder, and that’s it. Incoming links once again served by Technorati.


Share This

Popularity: 40% [?]

Tags: , , ,
Share Results

7 Responses to “WordPress Admin Dashboard - Technorati or Google Blogsearch?”

  1. In fact… I have been doing this for awhile… you can very well customize your dashboard to your liking. At the bottom where you get all the feeds, I have changed those to my favorite blog feeds as well. It’s a blast customizing your dashboard.

    Think about it… it’s your dashboard and should look and provide all the info YOU want… not info someone else wants you to see! :)

    Awesome job on showing people how to change back to Technorati… I have a feeling that what you have shown people will also allow them to get a little gutsy and mess around with things even further.

  2. I hope so. Once you get the hang of it, tweaking WordPress can be a lot of fun. :-)

  3. Without a doubt… I usually encourage people to start their own sandbox blog off a sub-domain.

    That way they can experiment with doing new things without fear of screwing up their main blog.

  4. Nice walkthrough, I was going to make the change the other way, from Technorati to Google, now I just have to update all my sites. And your right, tweaking WP can be a lot of fun and a great way to learn.

  5. Great tip. Google blogsearch returns link from my own domain which I don’t want to see there.

    Seems to me it would be better for Wordpress to make this a dashboard customizable feature. Let people select from a list of providers… But Wordpress is great overall so…

  6. why does it matter which one is used, what makes one better over the other?

  7. nice post! wordpress 2.6 is out now. but the google blog search option is still there.

Leave a Reply

Readers who viewed this page, also viewed:


Close
E-mail It
Socialized through Gregarious 42