Showing posts with label create blog. Show all posts
Showing posts with label create blog. Show all posts

Wednesday, 7 November 2012

How to put Adsense code in middle of blogger post

Normally each visitor visits your blog to read post. So if you put adsense in the middle or anywhere of post, ads can get clicked more frequently. It will  help to earn more $$.

To put adsense code in the blog post, it is better parse the code first.So parse it using AdParser.

After parsing,your ad code should look like this.

Log in to your dashboard--> layout- -> Edit HTML
Check on "Expand Widget Templates"

Now find out the following tag:-
<data:post.body/>
Now replace above code with below code.

<div expr:id='"aim1" + data:post.id'></div>

       <div style="clear:both; margin:10px 0">

<!-- Your AdSense code here -->

</div>

<div expr:id='"aim2" + data:post.id'>

<data:post.body/>

</div>

<script type="text/javascript">

var obj0=document.getElementById("aim1<data:post.id/>");

var obj1=document.getElementById("aim2<data:post.id/>");

var s=obj1.innerHTML;

var r=s.search(/x3C!-- adsense --x3E/igm);

if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}

</script>

Now save your template.
Now in every blog post ,Put this special code : <!-- adsense --> in the place where you want to show your adsense ads.

Sunday, 1 July 2012

How to Start a Free Blog at Blogger.com

Step 1: Sign Up to Create a Blog at Blogger.com

Visit the Blogger.com home page and select the "Create Your Blog Now" button to begin the process to start your new Blogger.com blog.

Step 2: Create a Google Account


If you don't already have a Google account, you'll need to create one by completing the form on this page.


Step 3: Sign In with Your Google Account


If you already have a Google account, you can bypass the "Create Google Account" step and simply sign in with your existing Google account username and password.


Step 4: Name Your New Blog




Enter the blog name and corresponding domain name (to precede '.blogspot.com') in the spaces provided.


Step 5: Choose a Template



Select a standard template your new blog.


Step 6: Congratulations - Your New Blog is Active!



Your blog is now live and ready for you to start writing content.


Step 7: Write Your First Post


That's all there is to it! You're now ready to write your first blog post in your new Blogger.com blog and join the blogosphere.