Xhtml Blogger · Share Buttons - Dewa Blogger

Halaman

    Social Items

Buy Now

Xhtml Blogger · Share Buttons

Dalam Konsep

<b:includable id='shareButtons' var='post'>   <b:if cond='data:top.showEmailButton'>     <a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + &quot;&amp;target=email&quot;' expr:title='data:top.emailThisMsg' target='_blank'>       <span class='share-button-link-text'><data:top.emailThisMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showBlogThisButton'>     <a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + &quot;&amp;target=blog&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=270,width=475\&quot;); return false;&quot;' expr:title='data:top.blogThisMsg' target='_blank'>       <span class='share-button-link-text'><data:top.blogThisMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showTwitterButton'>     <a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + &quot;&amp;target=twitter&quot;' expr:title='data:top.shareToTwitterMsg' target='_blank'>       <span class='share-button-link-text'><data:top.shareToTwitterMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showFacebookButton'>     <a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + &quot;&amp;target=facebook&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=430,width=640\&quot;); return false;&quot;' expr:title='data:top.shareToFacebookMsg' target='_blank'>       <span class='share-button-link-text'><data:top.shareToFacebookMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showOrkutButton'>     <a class='goog-inline-block share-button sb-orkut' expr:href='data:post.sharePostUrl + &quot;&amp;target=orkut&quot;' expr:title='data:top.shareToOrkutMsg' target='_blank'>       <span class='share-button-link-text'><data:top.shareToOrkutMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showPinterestButton'>     <a class='goog-inline-block share-button sb-pinterest' expr:href='data:post.sharePostUrl + &quot;&amp;target=pinterest&quot;' expr:title='data:top.shareToPinterestMsg' target='_blank'>       <span class='share-button-link-text'><data:top.shareToPinterestMsg/></span>     </a>   </b:if>   <b:if cond='data:top.showDummy'>     <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>   </b:if> </b:includable>
Data Keterangan Tampilan/Contoh Tampilan
data:top.showEmailButton Boolean true, false
data:top.showBlogThisButton Boolean true, false
data:top.showTwitterButton Boolean true, false
data:top.showFacebookButton Boolean true, false
data:top.showOrkutButton Boolean true, false
data:top.showPinterestButton Boolean true, false
data:top.showDummy Boolean true, false
data:post.sharePostUrl Elemen ini akan menghasilkan URL berbagi http://www.blogger.com/share-post.g?blogID=52518732703774XXXX2&postID=703794562479435XXXX
data:top.emailThisMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi Kirimkan Ini lewat Email
data:top.blogThisMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi BlogThis!
data:top.shareToTwitterMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi Berbagi ke Twitter
data:top.shareToFacebookMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi Berbagi ke Facebook
data:top.shareToOrkutMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi Bagikan ke Orkut
data:top.shareToPinterestMsg Elemen ini akan menghasilkan judul/deskripsi tautan berbagi Bagikan ke Pinterest
data:post.dummyTag ??? ...

Sumber https://www.dte.web.id/