如何在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="抓虾" 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="鲜果" 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邮箱" 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