Using Haloscan to enable trackbacks (only) in New Blogger

In custom blogger on May 7, 2007 at 12:44 am

Trackbacks are a way of linking blogs to each other when referencing another blogger’s post. They’re quite useful and interesting to use, but unfortunately Blogger has not yet made this an inherent feature of the new Blogger software.

As an alternative, I decided to install Haloscan on my blog, to enable trackback links. So far, I’ve found Haloscan to be very useful! It has a feature where you can automatically install Haloscan comments and trackback features into your Blogger template, which is great for those who have a classic template and don’t wish to use Blogger’s comments system.

Unfortunately, I don’t fall into either category: my template is now heavily modified, and I do want to use Blogger’s comments! So I tried to install only the trackback links. Big problems there…

To cut a (very) long story short, I believe I have found the way to do this. Here’s my step by step guide to what has worked for me:

  1. Get yourself a free account with Haloscan
  2. Once you have your account (and most importantly, your username), open your Blogger dashboard, then click on Template>Edit HTML. Ensure “expand widgets” is ticked.
    Just before the closing head tag, insert this code, being sure to replace “yourhaloscanusername” with your appropriate UN:

    <script src=”http://www.haloscan.com/load/yourhaloscanusername&#8221;

  3. Then add this code where you want your Trackback link to appear, again replacing the username:

    <a class=’comment-link’
    expr:href='”http://www.haloscan.com/tb/yourhaloscanusername/&#8221; + data:post.id +
    “/”‘ expr:onclick='”HaloScanTB(” + “\””+ data:post.id + “\”” + “);return

  4. I included this just after the comment link as in the following example:

    <b:if cond=’data:post.allowComments’> <a
    class=’comment-link’ expr:href=’data:post.addCommentUrl’
    cond=’data:post.numComments == 1′>1
    </b:if> </b:if><a class=’comment-link’
    data:post.id + “/”‘ expr:onclick='”HaloScanTB(” + “\””+ data:post.id + “\””
    “);return false;”‘<script

  5. Preview your template first to make sure everything works okay. If it does, then save your template and begin to receive your trackbacks!

Please let me know if this modification works for you by leaving me a comment below. Happy trackbacking!

Related posts:

Technorati Tags:

  1. Just a quick test of my new template layout. Please ignore

  2. Testing again!

  3. Thanks for the tip. I have enabled trackback links on my blog following your instructions but when I click my trackback link I get a pop-up window that says “usertable error”. Maybe I’m not supposed to click my own trackback links?

  4. Hi again. The trackback links are working now. I guess my Haloscan account had not propagated yet. Thanks for your kind help, and best of lucks on your “glamumous” project!

  5. I’ve read this method at a couple locations and tried it out 3 times… none of which worked. I keep getting errors when I preview:

    We were unable to preview your template
    Please correct the error below, and submit your template again.
    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 “div” must be terminated by the matching end-tag “

    I just did a straight copy-paste and replaced with my haloscan account name. So sad.

  6. Eleanor Roosevelt stated that brand-new days come with new energies and new
    thinking. I want to thank you for making me think today.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: