Minggu, 21 November 2010

Cara Membuat Share This Post


Mungkin diantara para sobat blogger belum mengerti apa maksud dan fungsi Share This Post ini. Share This Post ini terdapat 7 tombol, yaitu : Digg, Delicious, Facebook, Google, Stumble, Technorati dan Twitter. Fungsinya adalah untuk mensubmit artikel Anda dengan mudah karena kita tinggal mengklik saja salah satu social bookmark dan secara otomatis artikel Anda akan langsung tersubmit ke social bookmark. Dan tentu saja fungsi utama Social Bookmark adalah meningkatkan traffic pengunjung.

Langsung aja deh, gk usah basa-basi..

1. Log in blogger.com
2. Dasbor > tata letak > edit HTML
3. beri tanda centang pada Expand Template Widget
4. Cari kode ]]></b:skin>
5. Letakkan script di bawah ini, dan letakkan di atas ]]></b:skin>

div.sociable { margin: 16px 0;}

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
position: absolute;
display: block;
top: -5em;
background: #ffe;
border: 1px solid #ccc;
color: black;
line-height: 1.25em;
}
.sociable span {
display: block;
}
.sociable ul {
display: inline;
margin: 0 !important;
padding: 0 !important;
}
.sociable ul li {
background: #f5f5f5;
display: inline !important;
list-style-type: none;
margin: 0;
padding: 2px;
}
.sociable ul li:before { content: ""; }
.sociable img {
float: none;

border: 0;
margin: 0;
padding: 0;
}

.sociable-hovers {
opacity: 0.4;
-moz-opacity: 0.4;
filter: alpha(opacity=40);
}
.sociable-hovers:hover {
opacity: 1;
-moz-opacity: 1;
filter: alpha(opacity=100);
}


6. Lalu cari kode <data:post.body/>
ket: Jika blog Anda sudah memakai fungsi readmore, maka terdapat dua kode tersebut. Maka pilih kode yang kedua/terakhir biar tidak tampak pada halaman utama.

7. Copy kode di bawah ini, lalu letakkan di bawah <data:post.body/>

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='sociable'>
<div class='sociable_tagline'>
<img alt='maspeypah' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPvg8VID5qD_NoF96LBAF_tQvLimxVrDRa5YmjHYk7Lvl-2RnJ8PAMU5bvTNjIcGVy54Up55Z7vLPDpvDoW2M6S0gIrNPn_WlTz3uST_iJEM7Tl-L83lJiG8gNqGB5QTP97b3ZJ5GrxAx5/s1600/share.jpg' title='Share This Artikel'/>
</div>
<ul>
<li><a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Digg' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhn1NZ6DTJYQAyzRjHtplvhuuUzzobYBv2aAp9hTC01ySUdknkiOVAajknATpUqHlF_QTwHfUmaA0eXzb5pd2c1SlEFvpyN9iDrmU2ISIbhwm3UVFFkzlKuoBhyphenhyphen3Fgz0DTg2kTgkeNZzL4/s400/digg.png' title='Digg'/></a></li>
<li><a expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='del.icio.us' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGfw2P7swwwVEZ8W8_ZDjQbH_d3yaNSh0I9-5mxdtWgbaipxdUCndOtHQrGRzqXWsf4jJEC5irUYKEK2riYnJWvnmab5q2_a8eXX9M0kFpgiJEpFZirKkqJoF-Sq1NFE5Y5MWUUr3tjaye/s400/delicious.png' title='del.icio.us'/></a></li>
<li><a expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Facebook' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwPAVny5ZSiY07x-5yUGGMF-WDm_8YbFX06uUClL11hDHejaoGC4HdiDjuhbl5qFcQJixCHbQdHvZ9BUWyevhK21KMBjPmPinruuyBpB4zNT6eje5fZypvsSfbLHOUaSO8RmLSIhyphenhyphenCUaZp/s400/facebook_002.png' title='Facebook'/></a></li>
<li><a expr:href='&quot;http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Google' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmh3nLX9ziZ2tPCkh_c6oTESlAbGdvMJqr0munxz2ugIXuqI7VqBt1GuhnReTkilAcQSmmV-UJiuHpOjyql_dnyEBkQLo0iyU1vL-gGdWUrzecch9CnOdr5inGXUgnuMYQDZOhEWgyGK_n/s400/googlebookmark.png' title='Google'/></a></li>
<li><a expr:href='&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='StumbleUpon' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLHkLrbW6GAaDwZdOloksS8SgAghRc0zv-EPzufUQup6MX3_cwiD22ezmI98s_Gp10tSfdMWv9el7CTluNpdY3azv1-SnHRJtJgESdDwcxQHT9W2cQWGxnATfwpX1UDpgYomVCmC6GrnIR/s400/stumbleupon.png' title='StumbleUpon'/></a></li>
<li><a expr:href='&quot;http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Technorati' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaxDaFtFE5prH5DVVyQQMUgeGuDg4uKLaxjVYVK5CaRXX5sbaCunGtRJkwo5W3Zeag0Q9s40QLusHurkNNTNECsEt2v1mCjN_l3ges79-RIB0XQ6V3EPubC6I-eRIm95-NgIpvbQQ2Tg0Z/s400/technorati.png' title='Technorati'/></a></li>
<li><a expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='TwitThis' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaZd3QFIZITEXnNRZ9OXg6h5KkZ1y_AFDWWb_QdSztqZrPAfBZjIs1fBZADVdwHsptyF9q6dijLsY-XEv-NR9OsAwr5e6SH7wOojHocHHGJ_4vFUswSNgUNCrQCN_i1yad9BgAq1BLBYdA/s400/twitter.gif' title='TwitThis'/></a></li>
</ul>
</div>
</b:if>

8. Simpan

semoga bermanfaat..

0 komentar:

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites