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

Sunday, February 20, 2011

How to receive feeds of a particular label/category

Suppose you visit a blog which offers downloads of English and Hindi movies and you want feeds of only Hindi movies, then what is that you do?

Solution is very simple. Just subscribe to Hindi movies category only.

To do this :

Suppose the blog address is http://ycmovies.blogspot.com,

then default feed subscription link is

http://ycmovies.blogspot.com/feeds/posts/default

But if you want to subscribe to a label/category : "Trailors" then link is

http://ycmovies.blogspot.com/feeds/posts/default/-/Trailors/?alt=rss

In case label/category has spaces i.e if the label is "Hindi Movies", then use "%20" instead of "Space". Then the link is

http://ycmovies.blogspot.com/feeds/posts/default/-/Hindi%20Movies/?alt=rss

Sunday, February 21, 2010

How to add your blog to Google search...

Many of us wonder why our site doesnt appear in Google search even if we provide the entire blog address. The answer is very simple. Google needs to be informed that you have created a blog. To do this follow the following steps.

Step 1 :

Add your site to Google Webmasters

To do this, go to Webmasters home and then you will find an option to add site. There you have to fill in your site address.

Step 2 :

Now you will be prompted to "Verify Ownership". Let the verification method be "Meta tag". Copy the meta tag given. Now you have to paste this in your blog template. To do this go to Blogger -> Dashboard -> Layout -> Edit HTML and paste this tag just below <head> tag and save template.

Step 3 :

Now go back to Webmasters and click verify.

Step 4 :

This is the final step. In Webmaster Home you will find your newly added site.Click it to open dashboard. Then go to Site Configuration -> Submit Sitemap or else you will find a link to submit sitemap at right-bottom side of the screen.

Click "Submit a Sitemap".

It will display your site address along with a text box. There just type "atom.xml" or "rss.xml" and submit.

Thats it. You have done your job. Your site starts appearing in Google search in a few days.

Thursday, February 18, 2010

How to display ads within the blog posts

Displaying Ads inside the post body is very useful and fruitful.

Step 1 :

Convert your code into a format that can be embedded into the template.

For doing this refer to this Tutorial and comeback for step 2.

Step 2 :

Go to Dashboard -> Layout -> Edit HTML and select Expand Widget Templates checkbox.

Now search for the following code.

<div class='post-body entry-content'>
<data:post.body/>

If you want to display your ads above the post then paste your converted ad code above <data:post.body/> .

If you want to display your ads below the post then paste your converted ad code below <data:post.body/> .

For example the following code displays an ad (Adsense Link List 468 x 60) just below the post title and above the post body.

<div class='post-body entry-content'>
<br/>
<script type="text/javascript"><!--
google_ad_client = "pub-4854525402780069";
google_ad_host = "pub-1556223355139109";
google_ad_host_channel="00000";
/* 468x15, created 5/1/09 */
google_ad_slot = "7063396771";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br/><br/>
<data:post.body/>

I will let you know the best ad sizes, colors and placements in my further posts.

You are free to use this tip as per your requirements. Happy Blogging...

How To Show HTML Tags in Your Blogger Post

Most of us face this peculiar problem when we try to show some code to demonstrate something in our blog post. Most of us complain that after pasting the code in the blogger post it gets replaced with some junk or it gets lost. Solution to this is very simple.

Just replace

< with &lt;

and

> with &gt;

To do this copy the code ( which you want to display in your post ) into wordpad. Then replace all <'s and >'s

You can also use this Code Converter

How to Correct " 1 Comments " To " 1 Comment " in Blogger

I have observed a small grammatical mistake in Blogger Comments Section.

Instead of displaying '1 Comment', it show '1 Comments'.

In case of 0,2 and above '0 Comments' or '2 Comments' or so is ok.

Correcting this is very simple.

First go to Dashboard -> Layout -> Edit HTML.

Then select "Expand Widget Templates"

Then search for the followning code :

<b:if cond='data:post.numComments == 1'>
1 <data:commentLabel/>:
<b:else/>
<data:post.numComments/> <data:commentLabelPlural/>:
</b:if>

There just replace <data:commentLabel/> with Comment

Thats it ! Now your Blogger Comment Heading H4 is grammatically correct.

Sunday, February 14, 2010

Navigation Bar Tweaks . . .





How to hide that top blue bar in blogger ?

The solution is very simple...

A small change in blogger template makes it possible...

First go to Dashboard -> Layout -> Edit HTML...

Search for the below code...

<b:skin>

and replace it with

<b:skin>
#navbar-iframe
{
display: none;
}

Thats it...

That blue navigation bar is hidden...

Happy Blogging...