Posts

Showing posts with the label blogger

Blogger Connects wiith Google Friend Connect

If you are using Blogger as the platform for your blogs you may noticed that the Blogger follower widget, if you have one, has been replaced with Google Friend Connect. Yes, Google has integrated the Blogger follower feature with its Google Friend Connect service. With this features it will be easy for anyone to follow a Blogger's blog. Your blog will have an added exposure since anyone can sign up not just with a Google account but with a Yahoo, AOL, or OpenID id's. If you already has a Follower widget you wont have to do anything it will be automatically migrated to Google Friend Connect.

How to Display Ads Conditionally on Blogger

If you want to show your ads conditionally. For example , say you want to show the ads only on its permalink , there is a way to do that. You will be using conditional statement like the one shown below. <b:if cond='data:blog.pageType == "item"'> From my previous post, we learn how to put ads inside the blog post. Here we want to display the ads, only when the blog post is viewed on its permalink. You can do that by using the code below. <b:if cond='data:blog.pageType == "item"'> The above code test what type of page is being displayed. To use that in our previous code you will do this. <b:if cond='data:blog.pageType == "item"'> <div id-"adsensecode" style="float:left;"> <!--replaced this with your adsense code--> </div> </b:if> <data:post.body/> The above code will display the ads only on the permalink of the post. If you want to display the code o...