Zblog 如何为博客添加RSS订阅、QQ聊天按钮

前端之家收集整理的这篇文章主要介绍了Zblog 如何为博客添加RSS订阅、QQ聊天按钮前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

如何在Zblog首页文章页添加RSS订阅、QQ聊天按钮。(其他博客程序,或网页也可类似添加,下面以Zblog为例)

1、添加RSS订阅功能

复制下列代码

<div class="function">
<a href="http://www.zhuaxia.com/add_channel.PHP?url=http://Feed.Feedsky.com/xukeke" target="_blank"><img border="0" src="http://img.Feedsky.com/images/icon_subshot01_zhuaxia.gif" alt="&#25235;&#34430;" vspace="0" style="margin-bottom:3px" ></a><br />
<a href="http://fusion.google.com/add?Feedurl=http://Feed.Feedsky.com/xukeke" target="_blank"><img border="0" src="http://img.Feedsky.com/images/icon_subshot01_google.gif" alt="google reader" vspace="2" style="margin-bottom:3px" ></a><br />
<a href="http://www.xianguo.com/subscribe.PHP?url=http://Feed.Feedsky.com/xukeke" target="_blank"><img border="0" src="http://img.Feedsky.com/images/icon_subshot01_xianguo.gif" alt="&#40092;&#26524;" vspace="2" style="margin-bottom:3px" ></a><br />
<a href="http://mail.qq.com/cgi-bin/Feed?u=http://Feed.Feedsky.com/xukeke" target="_blank"><img border="0" src="http://img.Feedsky.com/images/icon_subshot01_qq.gif" alt="QQ&#37038;&#31665;" vspace="2" style="margin-bottom:3px" ></a><br />

首页添加——粘贴到default的侧栏位置,保存后重新上传

文章页添加——粘贴到single的侧栏位置,保存后重新上传(这个可能需要文件重建)

2、添加QQ聊天按钮

复制下列代码

<a target=blank href=tencent://message/?uin=705584736&Site=http://www.xukeke.com/&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:705584736:13 alt="点击这里给我发信息"></a>
</div>

然后参照“添加RSS订阅”将其粘贴到对应的网页代码里!

注:大家可仔细研究下代码

如缺少<div class="function">.....</div>格式,效果是居中的,加上后是左对齐,这样更工整点儿~

还有src="图片地址",大家可以自己ps图,然后上传到网上,再加链接,这样或许会更符合DIY的精神!

最后,完成的效果图见本博客:www.xukeke.com

出处:网络蚂蚁http://www.xukeke.com/post/16.html  

猜你在找的wordpress相关文章