Friday, May 22, 2009

ADD DIGG BUTTON TO POST PAGE

Do you know Digg.com? I'm sure you know about digg.com, because digg.com is a most popular site in the world. With digg.com you can discover and share your blog content. So it's one of the way to increse your blog traffic. But I do not want to converse many hitting about digg.com, which I will focussed is the step of installing the digg button on your page post. Yea, this is my mean :



digg button on the post



With Digg button you can easy to submit your post with your self or with your visitor to digg.com. Feel interesred to add digg button to your blog? this the steps :

  1. Login to blogger with your ID

  2. After entering the dashboard page , click Layout.

  3. Then click edit HTML tab.

  4. Click the Download full template link. Save your template:

  5. Please mark the little box beside Expand Widget Templates. Wait for a moment.

  6. Go to your template code, and find the code like this :



  7. <p>&ltdata:post.body/></p>



  8. Delete the code above and alter with following code :



  9. <p>
    <!-- DIGG -->
    <div style='float:right; margin-left:10px;'>
    <script type='text/javascript'>
    digg_url = ">'
    </script>
    <script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
    </div>
    <data:post.body/>
    </p>



  10. Click Save Template button.


  11. Done. Now digg button was added to your post.



Allright, that is if your template code is original, how about template code was modified with Read more function as my post. You must change your read more code with this :


<b:if cond='data:blog.pageType == "item"'>

<style>.fullpost{display:inline;}</style>

<p>
<!-- DIGG -->
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url = '>';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
<data:post.body/>
</p>


<b:else/>

<style>.fullpost{display:none;}</style>

<p>
<!-- DIGG -->
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
<data:post.body/>
</p>


<a expr:href='data:post.url'
><b>Read More...</b></a>

</b:if>


Save your template and done.

If you feel this post in usefull, please Digg it.
See you at my next interesteing post. Cheer.

By Kang Rohman

0 comments:

Powered by Blogger.

Link Friend's

( A )Aan20 | Achinllg | Andiebuytank | Anotherstoryfromme | Anak Nelayan | Arsipanberita | Auto-runs | Autoins21 ( B ) Bestcamera | BANYAKILMU | BlogCenti | Blekenyek | bizril | BUTIKU PALACE | Bayu The Maniac | BLOGGING TUTORIAL | BisAwanG | Blog-adhi | BlogIndonsesia | Business Blog ( C ) Cindybitney | Crunchour | Cah-eleq | Cacainadjourney | Coolkillady | Cyndimac72 | Celebryti | CENTRE-ICE ( D ) DiMensi Berita | Demcyapdiandias ( E ) emie-myrecollection | Eri-communicator | Ebooks Recourses ( F ) Free Toefl | Fraudmamy | faiUnismaMalang | Freedommessage ( G ) Geekymother | GaMinGtV | Goceng's Blog | Gitarkeren | GET REAL RICH | Gratistutorialebook ( H ) Haiabrakadabra | Hasannudin | Healthupyourlife ( I ) Tips dan Trik Komputer | Infobiznisonliner | Indulge! by veronizm | Internazionale Milan And Indonesian Culture | IRMAGI BLOG | Idonbiu ( J ) Jurassicparktoys | Jigalbigal | Joshlynreyn | John Thor ( K ) Katiebug05 | KALTENG004 | Kualatungkalboy | Kolom-tutorial ( L ) Louisdizon | Lulu-bitz-and-pieces ( M ) Muatringtone | Masih-berharap - N - ( O ) Obamainthewhitehouse | OJIENLING | O-OM ( P ) Pinkflower9978 | Perawatan-ac | Psikologizone | Pelangihorison - Q - ( R ) Rewangz | Raini-aikidoka | RETAPNP | RAKEARTS | Rokoksalemforex | rklivengood1128 | Rachmattullah ( S ) SAngMilyader | Saif569 | selfesteemblogforwomen | Sproutkzoo | sinay blog | SIJAGUR | So-bat ( T ) Tipspack | TUKAR INFO | TECHZEST | texaswithlove1982 | Timontius P | Tukar Link dan Promosi Website ( U ) Unmyst3 ( V ) VIJAY SUPERSTAR | Visitindonesianow | View the world | Vestpension ( W ) Weisse-schokolade | Welcomemynewblog | Winecountryconcepts | World of Cricket | World Health Medicine ( X ) Xander ( Y ) Yudhi-xiii | Yezdibooo - Z - zeppoawards

Followers

 
Copyright © . Technology | Android Tablet | Computer | Apps - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger