Menginstall Disqus di Blogspot

Discussion in 'Blogger' started by Dan, Jan 20, 2013.

  1. Dan

    Dan Forum Bot

    Joined:
    Dec 4, 2012
    Messages:
    1,316
    Likes Received:
    257
    Trophy Points:
    83
    Google+:
    Kita juga bisa menginstall Disqus di Blogspot seperti pada WordPress, dan langkah-langkahnya pun tidak serumit yang kita bayangkan.

    Langkah pertama adalah menambahkan widget HTML/Javascript baru melalui Tata letak, isikan Disqus pada title, lalu paste text berikut sebagai isinya.


    Code:
    
    

    Kemudian kunjungi halaman Template, klik Edit html. Cari kata Disqus, untuk panduan dari website resmi Disqus kita harus mengklik Expand Widget Templates tapi saya tidak melakukan itu.


    Code:
    <b:widget id='HTML1' locked='false' title='Disqus' type='HTML'/>
    

    Copy paste code berikut untuk menggantikan kode diatas, sesuaikan id="HTML1" dengan id yang Anda temukan misal id="HTML3".


    Code:
    <b:widget id="HTML1" locked="false" mobile="yes" title="Disqus" type="HTML">
    <b:includable id='main'>
                <script type='text/javascript'>
                    var disqus_shortname = 'EXAMPLE';
                    var disqus_blogger_current_url = "<data:blog.canonicalUrl/>";
    
                    if (!disqus_blogger_current_url.length) {
                        disqus_blogger_current_url = "<data:blog.url/>";
                    }
    
                    var disqus_blogger_homepage_url = "<data:blog.homepageUrl/>";
                    var disqus_blogger_canonical_homepage_url = "<data:blog.canonicalHomepageUrl/>";
                </script>
    
                <b:if cond='data:blog.pageType == "item"'>
                    <style type='text/css'>
                        #comments {display:none;}
                    </style>
    
                    <script type='text/javascript'>
                        (function() {
                            var bloggerjs = document.createElement('script');
                            bloggerjs.type = 'text/javascript';
                            bloggerjs.async = true;
                            bloggerjs.src = 'http://'+disqus_shortname+'.disqus.com/blogger_item.js';
                            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bloggerjs);
                        })();
    
                    </script>
                </b:if>
                    <style type='text/css'>
                        .post-comment-link { visibility: hidden; }
                    </style>
    
                    <script type='text/javascript'>
                    (function() {
                        var bloggerjs = document.createElement('script');
                        bloggerjs.type = 'text/javascript';
                        bloggerjs.async = true;
                        bloggerjs.src = 'http://'+disqus_shortname+'.disqus.com/blogger_index.js';
                        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bloggerjs);
                    })();
    
                </script>
    </b:includable>
    </b:widget>
    

    Pada EXAMPLE (saya warnai merah) ganti dengan shortname situs Anda, klik Save.

    Selengkapnya: Install Disqus di Blogger.
     
  2. Jumbulen

    Jumbulen Guest

    Sudah install Disqus mas, dan

    Sudah install Disqus mas, dan memang mantap. Tapi mungkin kurang SEO friendly ya karena sepertinya Google tidak mengindeks JS, malah bagus jauh dari spam.
     
  3. ukmdigital

    ukmdigital New Member

    Joined:
    Feb 6, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    bisa dicoba ni, soalnya

    bisa dicoba ni, soalnya blogcepot peliharaan ane jadi sarang spam :(
     
  4. samuel

    samuel Member

    Joined:
    Feb 5, 2013
    Messages:
    478
    Likes Received:
    15
    Trophy Points:
    18
    Google+:
    mayan

    Lumayan sih Disquss , tapi agak ribet kalo mau comment para Reader nya *biggrin*
     
  5. ncang

    ncang Super Level

    Joined:
    Feb 7, 2013
    Messages:
    4,653
    Likes Received:
    761
    Trophy Points:
    113
    Google+:
    pernah coba install disqus,

    pernah coba install disqus, tapi direset lagi ke default blogger dan sekarang pakai g+ , emang sih lebih kerasa formalnya kalo disqus
     
  6. profhariz

    profhariz Member

    Joined:
    Jun 25, 2013
    Messages:
    86
    Likes Received:
    1
    Trophy Points:
    8
    Google+:
    Tips yang lumayan. Tetapi

    Tips yang lumayan. Tetapi saya lebih suka pakai yang biasa saja :)
     
  7. pram

    pram Well-Known Member

    Joined:
    Sep 23, 2013
    Messages:
    3,099
    Likes Received:
    161
    Trophy Points:
    63
    Google+:
    Jumbulen wrote:

    itu seo mas, tingagal enable sync blogger... dan sekarang google sudah bisa mengindex iframe
     
  8. KBlogger

    KBlogger New Member

    Joined:
    Mar 7, 2014
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Keren...

    tapi masih setia ama G+ komen, hehehe lebih seo friendly
     
  9. pram

    pram Well-Known Member

    Joined:
    Sep 23, 2013
    Messages:
    3,099
    Likes Received:
    161
    Trophy Points:
    63
    Google+:
    makasih nih om Dan

    makasih nih om Dan Tutorialnya karena sekarang disqus kalau auto installer di blogspot sering gagal.
     
  10. zaky

    zaky New Member

    Joined:
    Jul 3, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    ane pernah pake disqus tapi tak hapus..bikin berat load blog.
     

Share This Page