Technorati Trackbacks and Graffiti CMS

written by Andrew Tobin on Friday, December 07 2007

I think I'm getting a little addicted to playing with Graffiti's Chalk system.  Well, not really, but I wanted another go, so I decided to do something else that I thought Graffiti was missing.

A while ago @ScottW asked the question Are Trackbacks (still) Worth It?

Well I think they are to some degree - but at the same point in time you don't want to go wading through your comments or spam for trackbacks.  Luckily Technorati will keep track of your trackbacks for you!

So here's a little Chalk plug-in to link to your blogs Technorati page.

Step 1: Add the plug-in file to your ~/bin/ directory

http://grrargh.com/files/media/file/AndrewTobin.Graffiti.TechnoratiPlugin.dll

Step 2: Alter your index.view theme file in your ~/files/themes/<THEME> directory

Find your comment line:

Graffiti:  $macros.CommentUrl($post, "%{anchor='comments', class='comments'}")
Disqus: $disqus.CommentsCount("<DISQUSFORUM>", $post)

After it place the following spacer if necessary to match the space between your "Read More" link and comments: &nbsp;&nbsp;&nbsp;

Then place a Technorati link:  $technorati.Link($post, "", " Trackbacks")

What the three parameters are:

  1. $post - required to tell it which post to get the url from.
  2. Text to the left of the link.
  3. Text to the right of the link.

Obviously the text to either side isn't required and only there to match whatever you may want inside the link.

Step 3: Alter your post.view theme file in your ~/files/themes/<THEME> directory

Find your comment line:

Graffiti:  $macros.CommentUrl($post, "%{anchor='comments', class='comments'}")
Disqus: Is blank if you followed my instructions.

After it place the following spacer if necessary to match the space between your "Read More" link and comments: &nbsp;&nbsp;&nbsp;

Then place a Technorati link:  $technorati.Link($post, "", " Trackbacks")

And that'll do it, instant trackbacks that you don't really have to maintain to see who is linking to your site!

Any questions or things you'd like to see different, please just leave a comment!

Similar Posts

  1. Adding Disqus to Graffiti CMS (Take 2)
  2. Integrating Disqus into Graffiti CMS
  3. Identicons and Gravatars in Community Server thanks to CarKnee

Comments are closed

Options:

Size

Colors