Internet’s physician

April 9, 2008

How to add the nofollow tag to the FlickrRSS plugin?

Filed under: Programming — admin @ 2:49 am

In this evening I just discovered how to add the rel=”nofollow” tag to the FlickrRSS plugin. I have 9 pictures and I don’t want my link juice to go to Flickr.

What you have to do?

Open the Plugins folder. then the flickr-rss folder.

Open the flickrrss.php file:

On line 108-109, you’ll see this:

# grab image direct from flickr
print $before_image . "<a href=\"$url\" title=\"$title\"><img src=\"$imgurl\" alt=\"$title\" /></a>" . $after_image;

and change it to:

# grab image direct from flickr
print $before_image . "<a href=\"$url\" title=\"$title\" rel=\"nofollow\"><img src=\"$imgurl\" alt=\"$title\" /></a>" . $after_image;

That’s all.

3 Comments »

  1. Waw, I googled for this since I started my blog.

    Comment by MiraJ — May 5, 2008 @ 3:11 am

  2. I found your blog via Google while searching for business loans online and your post regarding add the nofollow tag to the FlickrRSS plugin? looks very interesting to me. I have a few websites of my own and I must say that your site is really top notch. Keep up the great work on a really high class resource.

    Comment by Business Loans Online — May 17, 2008 @ 3:37 am

  3. Hey, 10q. I also use Flickr and why to go away all that hard to get link juice to Yahoo?

    So, rel=”nofollow” was the best solution.

    Comment by Gombos Atila — May 17, 2008 @ 3:44 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

windows xp registry cleaners | GPS Tracking Devices | Faxless Payday Loans | E-articles directory

Powered by Yahoo! Answers