FIreHAzaR:-D CRiB

This is not a blog. This is my diary.

Halaman Twitter Status Buat Gita

Instruksi

  1. Buat file kosong dan kasih nama twitter.html
  2. Salin kode yang ini:

    
    <!DOCTYPE html>
    <head>
      <title>Monitored Twitter Status</title>
      <meta charset="utf-8">
      <style>
        body { font-size: 100%; }
        div.twtr-widget { font-size: 1em !important; }
        div.twtr-timeline { height: auto !important; max-height: 300px; }
      </style>
    </head>
    <body>
     <script src="http://widgets.twimg.com/j/2/widget.js"></script>
     <script>
       new TWTR.Widget({
         version: 2,
         type: 'search',
         search: '@BangMir OR @ntepy OR #deringskpop -#jualan',
         interval: 60000,
         title: 'My Twitter Collection',
         subject: 'Whatever',
         width: '100%',
         theme: {
           shell: {
             background: '#000',
             color: '#fff'
           },
           tweets: {
             background: '#fff',
             color: '#444',
             links: '#1985b5'
           }
         },
         features: {
           scrollbar: true,
           loop: false,
           live: true,
           hashtags: true,
           timestamp: true,
           avatars: true,
           toptweets: true,
           behavior: 'default'
         }
       }).render().start();
     </script>
    </body>
    </html>
    
  3. Konfigurasi yang penting:

    • head->style->max-height, ganti tinggi maksimum twitter widget sesuai keinginan.
    • body->script->search, bagian yang paling penting. Minatnya apa aja? Isi di sini.
    • body->script->interval, kalau 60000 artinya di-apded setiap 1 menit.