2007年3月13日星期二

在博客中加入方便别人订阅的按钮

我们看很多人的博客上都有"订阅我的博客"的图标,帮助读者订阅博客到流行的RSS阅读器。效果就像这样:
订阅我的博客feed
订阅到抓虾
订阅到飞鸽
bloglines
google reader
gougou
my yahoo
Rojo
Newsgator
netvibes

其实做法很简单,在任何支持自定义HTML的博客里添加"自定义HTML"并将下段代码拷入,注意要把http://feeds.feedburner.com/shangwxblogger换成你自己的feed的地址:

<DIV>订阅我的博客<a href="http://feeds.feedburner.com/shangwxblogger"><img height="16" alt="feed" src=
"http://www.feedsky.com/images/icon_sub_c1s1.gif" width="16" align="absmiddle" border="0" /></a><br>
<A href="http://www.zhuaxia.com/add_channel.php?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=订阅到抓虾 src="http://www.feedsky.com/images/icon_subscribe_zhuaxia_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.pageflakes.com/subscribe.aspx?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=订阅到飞鸽 src="http://www.feedsky.com/images/icon_subscribe_pageflakes_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.bloglines.com/sub/http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=bloglines src="http://www.feedsky.com/images/icon_subscribe_bloglines_fs.gif" width=108 border=0></IMG></A><BR><A href="http://fusion.google.com/add?feedurl=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt="google reader" src="http://www.feedsky.com/images/icon_subscribe_google_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.gougou.com/find_rss.jsp?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=gougou src="http://www.feedsky.com/images/icon_subscribe_gougou_fs.gif" width=108 border=0></IMG></A><BR><A href="http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt="my yahoo" src="http://www.feedsky.com/images/icon_subscribe_yahoo_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.rojo.com/add-subscription?resource=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=Rojo src="http://www.feedsky.com/images/icon_subscribe_rojo_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=Newsgator src="http://www.feedsky.com/images/icon_subscribe_newsgator_fs.gif" width=108 border=0></IMG></A><BR><A href="http://www.netvibes.com/subscribe.php?url=http://feeds.feedburner.com/shangwxblogger"><IMG height=20 alt=netvibes src="http://www.feedsky.com/images/icon_subscribe_netvibes_fs.gif" width=108 border=0></IMG></A> </DIV>


这里主要要说的是对于像MSN Live Space,新浪,搜狐这些不支持所谓"自定义HTML"的博客怎么做呢?
1、MSN Live Space
登录你的msn space,在浏览器的地址栏加入&powertoy=sandbox,,回车。然后点击"自定义"(customize)-->模块(modules),找到Powertoy:Custom HTML。点击添加(add)



别忘了先保存(save)。然后你就可以把上面的html拷贝到刚添加的自定义HTML中了。

2、新浪博客
登录sina博客,点击"维护首页内容"-->编辑"自定义空白面板"-->点"新增"-->选中"显示源代码"-->将上面的代码拷人,并起名字叫订阅我的博客。点击"自定义首页内容模块"-->添加模块-->加入刚定义的空白面板。搞定!

3、搜狐博客
第一步:登陆自己的博客并进入你的个人博客主页
第二步:找到"个人档案"右侧的"管理"点击
第三步:在"主人档案"里粘贴上面的html。sohu的博客对个人档案的字数有限制,所以可能要对上面的html做裁剪,去掉你认为读者用不到的RSS阅读器。

没有评论: