首先找到下面这段代码:<b:if cond="data:post.labels">
然后在下面添加上这段代码:
<data:postlabelslabel>
<b:loop values="data:post.labels" var="label">
<a href="data:label.url" rel="tag"><data:label.name></data:label.name></a><b:if cond="data:label.isLast != "true"">,</b:if>
</b:loop>
</data:postlabelslabel></b:if><a href="http://fanfou.com/sharer?u=[url]?t=[title]?s=bl" expr:title='data:post.title' expr:name='data:post.url' onmouseover="this.href=this.href.replace('[url]',encodeURIComponent(this.name)).replace('[title]',encodeURIComponent(this.title));this.onmouseover='';this.title='分享文章到饭否';" target='_blank'><img src="http://static.fanfou.com/img/icon.gif" alt="分享文章到饭否" /></a>
你可以在我的博客中看到效果。
感谢王元涛热情无私的帮助,这段代码完全是靠他完成的。
2007年7月29日星期日
在blogger中添加分享到饭否按钮
订阅:
博文评论 (Atom)
1 个无聊的人:
呵呵!不错.收下了.
发表评论