Sunday, 30 August 2009

How to insert Codes and Scripts in Blogger Posts

If you enter any Java Script or HTML code in your posts, Blogger will automatically execute that code considering it a regular part of your post. We just need to encode our HTML special characters like <, >, & into entities <, >, &. This is a really painful process but Beta Templates is here to help you.

1- Go or to  paste your code in the box there and press CONVERT AD CODE button.

2- The page will refresh and you'll see that the code you pasted in the box has changed. Don't worry, copy that code and paste it in your post.

3- Publish your post and you'll see that your original code will appear perfectly without execution.

Tip: When you're trying to directly copy-paste Adsense code in Blogger HTML, you'll first need to convert it otherwise you might receive an error.

Very Effective SEO tips for Blogger Templates

Search Engine Optimization tips for Blogger Templates

These days, there is much discussion of how blog content can be optimized for search engines in order to receive better rankings. But have you considered how your blog template can be optimized too?

Swap Title Tags for Better SEO

If you open a post on your blog and look at the top of your browser, you'll see that your blog title is shown first and then the post title comes. We can improve our SEO (search engine optimization) by swapping these two tags so that the post title should appear first and the blog title after it.

1- Log in to Blogger | Dashboard | Layout | Edit HTML.

2- Find:


3- Replace the above code with the following one:

<b:if cond='data:blog.pageType == &quot;index&quot;'>

4- Save your template and see what appears first, your blog title or the post title. by