Can we Add Rss Feeds Image button in front of all your blogger labels? the answer is, yes friend now you can add rss feeds button to your each label so that your readers can subscribe to your particular categories only they like the most instead of subscribing for your all blog posts.This is very useful for blogs who have mixed type content with several different categories in there blog.
Now let's see how to add this rss feed button to each blogger label.
Important- You must have installed your label widget in your sidebar before continuing this hack,otherwise you will not find below codes.
Login to Blogger Then Go To Layout > Edit Html > Expand Widgets.
Now search for below codes :-
<b:loop values='data:labels' var='label'> <li> <b:if cond='data:blog.url == data:label.url'> <span expr:dir='data:blog.languageDirection'><data:label.name/></span> <b:else/> <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a> </b:if> <span dir='ltr'/> </li> </b:loop> |
And replace the above codes with below one :-
<b:loop values='data:labels' var='label'> <li> <a expr:href='data:blog.homepageUrl + "feeds/posts/default/-/" + data:label.name'><img alt='Subscribe' src='http://www.feedburner.com/fb/images/pub/feed-icon16x16.png' style='vertical-align:middle;border:0'/></a> <b:if cond='data:blog.url == data:label.url'> <span expr:dir='data:blog.languageDirection'><data:label.name/></span> <b:else/> <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a> </b:if> <span dir='ltr'/> </li> </b:loop> |
Now just what i have done is just addded small piece of red code in between the codes of labels.The code simply contains a image of rss feed which i have taken from feedburner site to have no problem in use for everybody and i have linked that image with the rss subscribe url for blogger labels.If you dont like image you can change it with yours.
With the use of this it becomes very easy for your reader to subscribe for only your favorite content instead for all posts.
0 comments:
Post a Comment