Well this is new gadget specially for blogger users. This gadget shows your blog post randomly one by one with excerpt. You can easily install it in 3 steps and can place it above the posts or somewhere else.
Now let me tell it’s features first provided from the author...
1. Shows one post title at a time.
2. Links to the post.
3. Shows post excerpt also.
4. Every 5 seconds shows a new post.
5. Cycles through all the posts in the blog.
6. Starts a new cycle at the end of the list.
7. Once loaded continues cycling even when not connected to the Internet.
8. Uses official Google AJAX technology.
9. Can be used on other blogging platforms (not tested).
10. Hovering with mouse cursor over the post title halts the rotation till mouse moves off the gadget.
How It Works?
To save space and yet show all posts one by one this gadget uses official Google AJAX API Feed technology and the Dynamic Feed Control. It fetches the post titles and data from your blog and displays it in the gadget.
Installation
As I said in starting, installing this gadget is possible in just 3 steps which are as follow:
1. Go to Blogger Account>Blog>Layout. Here on the Page Elements tab, click on add gadget and then scroll down to click on Add Html/Javascript gadget.
2. Now on the blank space fill it with the following code.
type=”text/javascript”>
function showGadget() {
var feeds = [
{title:'title',
url:'http://MYBLOG.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=999'},
];
new GFdynamicFeedControl(feeds, ‘feedGadget’,
{numResults : 1000, stacked : true,
title: “BLOG_TITLE ~ Random Posts.”});
}
google.load(“feeds”, “1″);
google.setOnLoadCallback(showGadget);
To eliminate any problem, you can also get the code from this text file.
In the following code above you have to first edit the things which are marked in bold Otherwise it won’t work for you.
Change “MYBLOG” to actual blog subdomain which you registered with and “BLOG_TITLE” to actual title of your blog. And after that Click on Save Button.
3. Now to make it look nice drag this gadget above the posts. See the screenshot for proper understanding:
Please make sure that after dragging the gadget you click on the save button to make that gadget look at that place.
Now Check your blog…
Optimize
Changing colors and size of this widget is very simple..Just look at the code properly and you will become expert in this
No comments:
Post a Comment