Friday, 7 September 2007

All about blog feeds (part 1)

This is the first in a short series of posts written to help you achieve a better understanding of your blog feeds, and how you can use them. In this first post, I'll outline the basics of blog feeds, the differences between Atom and RSS feeds and an explanation of the different feeds available from your Blogger blog.






What is a blog feed?

Your blog feed is a machine readable version of your blog posts and comments. Blogger publishes this XML file to allow further syndication of your blog; that is, readers are able to "subscribe" to your blog and receive updates via a feed reader each time you publish a post.

Your blog feeds are published in two formats: RSS and Atom, which I will explain in more detail further down the page. Take a look at this short video first, which explains RSS (the most commonly known format) in plain English, as this will give you a great understanding of what blog feeds are all about:

So what is the difference between Atom and RSS feeds?

In short, there is very little difference between these file types: both do essentially the same thing: they offer your blog posts and comments in a format that can be easily syndicated and read by feed readers.

There are numerous websites which explain the technical differences in detail, and offer precise comparisons. For the purpose of simplicity, I've outlined the main differences here:

  • RSS was the first feed format available. Atom came about because developers were dissatisfied with the imperfections of RSS and decided to create an alternative.

  • RSS has nine versions, while Atom, being a newer format, has relatively few.

  • Many believe that Atom is more flexible in adapting to change and new technologies. It is constructed to work across a wide variety of platforms and devices.

  • However, RSS is much more widely known and adopted by more bloggers and news sites to syndicate blog feeds!

It is rather difficult to say which format is better. Despite that Atom is more flexible, some feed readers are unable to read Atom.xml files. By default, Blogger publishes your blog feeds in Atom.xml format, though this can be changed as I will explain in the next installment.


What are the different feeds published from my blog?

There are basically four different feeds published from your blog. These are:

    Posts feeds - this is the feed for your most recent blog posts.
  • Comments - the most recent comments from the whole of your blog.

  • Per-post comments - the most recent comments made to a particular post.

  • Labels - posts or comments linked to a particular label in your blog.

All of these different feeds are also available in Atom (default) or RSS format. In the next few installments, I'll explain how you can provide links to these different feeds in your blog and allow readers to subscribe to them.



Technorati Tags: | | | |


Thursday, 6 September 2007

Enable per-post comments feeds

For a while now, I've been wondering how to enable the feed link for per-post comments in order to allow readers to subscribe to the comments for a particular post they are interested in. From what I'd read in the Blogger help groups, the only method was to create a link for each individual post including that particular post's ID number. Which would have been very tedious! However, today I finally figured out a much simpler methos, so you can simply add a bit of code to your post footer which will easily enable your readers to subscribe to the comments of a particular post of interest!






To create the link which will enable readers to subscribe to the comments of a particular post, you will need to ensure you have enabled post pages in your blog settings. If you haven't already done this, go to Settings>Archiving in your Blogger dashboard and set "Enable post pages" to "yes".

Next, find this section in your Blogger template:

<p><data:post.body/></p>

Just after this line, paste the following section of code, replacing "yourblogurl" with the url of your blog:
<p><a expr:href='"http://yourblogurl/feeds/" + data:post.id + "/comments/default"'>Post Comments Feed</a></p>

This will enable the default Atom feed for the per-post comments. If you prefer to link to the RSS comments, you should paste this section of code instead:

<p><a expr:href='"http://yourblogurl.com/feeds/" + data:post.id + "/comments/default?alt=rss"'>Post Comment Feed</a></p>

You can change the link text ("Post Comment Feed")to anything you like, such as "Subscribe to comments for this post".

Preview your template to ensure that you haven't upset the layout of your posts, then save your template and view your blog. You should now see this new link appear just beneath each of your blog posts. When you click on this link, you will be taken to a page which features the comments feed for only this particular post with the option to subscribe to this particular feed.

Technorati Tags: | | | |


Wednesday, 5 September 2007

How to manually install Haloscan comments and trackbacks (for customized templates)

Haloscan provide an excellent commenting and trackback service for bloggers. While Blogger blogs are supported by this system, the installation wizard will not work for customized templates, even those which have a few lines of Javascript included!

Haloscan commenting and trackbacks do work in customized templates, but you will need to install the nescessary code manually. Unfortunately, Haloscan do not provide any support (yet) for manual installation of commenting and trackbacks in Blogger templates. So here is a tutorial of how you can manually install Haloscan's commenting and trackback features in your own Blogger templates.






Please note: this is a tutorial for installing both Haloscan commenting and trackback functions in your Blogger template. If you wish to only install Haloscan trackbacks (as I have done in this blog), please take a look at this post instead.

Here is a tried and tested method for installing Haloscan commenting and trackback features in your blog. Be sure to read each step thoroughly, and copy the lines of code exactly as they appear here in order to ensure this method will work for you!

