30个博客书签收藏分享代码, 适用于WordPress博客。感谢博译论的投递,基于精品博客的代码列表的扩展。帕兰个人常得鲜果是必备和效果最好的,其它基本可有可无,看你的喜好了。
黑防联盟注:以下30个代码适合放在WORDPRESS博客里面。
1. 分享到Twitter的代码
<a href=&quot;http://twitter.com/home?status=<?php the_permalink(); ?> <?php the_title(); ?>&quot; title=&quot;分享到 Twitter&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;>Twitter</a>
2. 分享到嘀咕的代码
<a href=&quot;http://app.foxling.cn/dilink/share.asp?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>&quot; title=&quot;嘀咕一下&quot; target=&quot;_blank&quot;>嘀咕</a>
3. 分享到饭否的代码
<a href=&quot;JavaScript:var d=document,w=window,f='http://fanfou.com/share',l=d.location,e=encodeURIComponent,p='?u='+e(l.href)+'?t='+e(d.title)+'?d='+e(w.getSelection?w.getSelection().toString():d.getSelection?d.getSelection():d.selection.createRange().text)+'?s=bl';if(!w.open(f+'r'+p,'sharer','toolbar=0,status=0,width=600,height=400')){l.href=f+'.new'+p;}void(0)&quot;>饭否</a>
4. 分享到做啥的代码
<a href=&quot;javascript:u=location.href;t=document.title;t=t.substr(0,76);c=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);c=c.substr(0,180);location=%22http://zuosa.com/collect/Collect.aspx?t=%22+encodeURIComponent(t)+%22&u=%22+encodeURIComponent(u);void%200&quot;>做啥</a>
5. 分享到叽歪的代码
<a href=&quot;http://jiwai.de/wo/share/s?u=<?php the_permalink() ?>&t=<?php the_title(); ?>&quot; target=&quot;_blank&quot;>叽歪</a>
6. 分享到豆瓣的代码
<a href=&quot;javascript:void(function(){var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:' ',r='http://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',x=function(){if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()&quot; title=&quot;推荐到 豆瓣&quot; rel=&quot;nofollow&quot; >豆瓣</a>
7. 分享到Facebook的代码
<a href=&quot;http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>&quot; target=&quot;blank&quot;>Facebook</a>
8. 分享到FriendFeed的代码
<a href=&quot;javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://friendfeed.com/share/bookmarklet/javascript');document.body.appendChild(e)})())&quot; title=&quot;分享到 FriendFeed&quot; rel=&quot;nofollow&quot;>FriendFeed</a>9. 分享到Google Reader的代码
<a href=&quot;javascript:var%20b=document.body;var%20GR________bookmarklet_domain='http://www.google.com';if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.src='http://www.google.com/reader/ui/link-bookmarklet.js');void(b.appendChild(z));}else{}&quot; title=&quot;Share in Google Reader&quot; rel=&quot;nofollow&quot;>Google Reader</a>
10. 分享到海内的代码
<a href=&quot;javascript:void((function(s,d,e,t,v){var f=&rsquo;http://hainei.com/share.proxy?a=&rsquo;,u=d.location,l=d.title,p=['& src=bookmark&url=',e(u),'&title=',e(l),'&v=',v,'& i=',t].join();function a(){if(!window.open([f,'bmlet',p].join(),&rsquo;hnsharer&rsquo;, ['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width- 626)/2,',top=',(s.height-436)/2].join()))u.href= [f,'newurl',p].join();};if(/Firefox /.test(navigator.userAgent))setTimeout(a,0);else a();})(screen,document,encodeURIComponent,1207710314,1));&quot;>海</a>
11. 分享到鲜果的代码
<a href=&quot;http://www.xianguo.com/service/submitdigg/?link=<?php the_permalink() ?>&title=<?php the_title(); ?>&quot; target=&quot;_blank&quot;>鲜果</font></a>
12. 分享到垦一垦的代码
<a href=&quot;http://www.ken1ken.com/submit/?source=bookmarklet;ver=2;url=<?php the_permalink() ?>;title=<?php the_title(); ?>&quot; target=&quot;_blank&quot;>垦一垦</a>
13. 分享到我挖的代码
<a href=&quot;http://www.digbuzz.com/submit.php?url=<?php the_permalink() ?>&quot; target=&quot;_blank&quot;>我挖</a>
14. 分享到挖客的代码
<a href=&quot;http://www.waakee.com/submit.php?url=<?php the_permalink() ?>&quot; target=&quot;_blank&quot;>挖客</a>
15. 分享到奇客的代码
<a href=&quot;http://www.diglog.com/submit.aspx?title=<?php the_title(); ?>&url=<?php the_permalink() ?>&description=&quot; target=&quot;_blank&quot;>奇客</a>
16. 分享到Gootou的代码
<a href=&quot;javascript:var%20glx_t='default';(function(){var%20js=document.createElement('script');if(typeof(js)!='object')js=document.standardCreateElement('script');js.type=%22text/javascript%22;js.src='http://www.gootou.com/js/fetch_page.js';document.getElementsByTagName('HTML')[0].appendChild(js)})();&quot;>Gootou</a>
17. 收藏到Delicious的代码
<a href=&quot;http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>&notes=&quot; target=&quot;_blank&quot;>Delicious</a>
18. 收藏到QQ书签的代码
<a href=&quot;http://shuqian.qq.com/post?from=3&title=<?php the_title(); ?>&uri=<?php the_permalink() ?>&jumpback=2&noui=1&quot; target=&quot;_blank&quot;>QQ</a>
19. 收藏到Google的代码
<a href=&quot;http://www.google.com/bookmarks/mark?op=add&bkmk=<?php the_permalink() ?>&title=<?php the_title(); ?>&quot;>Google</a>
20. 收藏到百度的代码
<a href=&quot;http://cang.baidu.com/do/add?it=<?php the_title(); ?>&iu=<?php the_permalink() ?>&fr=ien#nw=1&quot; target=&quot;_blank&quot;>百度</a>
21. 收藏到雅虎的代码
<a href=&quot;http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php the_permalink() ?>&t=<?php the_title(); ?>&quot; target=&quot;_blank&quot;>雅虎</a>
22. 收藏到乐收的代码
<a href=&quot;http://leshou.com/post?act=shou&reuser=&url=<?php the_permalink() ?>&title=<?php the_title(); ?>&intro=&tags=&tool=1&quot; target=&quot;_blank&quot;>乐收</a>
23. 收藏到收客的代码
<a href=&quot;http://www.shouker.com/mc/col/post2.aspx?title=<?php the_title(); ?>&surl=<?php the_permalink() ?>&tags=&desc=&quot; target=&quot;_blank&quot;>收客</a>
24. 收藏到9fav的代码
<a href=&quot;http://www.9fav.com/profile/user_url/add?t=<?php the_title(); ?>&u=<?php the_permalink() ?>&quot; target=&quot;_blank&quot;>9fav</a>
25. 收藏到Mister.Wong的代码
<a href=&quot;http://www.mister-wong.cn/index.php?action=addurl&amp;bm_url=<?php the_permalink() ?>&amp;bm_description=<?php the_title(); ?>&quot; target=&quot;_blank&quot;>Mister.Wong</a>
26. 收藏到有道的代码
<a href=&quot;javascript:void(window.open(&rsquo;http://shuqian.youdao.com/manage?a=popwindow&title=&rsquo; + encodeURI(document.title) + &lsquo;&url=&rsquo; + encodeURI(document.location), > 有道</a>
27. 推荐到九点的代码
<script type=&quot;text/javascript&quot; src=&quot;http://9.douban.com/js/button_widget.js&quot;></script>
28. 推荐到sphinn
<script type=&quot;text/javascript&quot; src=&quot;http://sphinn.com/evb/button.php&quot;></script>
29. 推荐到digg的代码
<script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;></script>
30. 推荐到stublem upon的代码
<a href=&quot;http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>&quot;><img src=&quot;http://cdn.stumble-upon.com/images/120x20_su_gray.gif&quot;></a> |