Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. Show all posts

Monday

How To Place AdSense Ad Below Post Title & Post Body

Posted By: Arin Dey - September 05, 2011
One of the most popular Ad Network on the web is Google AdSense. Most of the Blogger users use it. There is no specific way or trick where should we put the Ads for maximum exposure. Bloggers are putting the ads in places around the header or above the posts or below the post titles. From Blogger Layout view you can easily add AdSense in your sidebar as a gadget. Since Blogger doesn't allow us to place the ads below post titles (see Google AdSense Ad Placement). But placing Ad units below post titles has proven to be one of the most successful money making place in a web page. So let’s go for this AdSense setup and follow the below how-to steps to add your AdSense ads below post titles or below post.
google adsense
Note: Assuming that we are using the new AdSense interface.

Here we go with the steps:

Before we start take a backup of your existing Template before making any changes.

1. Log in to your Google Adsense at https://www.google.com/adsense/
2. Click on My ads tab and open Ad units from the left side by expanding Content link.
3. Now Click new ad unit to create a new ad.
4. Select the size, type and color of your ad. For best results chose either 336x280 large or 300x250 medium rectangle.

adsense code setup

5. According to Blog topic give some memorable name.
6. Fill up the required information, click save and get code button at the bottom of the page.
7. A pop-up window will appear with the ad code. Copy that code.

collect adsense code

8. Now it’s time to paste the code in blogger page but before pasting the ad code in Blogger, we must make it compatible with Blogger format.

Go to Hacktrix (http://www.hacktrix.com/adsense-code-converter/) and paste the ad code in the top box and convert (parse) it. You'll find the converted (parsed) ad code in the bottom box there. Copy the converted ad code.
9. Now open your Blogger account and go to Template (as per new Blogger interface) then Edit HTML tab and check Expand Widget Templates option.

10. Press Ctrl + F to find
<data:post.body/>
               You'll see some code like the following:
<div class='post-body entry-content'><data:post.body/><div style='clear: both;'/></div>
11. Now paste the converted (parsed) ad code just before the above code (for below post title) and paste beneath that if you want them to appear below post body. The result would look something like this:
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxxxxxx";
/* Advertisement */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class='post-body entry-content'>
<data:post.body/>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
12. Click the Preview button to see the preview page. You might not see ads below post titles instantly because sometimes AdSense ads take some time to display. 

13. Save your template by clicking the Save template button. 

14. See your webpage. It’s ready with AdSense Ads.

Note : Make Ads Appear Only on Post Pages

Viewers don't like to see more ads on a single page. So, we can hide the ads under post titles on main page. These ads will appear only when users will click the post title and go to the post page. Follow the steps above but after step 8 you have the converted ad code. Ad some more code in that converted code so that it should look like below:

<b:if cond='data:blog.pageType == "item"'><script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxxxxxx";
/* Advertisement */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></b:if>
Just an addition to the previous code by adding “if” condition to make the ads appear only on post pages. After that, follow the rest of the steps.

Please review the policies of Google AdSense before using any code on your blogs. They keep changing their TOS.

How To Add Related Posts Widget to Blogger / Blogspot

Posted By: Arin Dey - September 05, 2011
This post will help you to add related posts widget to your blogger posts to display links of related topics/posts below each of your blog posts. This is a nice tip for which a lot of  your site viewers will stay on your site to read some other topics too related to the present topic. This trick will generate interest to the viewers to keep reading your blog.
How To Add Related Posts Widget to Blogger

Note : Assuming you are using new Blogger interface.

Here we go with process:

1. Go to Template > Edit HTML in your Blogger Dashboard.

2. Take a back up of your existing Template before making any changes. 

3. Check the "Expand Widget Templates" box. 

4. Search for the tag.

5. Add the following code just before the tag.
<style> #related-posts { float : left; width : 540px; margin-top:20px; margin-left : 5px; margin-bottom:20px; font : 11px Verdana; margin-bottom:10px; } #related-posts .widget { list-style-type : none; margin : 5px 0 5px 0; padding : 0; } #related-posts .widget h2, #related-posts h2 { font-size : 20px; font-weight : normal; margin : 5px 7px 0; padding : 0 0 5px; } #related-posts a { text-decoration : none; } #related-posts a:hover { text-decoration : none; } #related-posts ul { border : medium none; margin : 10px; padding : 0; } #related-posts ul li { display : block; background : url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6OX758W59LlDVc6jadHazcc9QHiLCEWjAJVJYeC5eDVCbBrBi4-TwPvd1zCQWd2AS0xrfODfGi94jm2RLoG4JdvCrftumUkka7MMi-yn6yHJe7P-OZYcjnE3yazZtHuEf1gbX78_tQ2s/") no-repeat 0 0; margin : 0; padding-top : 0; padding-right : 0; padding-bottom : 1px; padding-left : 21px; margin-bottom : 5px; line-height : 2em; border-bottom:1px dotted #cccccc; } </style> <script src='http://theblogtemplates.com/scripts/Related_posts_hack.js' type='text/javascript'/>
Now search for <data:post.body/>. In some of the templates this code may look like this
<div class='post-body>
6. Now search for <data:post.body/>. In some of the templates this code may look like this
<div class='post-body>
or
<data:post.body/>
7. Add the following code just below the code you just searched for.
<b:if cond='data:blog.pageType == "item"'>
<div id="related-posts">
<font face='Arial' size='3'><b>Related Posts : </b></font><font color='#FFFFFF'><b:loop values='data:post.labels' var='label'><data:label.name/><b:if cond='data:label.isLast != "true"'>,</b:if><b:if cond='data:blog.pageType == "item"'>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=5"' type='text/javascript'/></b:if></b:loop> </font>
<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();
</script>
</div></b:if>
8. Now save your Template and we've done.

You can CUSTOMIZE in order to change the number of maximum related posts being displayed for each label, search for the code below (within the code given in step 7) and change the number "5" to any desired number.
max-results=5           
So we have done adding a widget for related posts.

Saturday

About Blogger.com

Posted By: Arin Dey - August 20, 2011
A lot of blogging platforms are available over net for writing your contents. Among all the free blogging platforms, blogger.com and wordpress.com are the most popular. Most of the beginner bloggers start their blog on blogger/blogspot. Lets know how Blogger got introduced.

In words from Blogger.com :
Blogger was started by a tiny company in San Francisco called Pyra Labs in August of 1999. This was in the midst of the dot-com boom. But we weren't exactly a VC-funded, party-throwing, foosball-in-the-lobby-playing, free-beer-drinking outfit. (Unless it was other people's free beer.)We were three friends, funded by doing annoying contract web projects for big companies, trying to make our own grand entrance onto the Internet landscape. What we were originally trying to do doesn't matter so much now. But while doing it, we created Blogger, more or less on a whim, and thought — Hmmm... that's kinda interesting.Blogger took off, in a small way, and eventually a bigger way, over a couple years. We raised a little money (but stayed small). And then the bust happened, and we ran out of money, and our fun little journey got less fun. We narrowly survived, not all in one piece, but kept the service going the whole time (most days) and started building it back up.Things were going well again in 2002. We had hundreds of thousands of users, though still just a few people. And then something no one expected happened: Google wanted to buy us. Yes, that Google. - Blogger.com
About Blogger.com

