June 4, 2007
今天, 朋友imxl推荐我使用这个插件 - ST Add Related Posts to Feed, 功能是用来用来在feed中输出相关文章, imxl在这里有介绍的文章《 添加一个Feed插件 》。
我也顺便安装了一个, 从这篇文章应该就可以测试出来的。 这个软件是需要安装UTW 或者 w-a-s-a-b-i Related Posts的, 如果你已经安装了这两个中的某一个插件, 不妨试试。
摘录一段 ST Add Related Posts to Feed 自己网站的介绍:
This WordPress plugin adds a list of Related Posts to your full text feed.
The current incarnation assumes you have installed and activated the popularUltimate Tag Warriorplugin.You’ll need either UTW or w-a-s-a-b-i Related Posts plugin installed and activated.License:
- Creative Commons Attribution-Share Alike. Use it, build from it — just credit me as the originator with a link back to here.
Instructions:
- Download it
- Unzip it
- FTP/scp/carrier pigeon it to your server, put it in the plugins directory
- Login to WordPress, activate it.
Future:
- Support other Related Posts techniques/plugins
- An options screen to control number of posts and possibly list style
虽然目前看来这个用处并不是非常的大, 不过feed从此以后也跟直接在线浏览文章一样, 有了相关文章的输出, 更加方便相关内容的相互检索!
您喜欢本文吗?即刻订阅"偶爱偶家",精彩文章不再错过!现在就给我们留个话吗?



7 responses to "给Feed增加相关文章"
昨天安装后测试比较晚没有过来看,它的输出格式最好改一下,不然要影响feedburner的版面的,但是抓虾这些没问题。
我是这样修改的第102行:
$content .= “相关文章”;
$content .= “:”.$stutw.”";
[Reply]
html都被过滤了,就是在相关文章前加了p标记,另外内容前后加了ul标记。换成横线表示一下试试,这种生成效果似乎最好。
$content .= “-p-相关文章”;
$content .= “:-ul-”.$stutw.”-/ul--/p-”;
[Reply]
谢谢lxltop, 装好了, 不过和RSS footer的输出先后还有点问题, 今晚回去修改
[Reply]
通过blogger map发现你们也在杨浦啊,哈哈,我也在杨浦,就在曲阳家乐福。
不错的两口子啊,但是怎么就连“弊衣疏食”和“家长里短”也是“老公”写的呢?:)
欢迎也来我的博客坐坐。
http://www.sbtalk.com.cn
http://blog.sina.com.cn/sbtalk
[Reply]
我们也是两口子啊,老公喜欢电脑,游戏,胡乱评论,老婆细化工笔花鸟,宠物狗狗。
还有,最近怎么都是技术文章?:s
[Reply]
俺家老婆这段时间忙着读书准备考试呢. 所以只有我写了, 去你家逛了, 不错不错!
[Reply]
发现搜索什么wordpress问题都能搜到你这儿……
你太强大了!!!!!!!!!!!!!!!!!!
[Reply]