Membuat Random Post blog

Written By Namaqu Aoi on Tuesday, November 9, 2010 | 3:50 PM

silahkan lagin dulu ke akunn blog anda. kemudian :

  1. Buka Layout (Tata Letak) » Page Elements (Elemen Laman).
  2. Klik Add a Gadget (Tambah gadget).
 







     3. Pilih gadget HTML/JavaScript.




  1. Copy-paste script berikut ke dalam gadget tadi.
    <script src="http://www.google.com/jsapi/?key=ABQIAAAAcV2jSs52yGHKNXjYTcwvNBQjGizh_00DUHOFTBoYdXcXzGgaZxRGIm148GyVsULR8I1--uCF7hoW2w" type="text/javascript"></script>

    <script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js" type="text/javascript"></script>

    <script type="text/javascript">
    function showGadget() {
    var feeds = [
    {title:'title',
    url:'http://namablog.blogspot.com/feeds/posts/default?redirect=false&start-index=1&max-results=999'},
    ];
    new GFdynamicFeedControl(feeds, 'feedGadget',
    {numResults : 1000, stacked : true,
    title: " "});
    }
    google.load("feeds", "1");
    google.setOnLoadCallback(showGadget);
    </script>

    <div id="feedGadget"><center><img src="http://img80.imageshack.us/img80/1577/loadingtrans.gif" /></center></div>
  2. Jangan lupa ganti nama blog anda.
  3. Simpan gadget.
Sekarang lihat hasilnya. Postingan anda akan tampil secara random (acak).
selamat mencoba yaa,, semoga bermanfaat,, amin amin :)



0 comments:

Post a Comment