Wikipedia explains as "Generally, the blogs are hosted by Google at a sub-domain of blogspot.com. Up until May 1, 2010 Blogger allowed users to publish blogs on other hosts, via FTP. All such blogs had (or still have) to be moved to Google's own servers, with domains other than blogspot.com allowed via Custom URLs. In July of 2011 a news outlet announced that Google intends to change the name of the service from "Blogger" to "Google Blogs," as part of a larger plan to re-brand or retire all non-Google brands in its portfolio of products and services."
                       
             Integration :

  • The Google Toolbar has a feature called "BlogThis!" which allows toolbar users with Blogger accounts to post links directly to their blogs. 
  • "Blogger for Word" is an add-in for Microsoft Word which allows users to save a Microsoft Word Document directly to a Blogger blog, as well as edit their posts both on- and offline. As of January 2007, Google says "Blogger for Word is not currently compatible with the new version of Blogger", and they state no decision has been made about supporting it with the new Blogger. However, Microsoft Office 2007 adds native support for a variety of blogging systems, including Blogger. 
  • Blogger supports Google's AdSense service as a way of generating revenue from running a blog. 
  • Blogger also started integration of Amazon Associates as a service to generate revenue. 
  • Blogger offers multiple author support, making it possible to establish group blogs. 
  • Blogger offers a template editing feature, which allows users to customize the Blogger template. 
  • Google Docs has direct publishing integration to Blogger. 
  • Windows Live Writer, a standalone app of the Windows Live suite, publishes directly to Blogger. 
  • In a version of the service called Blogger in Draft, new features are tested before being released to all users. New features are discussed in the service's.

    Limitations :

  • Blogger has imposed the following limitations on content storage and bandwidth, per user account: 
  • Number of blogs = Unlimited 
  • Size of pages = Individual pages (the main page of a blog or archive pages) are limited to 1 MB 
  • Number of labels = 5,000 unique labels per blog, 20 unique labels per post 
  • Number of pictures (hyperlinked from user's Picasa Web Album) = Up to 1 GB of free storage 
  • Size of pictures = If posted via Blogger Mobile, limited 250 KB per picture; posted pictures are scaled to 800px[citation needed] 
  • Team members (those that can write to a blog) = 100 
  • Stand-Alone Page = Limited to 10 stand-alone pages
By offering a free service blogger.com has received a lot of appreciation and it keeps growing in its space with introducing various inbuilt tools and options which make blogging easy.

Copyright © 2010-2023 Poketors | The content of this website is copyrighted and may not be reproduced on other websites.| Email us at : admin@poketors.com.