One more Idea to put different meta tag for different post

Meta descriptions for your web pages can improve the chances of your site being found and clicked on. For those of you who tried adding such descriptions or keywords to your Blogger pages, you might have noticed there's no easy way of doing that.

This article describes the workaround I found for this problem and is a follow-up to the discussions posted here:

About the solutions mentioned in the articles above:

  1. If you add a "constant" meta tag to your Blogger template (as described in the first article), all your pages will have the same description and keywords. This defeats the purpose of this optimization effort and you'll have to go with the solution from the second link. However...

  2. The JackBook Dot Com code seems to be a bit outdated and using it might cause one of the following problems:

    • 404 error when trying to view any of your web pages, or...

    • The blog is displayed correctly, but the description and keywords are not seen by any meta analyzers.

Here are the changes you have to apply to your template in order for the descriptions to work correctly:

  1. Open the Layout panel of your blog and go to Edit HTML.

  2. Click the Download Full Template link and save a backup copy of your current template so you can undo the following changes in case anything goes wrong.

  3. Locate the following lines of code:
  4. <head>
  5. Add the following code immediately after the line:

  6. Replace the http://learn-webcreation.blogspot.com/ line with the URL of your homepage.

  7. Replace the word DESCRIPTION with a description for your homepage.

  8. Replace the word KEYWORDS with a list of keywords separated by commas and relevant for your homepage.

  9. Now, for each individual page from your blog you'll need to follow steps 4-7 again, but adding corresponding URL's, descriptions and keywords. For example, if your first article is about your pet, what you'll need to do next is...

  10. Add this code again immediately after the line:

  11. Replace the http://learn-webcreation.blogspot.com/ line with http://learn-webcreation.blogspot.com/2008/03/my_pet this_is_an_example.html.

  12. Replace the word DESCRIPTION with a description of my pet.

  13. Replace the word KEYWORDS with pet,dog,dog_name.

  14. After adding code for all of your pages, save the template and check if it's doing what it's supposed to.

Read rest of entry

How To Put Bookmarks Under Each Blogger Post.

I found a new way to put a bookmark under each post in blogger. And i think this is pretty neat.All you have to do are the following guides below.

1. log in to your blogger account.
2.Click layout and edit html.
3.Check the expand widget.
4.Click Ctrl and F and paste the code below

and copy the code below and put it under the code in step 4 .Enjoy!!!


Read rest of entry

How to Add a "Share This in Google Reader" Button to Your Blogger Posts

Wouldn't it be great if you could add a button to every post that would make it easy for your visitors to share your posts with their friends in Google Reader, even if they don't subscribe to your feed?

The following is instructions to do just that, for Blogger layout based blogs. (Blogger Classic, Wordpress, and basic static HTML page instructions will be posted soon.)

This will require you to edit the HTML of your template. While I have tried to make this as easy as possible, those that don't feel comfortable with this, should not try it.

The button will only show on post pages and not the main page of your blog. It's not wise to do this any other way, as the URL that will be supplied in Google Reader will be the URL of the page in which your button is clicked. If it is on the main page, the post may not be there when someone reads the entry in someone's shared items, and it is likely not to win you any new loyal readers, so use this only on post pages.

I have also added some comments in the code that will make it much easier for you to add addional buttons in the future, and have them appear on all pages or just post pages.

1. On your Blogger Dashboard, click the Layout link for the blog you want to add the button to.

2. At the top of the Layout page, click the link for Edit HTML.

3. Where it says "Backup/Restore Template", click the link that says "Download Full Template" and save the .xml file to your hard drive. This file will help you restore your template, in case anything goes wrong.

4. In the "Edit Template" section, check the box at the top right that says "Expand Widget Templates".

5. Use your browser's search function to find this line:

<div class='post-footer'>

6. Find the 2 lines in your template that look like this:


<div class='post-footer'>

<p class='post-footer-line post-footer-line-1'>

7. Copy and paste the following code between those 2 lines:



<!-- Footer Button Codes BEGIN -->

<div>

<p>

<!-- things placed after this line will show on all pages -->



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

<!-- things placed after this line will only show on post pages -->



<a href='javascript:var%20b=document.body;var%20GR________bookmarklet_domain="http://www.google.com";if(b&&!document.xmlVersion){void(z=document.createElement("script"));void(z.src="http://www.google.com/reader/ui/link-bookmarklet.js");void(b.appendChild(z));}else{}'>

<img alt='Share this in Google Reader' border='0' src='http://appsapps.info/blog/blogspot-layouts/gr-small.png'/>
</a>

<!-- Google Reader Share Item Button END -->

<!-- Do Not Paste Any Code Below This Line -->

</b:if>

</span>



</div>

<!-- Footer Button Codes END -->


8. Click the button at the bottom of the page that says "Save Template".

If you get any red errors, leave a comment stating the specific error message, and I will try to help you out. If you get any errors beginning with "bX-", just try again tomorrow. Sometimes Blogger has issues with itself and waiting a bit can resolve them.

9. Look at your blog. If you have done this correctly, the button should appear on post pages only, and not the main page. Test the button by clicking it on a post and sharing one of your posts in Google Reader.

10. If you would like to add other buttons to the footer of your posts, the comments in the code will help you decide where to put your button codes. One place will show on all pages, and the other will only show on post pages.

11. If you would like a larger button than the one that shows when you use this code, find the word "small" in the file name of the image URL used, and replace it with "large".
Read rest of entry

How to Create 'Read More' link

Did you ever wonder how to cut down lengthy article? See, you got here a 300 word essay, which you publish in your frontpage; but readers get bored easily reading that post. Does this problem got any solution? Luckily, the answer is no other than a 'yes'. You could cut down your essay into a short 2 to 3 paragraph by utilizing the 'Read more...' link. Here's how you do it.

First, you need to know that you are facing the dreaded html editing, but I will make this as simple as I can. Ok, let's get started.

Open your Dashboard and go to 'Layout'. Choose the 'Edit HTML' tab. Find
</head> in the html code. Once you find it, paste the following code right before the </head> tag:
<style>
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style>
So it will look like this:
]]></b:skin>
<style>
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style></head>

Save the template. Next you need to check the 'Expand widgets' checkbox. Then look for the tag
<data:post.body/>. Once you found it, you need to add the following code right after it:
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url' >Read more...</a>
</b:if>
If you do it correctly, your code should look like the this:
<data:post.body><b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url' >Read more...
</b:if>
Ok you are done for the html part. Now moving on to your posts. To cut off lengthy article, type your post like this:
A catchy summary of the article
<span class="fullpost">The lengthy description</span>
The words inside the </span> be replaced by a 'Read more...' link.
Read rest of entry
 

WEB CREATION Copyright © 2009 Blog is Designed by Suvanno Tharu Sponsored by Hitsweb Pvt.Ltd