This tutorial assumes you already have a Haloscan account. Ensure you have your Haloscan username to hand as you will need this during the manual installation process. Each section of Haloscan code you need to insert into your template should contain instances of your Haloscan username. In the codes provided, I have replaced this with "yourhaloscanusername" so be sure to edit this to include your actial username instead!



  1. Firstly, you should make a backup of your existing template by going to Template>Edit HTML in your Blogger dashboard and clicking on the "Download full template" link near the top of the page. It is essential that you do this before making any modifications to your template, in case you make a mistake or decide to revert back to your original template at a later time.

  2. Now, ensure you have checked the "expand widget templates" box, and search for the following lines of code:

    <b:if cond='data:blog.pageType != "item"'>

    <b:if cond='data:post.allowComments'>
    | <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
    </b:if>
    </b:if>

    Replace the lines highlighted in red with the following lines of code (highlight all of the code and paste into your blog template):



    Be sure to replace all instances of "yourhaloscanusername" in this code with your own Haloscan user name!


  3. Next, search for this section of code in your template:
    <b:includable id='comments' var='post'>
    <div class='comments' id='comments'>



    <a name='comments'/>
    <b:if cond='data:post.allowComments'>
    <h3 id='comments'><strong>
    <b:if cond='data:post.numComments == 1'>
    1 <data:commentLabel/>:
    <b:else/>
    <data:post.numComments/> <data:commentLabelPlural/>:
    </b:if>
    </strong>
    to “<span style='color: rgb(128, 128, 0); letter-spacing: 0px;'>
    <a expr:name='data:post.id'/>
    <b:if cond='data:post.title'>
    <b:if cond='data:post.link'>
    <a expr:href='data:post.link'><data:post.title/></a>
    <b:else/>
    <b:if cond='data:post.url'>
    <a expr:href='data:post.url'><data:post.title/></a>
    <b:else/>
    <data:post.title/>
    </b:if>
    </b:if>
    </b:if>
    </span>”
    </h3>

    <ul class='commentlist'>
    <b:loop values='data:post.comments' var='comment'>
    <b:if cond='data:comment.author == data:post.author'>
    <li class='commentlist-author'>
    <b:if cond='data:post.dateHeader'>
    <div class='commentcount'/>
    </b:if>
    <cite>
    <b:if cond='data:comment.authorUrl'>
    <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
    <b:else/>
    <data:comment.author/>
    </b:if>
    </cite>
    <br/>
    <a class='commentlink' expr:href='"#comment-" + data:comment.id' title='comment permalink'>
    <data:comment.timestamp/>
    </a>
    <b:include data='comment' name='commentDeleteIcon'/>
    <p><data:comment.body/></p>
    <div class='clear'/>
    </li>
    <b:else/>
    <li class='commentlist-general'>
    <b:if cond='data:post.dateHeader'>
    <div class='commentcount'/>
    </b:if>
    <cite>
    <b:if cond='data:comment.authorUrl'>
    <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
    <b:else/>
    <data:comment.author/>
    </b:if>
    </cite>
    <br/>
    <a class='commentlink' expr:href='"#comment-" + data:comment.id' title='comment permalink'>
    <data:comment.timestamp/>
    </a>
    <b:include data='comment' name='commentDeleteIcon'/>
    <p><data:comment.body/></p>
    <div class='clear'/>
    </li>
    </b:if>
    </b:loop>
    </ul>
    <p class='comment-footer'>
    <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
    </p>

    </b:if>
    <div id='backlinks-container'>


    Replace this whole section of code with the lines in the frame below (highlight this whole section, copy and paste into your template):




    I know this can be a rather large section to fins in your Blogger template, so if you're having trouble, highlight all of the code between these lines, and paste the Haloscan code over the top of it:

    <b:includable id='comments' var='post'>
    <div class='comments' id='comments'>
    <a name='comments'/>
    <b:if cond='data:post.allowComments'>

    ..... paste Haloscan code over the content here ...

    </b:if>

    <div id='backlinks-container'>


    Be sure to replace all instances of "yourhaloscanusername" in this code with your own Haloscan user name!


  4. Finally, find this section of code in your Blogger template:
    <b:loop values='data:links' var='f'>
    <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
    </b:loop>
    </div>
    </b:includable>

    Now replace this red section with the following Haloscan code:



    Again, don't forget to replace all instances of "yourhaloscanusername" with your actual Haloscan username!


  5. Preview your template now to ensure the commenting and trackback links are showing in your blog. You can check these link to Haloscan by hovering your cursor over the links, and should notice the link to Haloscan appearing in the bottom left of your browser.

  6. If your template looks okay and the links point to Haloscan, you can save your template and enjoy your new Haloscan trackback and comments features! If the edits have not worked properly, you can clear all edits and begin the process again, taking extra care to copy and paste each section of code exactly as stated!


This is a rather difficult and tedious hack to implement, but unfortunately it is the only way I have found to successfully install Haloscan commenting and trackbacks into customized Blogger templates.

I have tried and tested this method on several different blog templates, and can assure you that this works, so if you're having difficulties, just clear your edits and try again, taking much care over the code you are pasting in.

I hope this tutorial helps you install Haloscan in your customized Blogger templates. Please leave any comments below.

Technorati Tags: | | | |

Tuesday, 4 September 2007

More site changes (and opinions needed!)

