Tuesday, 6 December 2011

Geotagging feature introduced on Blogger


Blogger in draft has recently announced a new feature called Geotagging or location labels which enables you to add locations to each of your post through Google Maps.
It is similar to time stamps of blogger posts which help to browse using specific date/month whereas Geotag give your readers a way to browse posts near a specific location.
geotag-blogger
This feature too has the same problem as most of the blogger in draft features. Yes, Modified blogger templates may not display these so, Follow the steps below to flaunt this new feature.
  1. Enter Blogger in draft (not the normal one)
  2. Go to visual editor and click on Add location link as shown in above screenshot to add a geotag to the post.
  3. Go to Design tab and toggle Expand HTML view
  4. Find this code :
    <div class='post-footer-line post-footer-line-1'>
  5. Paste this code below it :
    <span class='post-location'> <b:if cond='data:top.showLocation'> <b:if cond='data:post.location'> <data:postLocationLabel/> <a expr:href='data:post.location.mapsUrl' target='_blank'><data:post.location.name/></a> </b:if> </b:if> </span>
  6. Save the changes and you are done.
Moreover, you can display your posts on map by adding the blogmap gadget. add it to your blog, click “Add Your Own” on the “Add a Gadget” page and paste in this URL:
http://blogmap-gadget.googlecode.com/svn/trunk/blogmap.xml

No comments:

Post a Comment