October 16, 2007

Create screenshots for your blog easily with this free tool!

Screen shots are an excellent way to illustrate a post, especially when explaining how to use a website, or to demonstrate a new template. All of the screen shots featured in this blog were created using ScreenHunter: a free program which allows you to take pictures of the screen you are working on, and save them directly to your computer. This works on all Windows operating systems, including Windows 98/NT4/ME/2000/2003, XP and Vista.

I've been using ScreenHunter for a few years now, and have found this to be the easiest screen capture facility to use. Best of all, it's free for unlimited personal and business use! There is no expiration date, nor is this trial software.

You can download your free copy of ScreenHunter 5.0 from the Wisdom Soft website using the link below (scroll down the page a little to find the correct download):

Download WisdomSoft ScreenHunter 5.0 Free

Installing ScreenHunter

Once you have downloaded the ScreenHunter program, you can easily install the software with one click. However, you will be presented with some options for the installation that you should be aware about:

  • Install a desktop shortcut: You may want to check this box if you prefer to have all your programs accessible from the desktop
  • Load on startup: This starts the ScreenHunter program as soon as you start up your PC. I personally don't use this option, as it only takes a couple of seconds to load anyway.
  • Install ScreenHunter toolbar for your browser: This installs an optional toolbar which features the same screen capture facilities as the program, plus a few other tools. Not essential (and I don't use this function), though it may be useful for some.

Once you have finished the installation, you will need to restart your computer for the program to finalize installing. Then you will be able to use your new screen capture facility.

Using ScreenHunter

When you start ScreenHunter, you will see a screen which features the various options for capturing the images on screen. You can begin taking screenshots straight away, though there are a couple of options you may wish to change first in the "TO" section:

  • Where the screen shots are saved to: In order to find and use your screenshots, you will probably want to specify the location where these images are saved. By default, this is your desktop, though I prefer to use a designated folder to ensure my desktop does not become cluttered.
  • The file format of saved images: this latest version includes the ability to save in GIF, JPG or BMP format. If you have a preference, you can set this here.

When you are ready to take screenshots, there are three different options to choose from:

  • Rectangular area: this enables you to specify a section of the page you are viewing to be copied to a file (or to your clipboard).
  • Full screen: this copies the whole of the screen you are viewing on your computer.
  • Active window: this will only copy the window you are viewing, and none of the background which may be visible also.

I hope you enjoy using ScreenHunter and find this to be a useful tool for your blogs!

Technorati Tags: | | | | |

October 15, 2007

How to use a background image for your blog

Instead of a simple background color, you could use a background image for your blog. This could be styled to look like wallpaper, it could repeat only vertically or horizontally, and can even be in a fixed position where it stays in place while the rest of the page scrolls down!

In this post, I will explain the how you can use background images for your blog using these different methods, with examples to demonstrate how the various effects can be achieved.

You can use virtually any image as a background for your blog. Usually background images are in JPEG format, though you could also use GIF's or BMP's. However, you must be able to host the image on an external server, as Blogger only hosts images which are contained in widgets or posts. If you're looking for free image hosting, take a look at this post.

Before you begin to add the image to your background, find the image you would like to use, and make a note of the url where it is hosted.

As I mentioned in the introduction, there are different ways you can use background images. Here I will explain:

  • How to make an image repeat across the whole page (like wallpaper)
  • How to make a background repeat vertically down the page
  • How to make the background repeat horizontally across the page
  • How to create a fixed image background (which does not scroll with the rest of the page
All of these methods are possible in Blogger Blogs, and are quite simple to achieve.

How to make make an image repeat across the whole page (like wallpaper)

This is the simplest of all background effects to achieve. Most people prefer to use a small image which tiles seamlessly. This ensures that the page loads faster, since the image has a small file size.

You can easily find such images for your background by doing a Google search for tileable backgrounds, or could even create your own.

I created this simple image to use as an example, though you could just as easily use any other image:

To make this image a tiled background for your blog, go to Template>edit html and look for the styling properties for the body of your blog, which should look something like the example below:

body {
background: $bgcolor;
margin:0;
color:$textcolor;
font:x-small Arial sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
We need to edit the line highlighted in bold, which is where we declare the background properties of the blog. To add a repeating image to the background, we simply add the following (highlighted in red) to the body properties:
body {
background:url(http://www.imagehost.com/yourimage.jpg);
margin:0;
color:$textcolor;
font:x-small Arial sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
Where the URL of the image matches the URL of your background image location.

This will make the background image repeat across the whole page, like the example below:

If you prefer, you can also view the whole demonstration page here which offers a better view of the overall effect then the iframe above.

How to make a background image repeat vertically down the page

This involves a slightly different addition of code to your template, but is essentially the same principle. Again you should find the "body" style declaration in your template and add the url for your background image. Also, you need to declare that the background will repeat on the "y" (vertical) axis, as in the example below:

body {
background:url(http://www.imagehost.com/yourimage.jpg) repeat-y;
margin:0;
color:$textcolor;
font:x-small Arial sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
Using the same example image as before, this will create the following effect (or look here for a full page preview):

How to make a background image repeat horizontally across the page

This is very similar to the method we used to tile the image vertically. However, this time we tell the browser to repeat the image on the "X" (horizontal) axis, like this:

body {
background:url(http://www.imagehost.com/yourimage.jpg) repeat-x;
margin:0;
color:$textcolor;
font:x-small Arial sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}

This will produce an effect like the example below (use this link for a full page preview):

How to create a fixed image background

Usually a larger image is used for this method, so for this example we will use the following image from Pyzam.com):

To ensure this background image does not repeat, we need to add the "no-repeat" declaration to the background properties. Also, we need to add the statement that the background attachment is fixed, so that the background does not move with the page. Here again is an example of what your code should look like, with the changes highlighted in red:

body {
background:url(http://www.imagehost.com/yourimage.jpg) no-repeat;
margin:0;
color:$textcolor;
font:x-small Arial sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
background-attachment: fixed }
And here is the example of what this property achieves (use this link for a full page preview):

You can add color too!

Unless you tile your background image across the whole page, you will be left with blank white areas. To fill these areas with the color of your choice, you should also add color to the background property.

If you already have a "$bgcolor" variable in your blog template, you can simply add this variable to the background properties, like this:

background: $bgcolor url(http://imagehost.com/yourimage.jpg) repeat-x;
However, if you do not have this variable in your template, or instead would prefer to declare the color yourself, you can do so using Hex values for the color you wish to display. There is a useful color calculator in the tools section which can generate the hex values require. Here is an example of how you can declare the hex values for the color in your background:
background: #ff0000 url(http://imagehost.com/yourimage.jpg) repeat-x;
Using the first image as an example, this would generate a background like this:

Positioning the background image

By default, the background image will begin in the top-left corner of the page, regardless of how you want the background image to repeat (or not) across the page. However, you can specify where you would like the image to be placed by adding some extra variables to the background specifications.

Here is an example of the bldy's background property to show where you can place the positioning variables:

background: #ffff00 url(http://imagehost.com/yourimage.jpg) positioning-variables-here no-repeat;
And here is a list of the positioning variables you can use:
  • top left
  • top center
  • top right
  • center left
  • center center
  • center right
  • bottom left
  • bottom center
  • bottom right

If you wanted to position a fixed image at the top center of a page for example, you could use the following code:

background; url(http://imagehost.com/yourimage.jpg) no-repeat top center;

It is also possible to set the starting position of the background image using percentages on the X or Y axes, or by specifying the distance in pixels from the top or left of the page. However, this can be rather complicated, and since people use many different browsers and screen resolutions when browsing the internet, this can cause serious problems for blog design! If you would still like to know more about this, I would recommend reading the information on the CSS background page at W3 schools.

I hope this tutorial has helped you understand how to use background images in your blog, and covered all aspects of how these different effects may be achieved. As always, your comments and opinions are much appreciated!

If you would like to receive updates of new tutorials and posts from Blogger Buster, please consider subscribing to our feed.

Technorati Tags: | | |

What are your essential blogging tools?

Most hobbies require you to use tools, and blogging is no exception. Of course we all know that there are only three essential tools required to blog: a computer, an internet connection and an idea (something to write about). However, most bloggers also use other tools to help them blog, especially when blogging becomes a serious pastime (or even a part-time job).

Besides my laptop, broadband internet connection and blogging ideas, I also use several blogging tools which I consider "essential" to blogging. These include:

  • A notepad and pen, for jotting down ideas
  • Image software (Photoshop is preferable, though previous;y I used GiMP, which is free software)
  • An RSS/Feed reader, so I can keep up to date of my favorite blogs!
  • Firefox Browser: since installing this browser, I've found blogging much easier as I can easily switch between tabs to view different pages

While these tools are hardly necessary for blogging, they can be very helpful.

What would you add to this list?

Do you have a set of blogging tools? If so, what would you add to my list?

In the near future, I'll be posting a short series of posts specifically for new bloggers, and would like to create a list of easily accessible tools which can be helpful when blogging. I'd love to know what tools or programs you find helpful, and will expand this list to include the most popular tools as recommended by you. Please leave your comments below, or send me an email if you prefer. I look forward to your input!

Technorati Tags: | | |

October 13, 2007

"Girly Web 2.0 " style template available for download

I have just finished work on a new girly template which has a simple "Web 2.0" style, but also includes many advanced features you won't find on other Blogger templates. The screenshot of this template is on the right, and you can read on for full details and download information.

As the title suggests, this template has a feminine pink theme (don't worry guys, both a blue and dark version are in the pipeline and will be available soon). It features a clean and simple layout, and very few images. Combined with a small javascript, this ensures the blog loads very quickly, and is able to deliver powerful new features which are not available in other templates I have created.

These features include:

  • Fast page loading time
  • Themed favicon already in place (see top left of the address bar)
  • Integrated blog search form
  • Web 2.0 style logo
  • Navigation bar (which can be customized to suit your needs)
  • Calendar widget
  • Unique wide sidebar layout, featuring a combination of wide and dual narrow columns
  • Three widgets available in the footer section
  • Unique post footer sections, which include a "What next" section for email post links, social bookmarking and "add a comment"
  • Related posts section also in post footer, to link to posts of the same label
  • Author comment highlighting on post pages
  • Rounded corners achieved by CSS instead of images
Plus a few other features too!

You can see the template in action on the Girly Web 2.0 Template demonstration blog. Please do take a look at the post pages to see how the post footer sections work too.

Download this template

You can either download the full zip file for this template, which includes the XML template, plus all images and a help file, or copy and paste the code further down this page into the "edit HTML" section of your Blogger dashboard.

Download Girly Web 2.0 Template (Zip folder)

This download contains the XML file for you to upload to your blog, plus a help file and all images that are used in the template.

Template code to copy and paste into the Edit HTML section of your Blogger dashboard:

All images for this template are hosted by Blogger Buster, though if you prefer to have control over these images you can upload these to your own image host and edit the template accordingly.

How to set up this template

This template will work without much modification, though there are two things you may want to change:

  • The calendar widget
    This widget parses your date header to display the calendar icon. To ensure this works properly, you will need to change the settings for your date-header format in the Settings>Formatting section of your Blogger dashboard. The date header needs to be in yyyy-mm-dd format, like the example below: It is only necessary to change this one setting, then everything else in this template should work just fine!
  • The navigation bar
    This is set up to feature links to your blog's home page (Home), an "about" page (About) and a contact page or link (Contact). In the default installation, I have been able to set up the "Home" link which points to your blog's front page. However, you will need to set up links to your About and Contact pages manually. You can also choose to change these links or add more links as required.

    The navigation bar is highlighted with comments in the template, and looks like this:
    <!-- This is the navbar section which you can edit to include your own links -->

    <div style='height: 40px; padding: 10px 0 0 0; margin: 3px 0 0 0;'>

    <!-- Home Page Link -->
    <a class='nav-section' expr:href='data:blog.url' style='color: #fff; text-decoration: none;'>Home</a>

    <!-- About link add your link here -->
    <a class='nav-section' href='#' style='color: #fff; text-decoration: none;'>About</a>

    <!-- Contact link add your link here -->
    <a class='nav-section' href='#' style='color: #fff; text-decoration: none;'>Contact</a></div>

    <!-- End navbar section -->
    Simply change the "#" for the links to point to your own posts/web pages, or copy the link style to create new links instead.

Using this template

This template is free to use, and you may customize the template in any way you wish. However, I do ask that the author details remain in the template itself, and that you do not redistribute this template without a link back to Blogger Buster. A link back to Blogger Buster is always appreciated!

Technorati Tags: | | | | | |

October 11, 2007

Two new search widgets for your blogger blogs

Here are two new search widgets for your Blogger blogs:

  • A posts/label search widget, which can be used to limit results and be styled to match your blog template (from Dig 'n' Share Blog)
  • A multiple blog search widget, to search posts, Google Blog search and Technorati (currently being developed by myself)

Here follows an explanation of the uses for both search widgets, with the link for David's blog search, and the widget code for my "multiple" search widget.

Dig 'n' Share Blog Search Widget

David of Dig 'n' Share emailed me with the details of this new blog search widget yesterday. It works by using two search forms to search either posts or labels for the given search text, and can limit the results which are displayed in the page so you don't end up with a huge page full of search results!

This widget is particularly advantageous for blogs which use a lot of labels as "tags" for posts (indeed, Blogger labels are classed as "tags" by Google, Technorati, Del.icio.us and the like), and with a few minor adjustments I'm sure David will soon be able to offer this widget in one click install format, so you can instantly add this to your blog.

For full details and to get the code for this search widget, please head over to Dig 'n' Share.

Multiple Blog Search Widget

Inspired by David's new widget, I sought to create another blog search widget which could also fetch results from Google and Technorati blog search engines. After much trial and error, I finally created this blog search widget, which allows you to choose between the four different search formats using a radio button:

Search Blogger Buster
Search this blog
Google Blog Search
Technorati
For:

Try this out if you like!

This search form uses options offered by the radio buttons to decide on the location of the search (ie: blog posts, Google Blogsearch or Technorati) and is controlled by a simple javascript inside the widget itself. It is very simple to install, and works immediately upon installation since it requires no further customization to work on any blogger blog.

To use this widget in your own blog, sinply copy the following code and paste into an HTML/Javascript widget in your blog layout. If you use a classic Blogger template, you can simply paste this code in your template's HTML where you would like it to appear:

I do plan to make some improvements to this widget in the near future, including a widget installer, which I will post about soon.

I hope you like these new search widgets! Please let me know your comments and opinions below.

Technorati Tags: | | | | |

October 10, 2007

Free Web 2.0 design tools for your blog

"Web 2.0" design has recently become very popular. Reflective logos, striped backgrounds, vivid badges and gradient buttons are among these new design features, and are fast being integrated into blog design. Here is a selection of free online Web 2.0 design tools to help you give your blog more of a Web 2.0 appeal.

Fresh Badge Generator

Creates great Web 2.0 style badges with many options for customization (I used this tool to create the logo at the top of this post in under 1 minute!

Stripe Generator 2.0

Generates striped backgrounds for your blog or website. Choose colors, styles and even gradients. Create this as a tiling image too!

Tabs Generator

This generates navigation tabs with choices for gradients, border, width and fonts. Easy to use, just create your tabs and right click the resulting image to download.

Web 2.0 Logo Creator

Create a reflective header for your blog! You can also choose to add a logo, change gradients, background color, etc.

Web 2.0 logo creator

Another free logo creator. Features an optional "Beta" badge, gradient text and reflection. Very easy to use.

My Cool Button

Creates beautiful reflective buttons (like the one on the right) which you can customize with different fonts, text and colors.

As I find more useful Web 2.0 design tools, I will update this page with links to new sites.

Please leave your comments and opinions below.

If you like this post, please consider subscribing for updates of new content.

Technorati Tags: | | | | | | |

October 09, 2007

How to create a table of contents page for your blog

Until recently, I used Beautiful Beta's excellent "Table of contents" hack for this blog. This technique loaded the table of contents above other posts, and was accessible from a link in the sidebar. The only downside of this hack is that it significantly slows blog loading time, especially when your blog has more than 100 posts.

For the new template, I have modified this hack to show the table of contents for Blogger Buster on a post page instead. In this post I will explain how I did this.

Beautiful Beta's TOC hack requires two components. There is the code which calls the contents of your blog, and provides a link in the sidebar:

<div id="toclink"><a href="javascript:showToc();">Show TOC</a><br/><br/></div> <script style="text/javascript" src="http://home.planet.nl/~hansoosting/downloads/blogtoc.js"></script> <script src="http://YOURBLOG.blogspot.com/feeds/posts/default?alt=json-in-script&max-results=999&callback=loadtoc"></script>
And the div element which features in a widget above your blog posts:

    <div id="toc"></div>

We need to combine both of these elements inside a post page, which will then create the link to show the contents of your blog, and open this in the actual post page.

First, create a new blog post and edit this in HTML mode, instead of rich text compose mode. Then, copy both elements of code from Beautiful Beta's hack into this page, like this:

Don't forget to change "YOURBLOG.blogspot.com" to the actual URL of your blog!

Then simply save the page, and you are done!

If you have more than 100 posts in your blog, you will need to repeat the line which calls the posts feed from your blog, modifying this so that it begins from the 101st post, like this:

<script src="script src="http://YOURBLOG.blogspot.com/feeds/posts/default?alt=json-in-script&start-index=1&max-results=100&callback=loadtoc"></script> <script src="http://YOURBLOG.blogspot.com/feeds/posts/default?alt=json-in-script&start-index=101&max-results=100&callback=loadtoc"></script>
If you have more than 200 posts, you will need to add extra lines where the start-index is 201, and so on.

This ensures all of your posts are included in the original table of contents.

IMPORTANT: if you have already installed the TOC hack in your sidebar and above the main posts column, you will need to delete these two widgets to ensure they don't interfere with the loading of the table of contents on your post page, and also slow down blog loading time!

How it works

The TOC hack uses javascript to call the post titles from your blog's feed, and then displays them in a tabular format, arranged by post title, date or label.

This version of the TOC hack works almost exactly the same as Beautiful Beta's: the reader must click on the link to display the whole table of contents in the page, and is shown a message to explain that the page is loading. The main advantage of using a post page to display the TOC is that page loading time is significantly reduced for the whole blog, and only the TOC post page had a longer loading time.

I would have preferred to have the TOC load instantly with the page, but after some experimentation, I believe that I would need to add an "onload" function to the head of my template, which would load the TOC along with the rest of the blog even though it is only displayed on one page. However, I have tried to contact Beautiful Beta to verify this, and will of course post more on this subject here if this is possible.

Further modifications

If you take a look at my own Table of contents page, you will notice that I have also slightly modified some other elements of the hack:

  • Changed part of the javascript to include a message above the table which explains how the contents can be used.
  • Added styling to the table to ensure it matches the styling of my blog
  • A slight change to the text above the "Show TOC" link

To add the styling for the template, I added some lines of extra CSS to the <b:skin> area of my template. Here is the CSS styling I added for your reference if you would prefer to also style your own TOC post pages:

The code I used

If you would like to use the modified javascript used here at Blogger Buster to display the TOC hack in a post page, feel free to copy the code below and paste this into your post page:

<div id="toclink"><p>On this page you can see the whole list of posts published.</p> <p>To show the full table of contents, please click on the link below (this may take a few moments to load)</p> <p><a href="javascript:showToc();"><b>Show table of contents</b></a></p> <br/><br/><br/><br/></div> <script style="text/javascript" src="http://bloggerbuster.com/scripts/blogtoc.js"></script> <script src="http://YOURBLOGURL.com/feeds/posts/default?alt=json-in-script&max-results=999&callback=loadtoc"></script> <div id="toc"></div>

Don't forget to change "YOURBLOGURL" to the proper url for your blog!

Adding a link to your Table of Contents page

You will probably want to make a link in your sidebar to the table of contents page. Just visit the page you have created and copy the url from the address bar. Then create a new text widget (or HTML/Javascript if you prefer), create your link text, and then make this text into a hyperlink using the url you have copied. Then your blog readers will easily be able to find your table of contents page and will not be troubled by long page loading times!

Technorati Tags: | | | |

October 08, 2007

How to create a calendar widget for your blog

In this template, I use a calendar style widget to display the posting date of my posts. This style has recently cropped up in many Web 2.0 style Wordpress blogs, and is easily reproduced in Blogger layouts blogs too. Here I will show you how to create your own calendar widgets to feature at the top of each post.

This Blogger hack uses a combination of javascript, CSS and some slight modification to your template to display the date a post was published over a calendar-style background. There are only three main steps to change your date header to a calendar widget, so don't worry if my explanation seems rather complicated! Here is what you should do:

  1. First, go to Settings>Formatting, and change the date header format to YYYY-MM-DD like this: This enables the script we will be using to correctly parse the date header format.
  2. Next, go to Template>Edit HTML and ensure you have checked the "expand widget templates" box. Now, find the <data:post.dateHeader> section in the posts widget (if you search for "dateHeader" you should be able to find this quickly).
    The "data:post.dateHeader" line may also be wrapped in headings tags (eg: <h2> or <h3> etc.). Instead, we need to wrap this in <div> tags with a class of "date-header", so the line will look like this:
    <div class="date-header"><data:post.dateHeader/></div>
    . Once you have changed this line, save your template.
  3. Finally, open up the Edit HTML section again (no need to expand widget templates this time). Just before the closing </head> tag, add this section of code:
    <!-- calendar widget -->
    <script src='http://bloggerbuster.com/scripts/fastinit.js'/>
    <script src='http://bloggerbuster.com/scripts/prototype-1.5.0.js'/>
    <script src='http://bloggerbuster.com/calendar.js'/>
    <link href='http://bloggerbuster.com/calendar.css' rel='stylesheet' type='text/css'/>
    <!-- end calendar widget -->
    Save your template and view your blog to see the new calendar widget in place!

I originally found a tutorial for this Blogger hack over at Orangevolt which uses a script to parse date headers wrapped in <H2> tags. However, I decided to modify both the code and the image used which ensures greater flexibility over where the widget can be placed.

Customizing the calendar widget

If you would prefer to customize the calendar widget to suit your own taste and style, you can do this by modifying the CSS styling used for this hack.

There are two ways of doing this: you can either download the CSS file, modify and upload to your own server, or copy the styling below into the b:skin section of your template to change the style from within the template itself.

This is the styling I used for the calendar widget:

span.cal {
background:transparent url('images/calendar.jpg') no-repeat scroll 0%;
float:left;
margin-right: 10px;
height:36px;
width:35px;
font-family:"Helvetica",Tahoma,Arial;
font-size-adjust:none;
font-style:normal;
font-variant:normal;
font-weight:normal;
}
span.cal_month {
color:#FFFFFF;
display:block;
font-size:10px;
line-height:11px;
margin-left:1px;
padding-top:1px;
text-align:center;
text-transform:uppercase;
}
span.cal_day {
color:#999999;
display:block;
font-size:18px;
line-height:18px;
margin-left:1px;
padding-top:4px;
text-align:center;
text-transform:uppercase;
}
.sidebar {
margin-bottom: 20px;
}
As you can see, there are many ways the calendar widget may be styled, including:
  • The image background (use the full url if you decide to change this image!)
  • The height and width of the calendar icon
  • The alignment of the calendar (change "float: left" to "float: right" if you would prefer the widget to appear on the right of the page, for example).
  • The font and text sizes
plus many more examples than I can list here.

I would suggest that it is better to link to a css file on an external server than to use this styling inside the template. This is because I often noticed problems with the styling in Internet Explorer when I experimented with the styling in the b:skin area. There seem to be no problems at all when linking to the external style sheet.

You may also like to experiment with the positioning of the date header in your template. In this blog for example, I placed the date header code directly before the post title section, which ensures it appears to the left of the post title.

Why doesn't the calendar appear on some of my posts on the main/archive pages?

The date header will only appear on the top most item which is posted on a given day. So if you post say, three times in a single day, only the newest post will feature the calendar widget. So far, I haven't figured out a way to make this appear for each and every post!

Note: This post has now been edited to correct an error in the code which may have prevented this hack from working in your blogs. I do apologize for this problem guys! Everything should work fine for you now!

Please let me know what you think of the calendar widget by leaving your comments and opinions below.

Technorati Tags: | | | | |

Advertise on Blogger Buster

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

© Blogger Buster 2010 Home | About | Contact | Hire Me | Privacy Policy