What's That Noise?! [Ian Kallen's Weblog]

Main | Next day (Nov 18, 2006) »

20061117 Friday November 17, 2006

Counting Links To Your Posts

The new Technorati link count widget provides a way for bloggers to display how many links a blog post gets. Doing it in Roller is easy, add the velocity macro below to WEB-INF/classes/weblog.vm and then call that macro from the default blog page template (Weblog).

#macro( showCosmosLink $entry )
    <script src="http://embed.technorati.com/linkcount"
        type="text/javascript"></script>
        <a href="http://technorati.com/search/$absBaseURL/page/$userName/#formatDate($plainFormat $entry.PubTime )"
        rel="linkcount">View blog reactions</a>
#end

Tantek has more details about the release on the Technorati Blog.

     

( Nov 17 2006, 08:31:30 PM PST ) Permalink