Friday, May 18, 2007

Testing adding link to add del.icio.us at bottom of post

This site How to add del.icio.us links to your posts described a way of adding a link to add a post to del.icio.us at the bottom of every post, so I decided to test it out. The test is successful and you can see the result in this blog Good Health Information.

The method will involve adding a script to the template. Whenever you make any changes to the template, it is always wise to backup the template first and if you are not familiar with how to do it, refer to this post: Backing up and changing template. The post will also show how to get to the template editor window.

In the template window, you will have to find the line
<p class='post-footer-line post-footer-line-3'/>

An easy way to do it is to click inside the template editor window, either press the keys ctrl+A or right-click and click "select all" to highlight the whole template. Press ctrl+C or right-click again and chose "copy" to copy into the clipboard, open Notepad, and paste the template into Notepad. Highlight the whole codes, then click "Edit" in the menu bar and chose "Find". Copy and paste the line you want to find into the "Find" field, then click "Find next". The line will be highlighted. Create some space below the line, then copy the script from the above site and paste it in. Highlight the whole template in Notepad again and copy into clipboard. Go back to the template editor. The whole template should still be highlighted. Just click the DELETE key, then paste the content of the clipboard into the now empty template editor window. Preview, and if OK, click "Save template".

Update 19 May 2007: Found out that Blogsearch take into consideration the number of times that your site/posts have been bookmarked. So I think I will add that to all my major sites, including this one.

No comments: