Showing posts with label Blogging. Show all posts
Showing posts with label Blogging. Show all posts

Tuesday, March 10, 2009

Useful tool for including programming codes in Blogger post

I came across this useful tool. It allows you to easily include programming codes in your Blogger posts.


All you need to do is to copy and paste your codes into the left panel, convert, then copy and paste the output in the right panel into your blog post in the Edit Html mode.

For those who need to highlight syntax in their codes, a good option is syntaxhighlighter. Here's a good howto on how to incorporate syntaxhighlighter in your blog template.

Enjoy :)

Tuesday, January 10, 2006

Keeping track of visits to your blog

If you maintain one or more blogs, you may want to track the number of visits, page views, etc on your blogs. Why? Because this is an essential step towards understanding more about your blogs, how well-received they are by the world out there. Or you may be contemplating a keyword/cost-per-click advertising program, so having some statistics will be helpful towards gauging how successful this program may be for you.

I personally find this free tool from ShinyStat a gem and have used it on my blog Cyberfellowship. Check it out to see the stats counter right at the bottom of the page. In addition, you get up to 10 free reports for your use.

To add the counter HTML code to your blog, simply put it in the footer section of your template as shown below.



Enjoy fellow bloggers :)
category: c4e1_tips

Monday, January 02, 2006

Categorize your blog postings

As you post more blog entries, you will find a need for categories. I'll tell you why:
  • Your readers need to easily locate your posts by topic
  • They may not be able to reach long-archived postings, especially since archive links list archives by dates, and if you have many of them, going through them gets daunting, and the fact that Previous Posts shows only last 10 posts doesn't help

You will realise that Blogger doesn't offer post categorization. There are ways to achieve this. Do a search on "blog how to categorize posts" & you will see a variety.

I have ruled out using Technorati as it seems that you need an account with del.icio.us, besides when I used Technorati to search my blog, the results were not as bad as Blogger Search but still way incomplete. Ruled out using Blogger Search (beta) as suggested by Danchong as Blogger Search result is horrid, also read that search only covers blog entries posted after a certain date in 2005, which doesn't work for me since I started blogging way before that date.

I finally settled for a combination of using PicoSearch and a drop-down box as suggested by Li Zhao. It's brilliant & practical. All entries were accurately picked up by Pico. Li Zhao has documented how it's done, but to add on, I will share some tips & caveats.

1. Put the codes from Pico in your blog template's profile-container just before $BlogMemberProfile$. This will make your drop-down box appear in every page of your blog.

2. Create as many categories as you like via OPTION VALUE, eg. before the tag.

3. Save your template and republish whole blog.

4. In your posts, ensure that you enter the keyword (c4e1_tips in above example) somewhere in the body of your post. I do so in the last line in the smallest available font. You can creatively hide this using a font color that matches your blog post body.

5. The reason why I use a cryptic-sounding keyword is so that you won't get funny ads on your search results. For example, if you have a generic keyword such as "fun", expect all manners of suggestive ads when users go to this category.

6. About the keyword:

Since PicoSearch can search up to 3 sites that you specify, in order to ensure that the search in each blog returns only entries for that blog, prepend your keyword with something unique to that blog. In my example, this blog is http://computing4every1.blogspot.com, so I prepend the keyword with an abbreviated code (c4e1) of this blog. When I search this blog, it will not return entries from other blogs registered in my account with Pico.

Caveats:

  1. The free version of PicoSearch indexes up to 250 pages. If you don't archive your posts, this can go a long way. When you hit this limit, consider a paid version, or hopefully by then, Blogger Search is better or Blogger comes with categorization.
  2. You need to manually re-index via Pico when you have added new postings.

Category: c4e1_tips