As many of you will have already noticed, I have recently created a new site for Bloggers: Blogger Buster Tools. This sub-domain features loads of useful tools for bloggers, so please take a look if you haven't already visited!

I will shortly be redesigning the header for this blog to include a button link to this great resource site to replace the "about" and "contact" buttons. I also have another idea which I would greatly appreciate your opinions on...






As I now have quite a selection of templates available for download, I am considering creating a new blog hosted on a sub-domain of Blogger Buster to showcase only the templates. I think this will make it much easier for you all to search through templates by theme. It will also make it easier for me to provide the templates as text files which you can copy and paste. This new blog will be available from this main site, and also on it's own sub-domain (something like templates.bloggerbuster.com). Of course, I will still announce new templates here on the main site too!

I would greatly appreciate your opinions on this, so please leave your comments below. If there is support for this change to the site, then you will be able to access the new "Blogger Buster Templates" blog in the next week or so, as I am able to write the new posts.

Also, I would like to thank everyone who voted in the recent poll regarding template designs. I am listening to your opinions, and am currently developing a few new templates to meet your demands! These will be available shortly, and will be announced here on site.

If anyone has particular requests for a theme or style of template, please do get in touch and let me know.

Technorati Tags: | | | |


"Gourmet Menu" themed template available for download

I have just finished work on a rather interesting template called "Gourmet Menu", which you can see as a screenshot below:







This is a food themed template, featuring a complementary label cloud and customizable fonts. You can preview this template in action on the Gourmet Menu Demonstration Blog. All images are hosted by Blogger Buster, so you only need to install the XML template.

You can download the Gourmet Menu template using the link below. This download is a zip file, which also includes a help file to assist in customizing the template.

Download Gourmet Menu Template here

You are free to modify this template as you wish. However, I do ask that you leave the credits intact within the XML template. Please do not redistribute this template without credit to the original author. A link back to Blogger Buster is always appreciated!

For more free Blogger templates, be sure to visit the Blogger Templates section of this site.

Technorati Tags: | |


Sunday, 2 September 2007

Free Tools for Bloggers!



For the past few weeks I've been working on a great new resource site for Bloggers: Blogger Buster Tools! I'm happy to announce that the site is finally online and available for use, with a great variety of tools to help you make the most of your blogs. Resources include:

More tools will be added to the site as I am able to develop them.






You can find a complete list of available tools on site. I will be adding new tools and resources as they are developed, which I will announce both here and on the Blogger Buster Tools site.

If you find Blogger Buster tools useful, please help generate awareness of this new blogging resource by Digging the site, telling your friends or linking to the site from your blog.

If have any suggestions for future tools, please let me know by leaving a comment below or sending me an email.

Technorati Tags: | | | | |


Friday, 31 August 2007

How to add BlogThis! links to each of your blog posts

In a previous post, I explained how to add a BlogThis! button to your browser links bar. In this post, I will explain how you can also add this link to your blog posts. This will allow your readers to blog about your posts without having to visit their Blogger dashboard, and can assist in publicizing your blog.






First, let me explain how the BlogThis! function works.

The BlogThis! function uses javascript to acquire the url and title of the page you are looking at, sends this to Blogger and also sends you to the posting page in your Blogger dashboard.

So, if you were reading this post from my blog's homepage and wanted to blog about it, the url sent to Blogger would be www.bloggerbuster.com and the title would be Blogger Buster. Since you are reading this post on the "post page", the url would be that of this particular blog post, and the title will be "How to add BlogThis! links to each of your blog posts".

With this in mind, you should understand that it is much better for the BlogThis! links to appear only in your post (item) pages. Otherwise, the link which appears in the BlogThis! pop-up may not correctly match that of the post it refers to.

So, now we have a better understanding of how this works, here is an explanation of how you can make BlogThis! links appear only in your post pages:



  1. First, make a backup of your blog template by going to Template>Edit HTML and clicking on the "Download Full Template" link near the top of the page. You should always do this before modifying your template in case you make a mistake, or decide to revert back to your previous template.

  2. Once you have made a backup of your template, check the "expand widget templates" box, and search for this line:
    <div class='post-footer'>

    If you cannot find this line, search for <div id='post-footer'> instead, as the post-footer section may be defined differently in your template.

  3. Just after this line, paste the following section of code exactly as it is written (highlight all of the code in the text box to ensure you don't introduce any extra line breaks or spaces as this would break the functionality of the link):





    The <b:if...>: conditional tags tell Blogger only to display the link on "item" pages. This ensures that the correct url for the blog post and the correct title will be sent to Blogger for the visitor to write about in their blog.

  4. Save your template and view your blog. The BlogThis! link should not be displayed on the main page of your blog. However, if you click on the title of a blog post and view it on the "item" page, the BlogThis! link should appear in your post footer!

Please do be aware that the BlogThis! function only works for those who use Blogger blogs. Visitors who blog with Wordpress, Typepad or any other system will not be able to blog about your posts directly from the page!

I hope this helps those who have requested the BlogThis! link for their blog posts. Please feel free to leave your comments and suggestions below.

Technorati Tags: | | | |