World News

I can't find my blog on my dashboard.

Wednesday, August 18, 2010

If you're able to sign in to your Blogger account but can't see your blog on your dashboard, you may have multiple Google Accounts and are most likely signed in to the wrong one. Try signing in with each email address that you may have used to create a Google Account.
If you don't remember which email address you used to sign up, just go to www.blogger.com/forgot.g and enter the URL of the blog you're trying to gain access to. You'll be given a hint about which email address is associated with that blog, and we'll send an email with sign-in instructions to that address.
READ MORE - I can't find my blog on my dashboard.

Cara Membuat Random Post / Postingan Mengacak

Thursday, August 12, 2010

Maksud daripada judul di atas adalah kita memasang daftar artikel secara mengacak di blog kita membuat daftar ini sangatlah mudah dan kita bisa menempatkannya dimanapun kita mau. pada sisi side bar ataupun pada footer kita.

Langkah-langkahnya sangatlah mudah seperti kita menambahkan gadget pada blog kita.
1. Login ke Blogger
2. Kemudian klik Tata Letak lalu Elemen Halaman
3. Ketika sudah berada di Elemen Halaman klik Tambah Gadget
4. Lalu pilih HTML/JavaScript
5. Langkah selanjutnya masukkan kode dibawah ini :

<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ul style="text-transform: capitalize;">');
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ul>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=ac99ebe0691031008a48d750fdbeaa67&url=http%3A%2F%2Fnamablog.blogspot.com&num=10" type="text/javascript"></script>
<small>Get this widget
[ <a href="http://bestdailynews-info.blogspot.com/2010/08/cara-membuat-random-post-postingan.html" target="_blank">Here</a> ]</small>


6. Ganti namablog.blogspot.com pada kode tadi dengan alamat blog kamu. Lalu simpan...


Note : Angka 10 adalah jumlah postingan yang akan ditampilkan secara acak.
jika cara diatas tidak muncul..gunakan cara ke 2
<script type="text/javascript">
var randarray = new Array();var l=0;var flag;
var numofpost=10;function randomposts(json){
var total = parseInt(json.feed.openSearch$totalResults.$t,10);
for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
document.write(item);}}
}document.write('</ul>');}
</script>
<script src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=randomposts" type="text/javascript"></script>
    <small>Get this widget [ <a href="http://bestdailynews-info.blogspot.com/2010/08/cara-membuat-random-post-postingan.html" target="_blank">Here</a> ]</small>
READ MORE - Cara Membuat Random Post / Postingan Mengacak