Lilina在显示RSS时的一个小问题, 修复了.

    在我的RSS页面上发现不能正确地显示一些基于WordPress的Blog的贴子, 以为是人家的问题, 还发了一个贴子来说他们, 看来是怪错他们了, 原来是Lilina在取贴子内容时没有取格式化(是订阅器提供的功能)后的内容, 而是取了原来的内容.

    如何改正呢, 只需要改index.php的一处地方, 原来的代码为:

$summary = $item['summary'];   
if (!$summary) $summary = $item['atom_content'];       

    需要改为:

$summary = $item['atom_content'];     
if (!$summary) $summary = $item['summary'];   

    怪不得Fenngcnoug.net没有用Lilina来做平台, 而选择了Planet. 除了速度以外, Lilina在这些显示上的错误也是一个问题吧.

    我的IamDBA.com变成了一个DBA的Blog的聚合了, 还是基于Lilina的, 一小时更新一次, 可惜放在DreamHost上访问速度有些慢.

留言 (1)

可以 mail 给 sourceforge 这个项目的开发者

发表留言:

« Previous | Main | Next »

英语900句 | English 900

  • What's the height of the building?
  • 这座楼有多高?
  • How much does the elephant weight?
  • 这个大象有多重?
  • What's the color of your new dress?
  • 你的新衣服是什么颜色的?
  • What's the size of your shoes?
  • 你的鞋多大尺寸?
  • My brother is twice as tall as your sister.
  • 我弟弟比你妹妹高一倍.