16 сент. 2009 г.

Random Posts Widget for Blogger

There is also the russian version of install instructions.

The Random Posts Widget for Blogger displays random posts in your blog. You can customize the number of random posts of any blogger blog that you like.

How to Install the Random Posts Widget:

1. Login to your Blogger Dashboard
2. Go to your blog’s Layout, and click "Add a Gadget"
3. Choose from the List "HTML/Javascript"
4. Write in new window title for gadget and add following code in the textarea "Content":

<script type='text/javascript'>
// declare some variables
var blog_url = 'http://dnevnik.ametov.net'; // blog main url -> don't forget write your blog url
var randomCnt = 5; // number of random links
</script>
<script src='http://ametov.net/widgets/widget_random_posts.js' type='text/javascript'></script>
<script type='text/javascript'>
// main function call
showRandomPosts();
</script>

5. To configure this widget, just replace text indicated with blue with your own blog url and with random posts number you'd like to display.

6. Save changes.

That's it.

Ps.
By the way, this script works also everywhere (e.g. other Blogger-Blog, your homepage) you add this javascript code.

2 комментария:

A.Амарсайхан комментирует...

Здравствуйте, Тимур. Вы не поможете мне. Я никак не могу найти русский блог портал.

AT комментирует...

Добрый день,
не совсем уверен, что я правильно понял, про русский блог-портал

Вот два каталога для блогов:
http://www.blogdir.ru/
http://www.blogo.ru/

А если нужна русскоязычная платформе по подобию Блоггера или ЖЖ, то:
http://blog.ru/
http://liveinternet.ru

Тимур