Archive for March, 2008

WP插件:Smart RSS介绍

smartrss插件是一个wordpress插件,可以让你的博客拥有基于多个RSS信息源自动化聚合展现的功能。

特点:
-管理RSS信息源的管理员工具
-每个RSS都可以被指定到不同的类别目录中
-提供相关文章显示功能
-支持定时自动化执行

软件包:
-smart_rss.php        管理员定制界面程序
-wp_smartrss.php   定时任务执行程序

安装步骤:
-上传文件smart_rss.php到wp-content/plugins目录
-进入管理界面,点击Plugins,并启动Smart RSS
-选择Options->Smart RSS,设定RSS信息源
-上传wp_smartrss.php到您的WordPress根路径(基于安全原因,建议修改这个文件名称)
-访问http://sitename/wp_smartrss.php网址,执行任务。如果你想自动化执行,你可以设置一个cron来实现。
-设置的CRON工作,用一个代码类似这样的:
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/wp_smartrss.php”
或者
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/your_file_name.php”
-如果你希望把这个文件部署到服务器其它目录,你需要编辑路径,打开文件wp_smartrss.php:
require_once (’wp-config.php’);并取而代之的是你设定的路径
require_once (’/full-path-to-wordpress/wp-config.php’);

相关文章展示实现:
-展示相关文章,放入下面代码到你的single.php模板页面:

< ?php smartrss_related_posts(5, 10, ‘<li><b style=”font-size:14px;”>’, ‘</b>’, ”, ”, false, false); ?>

函数功能参数: smartrss_related_posts(limit, len, before_title, after_title , before_post, after_post , show_pass_post, show_limit)

- limit = the related posts limit to be displayed
- len = if show_limitis set then it will limit the post size to $len words
- before_title = html code to add before post title
-after_title = html code to add after post title
-before_post = html code to add before post
-after_post =html code to add after post
-show_past_post = include posts that are password protected
-show_limit = limit the post text to $len words

下载:
点击此处

开发者网站:
http://www.devplug.net/

Comments

cos-html-cache和smartRSS的不匹配

cos-html-cache是国人开发了一个静态化的WP插件,Smart RSS是基于RSS的auto post插件。cos-html-cache监控了正常的读改写操作,但结合Smart RSS后,并不能正常更新信息。
具体就不清楚是那个插件不符合WP标准了。
插件用多了,兼容性就会出现问题。

Comments

Links:Web开发资源

Comments

Client 9 in NewYork

纽约州长事件涉及的网站:
emperorsclubvip.com(已经不能访问)
Ashley Alexandra Dupre(阿什莉)
http://www.myspace.com/ninavenetta

Comments

两个读取feed自动发布的WP插件

Comments

DELL 1525定购历程(四)

从2月27日电话给DELL的销售到昨天,已经是快半个月的时间了,结果机器还是消息。今天上午看了一下网上的订单显示,终于是出厂了。算算,按本友会上的说法,这个星期一应该给DELL的客户关怀部去电话要鼠标好了。

下午就接到北京这边负责快递的电话,约定了本周星期六送货。看来所谓的周末不送货的说法最近也有了改变。
结论:最好不要在大的节日后订货,好像这个阶段物品缺货的概率要大一些。看本友会上有人说到连主打的14寸的机器也会有没配件的情况出现。

根据物流公司的查询系统,物流情况是:

11日开始运输,要到15日才能送货?这个物流公司的效率也不算很高了。

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Comments

It’s My Life © 2008     Powered by WordPress     24 queries. 0.729 seconds.