
国内现在微博以及在线收藏服务很多, 它们可以让更多人分享好的文章.
WordPress类似的插件有几款, 如国内的17Fav, 国外的Share this.
如果你喜欢折腾博客, 不妨自己手动进行添加, 做成你想要的样式.
1. 各站提交代码
A. 微博客
Twitter (推特)
1 2 3 4 5 <a href="http://twitter.com/home?status=我正在阅读: <?php the_title(); ?> (<?php the_permalink(); ?>)" target="_blank"> <font color="#33ccff"> Twitter </font> </a>
1 2 3 4 5 <a href="http://app.foxling.cn/dilink/share.asp?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>" title="嘀咕一下" target="_blank"> <font color="#33ccff"> 嘀咕 </font> </a>
1 2 3 <a href="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)"> 饭否 </a>
1 2 3 <a href="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"> 做啥 </a>
1 2 3 4 5 <a href="http://jiwai.de/wo/share/s?u=<?php the_permalink() ?>&t=<?php the_title(); ?>" target="_blank"> <font color="#ffc73a"> 叽歪 </font> </a>B. 网络书签
1 2 3 4 5 <a href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>¬es=" target="_blank"> <font color="#3274d0"> Delicious </font> </a>
1 2 3 4 5 <a href="http://shuqian.qq.com/post?from=3&title=<?php the_title(); ?>&uri=<?php the_permalink() ?>&jumpback=2&noui=1" target="_blank"> <font color="#000000"> QQ书签 </font> </a>
1 2 3 4 5 <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=<?php the_permalink() ?>&title=<?php the_title(); ?>"> <font color="#5054f1"> Google </font> </a>
1 2 3 4 5 <a href="http://cang.baidu.com/do/add?it=<?php the_title(); ?>&iu=<?php the_permalink() ?>&fr=ien#nw=1" target="_blank"> <font color="#2319dc"> 百度 </font> </a>雅虎
1 2 3 4 5 <a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php the_permalink() ?>&t=<?php the_title(); ?>" target="_blank"> <font color="#ff0000"> 雅虎 </font> </a>乐收
1 2 3 4 5 <a href="http://leshou.com/post?act=shou&reuser=&url=<?php the_permalink() ?>&title=<?php the_title(); ?>&intro=&tags=&tool=1" target="_blank"> <font color="#243e5a"> 乐收 </font> </a>收客
1 2 3 4 5 <a href="http://www.shouker.com/mc/col/post2.aspx?title=<?php the_title(); ?>&surl=<?php the_permalink() ?>&tags=&desc=" target="_blank"> <font color="#fda847"> 收客 </font> </a>9fav
1 2 3 4 5 <a href="http://www.9fav.com/profile/user_url/add?t=<?php the_title(); ?>&u=<?php the_permalink() ?>" target="_blank"> <font color="#e19d75"> 9fav </font> </a>C. 阅读推广
推荐到鲜果
1 2 3 4 <a href="http://www.xianguo.com/service/submitdigg/?link=<?php the_permalink() ?>&title=<?php the_title(); ?>" target="_blank"> <font color="#f75014"> 推荐到鲜果 </font></a>垦一垦
1 2 3 4 5 <a href="http://www.ken1ken.com/submit/?source=bookmarklet;ver=2;url=<?php the_permalink() ?>;title=<?php the_title(); ?>" target="_blank"> <font color="#ff7d00"> 垦一垦 </font> </a>我挖
1 2 3 4 5 <a href="http://www.digbuzz.com/submit.php?url=<?php the_permalink() ?>" target="_blank"> <font color="#b2b2b2"> 我挖 </font> </a>挖客
1 2 3 4 5 <a href="http://www.waakee.com/submit.php?url=<?php the_permalink() ?>" target="_blank"> <font color="#b2d281"> 挖客 </font> </a>奇客
1 2 3 4 5 <a href="http://www.diglog.com/submit.aspx?title=<?php the_title(); ?>&url=<?php the_permalink() ?>&description=" target="_blank"> <font color="#f1250c"> 奇客 </font> </a>Gootou
1 2 3 4 5 <a href="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)})();"> <font color="#097bd4"> Gootou </font> </a>Mister.Wong
1 2 3 4 5 <a href="http://www.mister-wong.cn/index.php?action=addurl&bm_url=<?php the_permalink() ?>&bm_description=<?php the_title(); ?>" target="_blank"> <font color="#990000"> Mister.Wong </font> </a>
2. 加入到文章页面
A. 修改CSS
添加代码到style.css
1 2 3 4 5 6 7 #share{ border-top:1px solid #d4dee4; text-align:left; margin-top:10px; padding:10px 7px 5px 7px; }B. 插入代码
在主题文件夹中新建bookmark.php文件, 插入第1步你需要的代码, 然后在single.php中插入下面的代码
1 2 3 4 5 <div id="share"> <?php include (TEMPLATEPATH . '/bookmark.php'); ?> </div>C. 效果
特别感谢下Yacca大叔提供代码.
End






这个CSS的效果是什么啊?
写的不错呀,非常全面。
真全啊
嘀咕现在很红包的样子 但因为我不使用 所以也就没添加了 哈
CSS只是用来控制Div的大小的, 颜色是通过font来实现啦.
收了。谢谢分享
每次来都有收获~呵呵~
挺全面,你完全有必要把它作成插件,哈哈。
呵呵,很全,但是我现在用的博客上好像都已经包括了
还有,把文字和控制颜色的代码换成图片是不是显示的就是图片啊?
好东西哦,谢谢分享!
非常好的东西。。。收藏了
都很全面啊
有空研究研究这个
真不错!下次会用的着的