Stubborn Fanatic

Avatar

Documenting Tech Fanaticism


You're browsing: Home » blogger, blogging, my hacks, technorati » Blog article: Allow your labels to be searched in Technorati and Del.icio.us tags

Allow your labels to be searched in Technorati and Del.icio.us tags


Hello Friends,

I have developed a simple little add-on for your blog. To know what I am talking about, just see the labels in my post’s footer. Notice the tiny Technorati pic beside each label. When clicked, it shows you all the posts from bloggosphere that have been tagged with the label in question. (See end of this post for Del.icio.us how-to)

It is a good way to allow your reader to search Technorati using tags and serves as a sort of “related posts from other blogs” link. Installing this code is fairly simple. Just follow these steps:

1. Edit your template HTML code and check the “Expand Widget Templates” box. Make a backup of your template if you are not used editing HTML.

2. Look for your post footer i.e. look for <div class=’post-footer’>

3. Then in there, look for the labels code i.e. look for <span class=’post-labels’>

4. In there, look for the main label href i.e. look for:

<a expr:href=’data:label.url’ rel=’tag’><data:label.name/></a>

and immediately after that line add this code:

<a expr:href='"http://technorati.com/tag/" + data:label.name' rel='tag' target='_blank' title='Search this tag on Technorati'/><img alt='' border='0' src='http://photos1.blogger.com/x/blogger2/178/17688294081221/320/25365/technorati.gif' style='vertical-align:middle'/></a>

That’s it! It’s as simple as that. However, let me know if your face any problems.

Update: Del.icio.us How-to:

Deniz from imessengr.com has added the “search in Del.icio.us tags” functionality to labels, on similar lines. You can access the code from here.

Technorati Tags: , ,


No related posts.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
PDF version
  • LibAnn
    Same issue on my end as well. I know this is an older post, but I would like to know if there is a way to resolve this issue.
  • Toinker
    It's a good idea to put such code for your own blog. Thanks for posting this one dude.
  • troublemaker be
    yes i'm too. i can't to do this hack. the error say about end tag-b:loop. please, what we must do?

    http://saveav.blogspot.com
    http://blogywalkie.blogspot.com
  • J
    Ditto. I am receiving the same error messages.
  • GinVodka
    hi vivek i had a problem, it showing word linke this :
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The element type "b:loop" must be terminated by the matching end-tag "".

    please give me a help
    thx
  • Vivek Sanghi
    @FoxyTallChick: Thanks for using my hacks. I hope we can improve it further. Cheers!

    @DennyHalim.com: Hey! No probs! Glad to know that you use my hacks. Let me know if you post some thing gr8! and I will tell my readers about your blog. Cheers!
  • DennyHalim.com
    sorry, never mean to be sarcasm. maybe because of my bad english...

    i enjoy many of your posts and use some of them too.
  • FoxyTallChick
    Nice hack guys. I've just implemented it on my site: here. Like you said - it can get a little bit unwiedly if you have a lot of tags so I'm just going to see it goes for a while before deciding whether to keep with it.
  • Vivek Sanghi
    @DennyHalim.com

    Similar stuff and published much before me. Nice Work! However, I smell sarcasm in your comment :D So I wish to state that I don't plagiarize for my hacks and always acknowledge the source where I should. Thanks for stopping by cheers!
  • DennyHalim.com
    i guess you didnt read my blog :)
    http://komputips.blogspot.com/2006/11/technorati-tags-on-blogger-beta.html
blog comments powered by Disqus