Showing posts with label Meta. Show all posts
Showing posts with label Meta. Show all posts

Monday, 16 August 2010

Auto generated meta tags description for blogger using python

Auto Generate Meta tags and Description for Blogger or Blogspot script written in python Sebastian Noack has written a very good script to auto-generate meta tags and description for Blogger or Blogspot.Previously we have seen how to add meta tags for each individual post and this script does that manually.

This generates the meta tags based on the feed of your blog and updates the html template at Blogger. It generates meta tags for the following pages.

The hompage
  • with the blog description 
  • with the most used tags in the blog as keywords 
The page of each post
  • with the first paragraph of the post as description 
  • with the tags of the post as keywords 

Unfortunately,it’s written in python language which is a bit complicated for Windows user(like me)who are not familiar with Linux operating system.

What we expect
He definitely have done a great job in creating this hack. it's however quite a challenge for ordinary blogger to understand.Blogspot user needs only to copy/paste the script into the Blogger template without any need to run a complicated python script.

See Screenshot from no-ack blog post -
Code to switch the meta tags, generated and inserted into the template by the script


Page of a post with corresponding meta tags

Thursday, 26 November 2009

How to add different meta tags for each individual posts -blogger


Why word press is consider as better blogging  than blogger is due to the fact that it allow us to add different meta tags for every individual posts by just installing plugins such as all in one seo wordpress plugin.
Now you can reduce this gap to some extent by using this tricks by which you can add meta tags for all individual posts.
Lets start this process :
1.Open blogger and login .
2.Navigate through Layout >> Edit Html
3.Click on Expand widget template : Expand widget template.
4.Use your browser search to find <head> 
5.Now paste the following code below <head> 


<b:if cond='data:blog.url == "enter the url of the post here"'>
<META NAME="keywords" CONTENT="enter keywords here separated by comms" />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"/>
</b:if>

Note : Please note that for each post you have to add this code again by writing the post URL (link) and keywords.
Some thing like this : first one is for your home page and the remaining for your individual posts.

<b:if cond='data:blog.url == "http://myfundoo-blog.blogspot.com/"'>
<META NAME="keywords" CONTENT="Fun with blog,blogger tricks ,blogger tips,blogger tools,widgets,blogger tutorials," />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"/>
</b:if>
<b:if cond='data:blog.url == "http://myfundoo-blog.blogspot.com/2009/11/how-to-add-display-or-insert-orkut.html"'>
<META NAME="keywords" CONTENT="orkut,orkut share" />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"/>
</b:if>
<b:if cond='data:blog.url == "http://myfundoo-blog.blogspot.com/2009/11/how-to-make-rounded-corners-in-your.html"'>
<META NAME="keywords" CONTENT="rounded corners,without using image" />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"/>
</b:if>
<b:if cond='data:blog.url == "http://myfundoo-blog.blogspot.com/2009/11/simple-javascript-to-display-date-and.html"'>
<META NAME="keywords" CONTENT="date and time widget,blogger,javascript" />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"/>
</b:if>

6.Save your template once you have finished adding meta tags.