共享Google Reader上的朋友之共享项目

by xiaolai on 2008/12/10 · 2 comments

in WordPress

Google Reader,是我个人觉得目前最好的RSS阅读器。Google Reader有很多好处,其中一个就是可以与Gtalk上的朋友分享读到的文章。可能是基于防止滥用的原因,在Google Reader中,来自朋友的共享项目只能自己看到,而能够Publish的是自己的共享项目而已。

(一)我用Yahoo Pipe做了一个聚合,目前集中了tiny fool, 霍炬kesoLi Zunlong四个人的共享项目——选择他们四个是因为在我的列表里他们的阅读量相对较大,推荐的也比较仔细。

(二)给自己的WordPress添加了两个插件:

(三)往当前Theme目录里上传一个php文件,随便起了个名字,SIfxfoGR.php,内容如下:

 
<?php
/*
Template Name: Shareitems from Friends on GoogleReader
*/
?>
 
<?php get_header(); ?>
 
<div id="content">
 
<?php
echo SimplePieWP('http://pipes.yahoo.com/pipes/pipe.run?_id=YHzsK2XG3RG_D8fybLsjiw&_render=rss', array(
	'items' => 0,
	'cache_duration' => 1800,
	'date_format' => 'j M Y, g:i a'
));
?>
</div>
 
<?php include(TEMPLATEPATH.'/shareditemssidebar.php'); ?>
 
<?php get_footer(); ?>
 
</div>

(四)在WordPress后台创建一个新页面,标题为“ShareItems from Xiaolai’s Friends on Google Reader”,内容为空;但是在下方的“Page Template”下拉框里选择“Shareitems from Friends on GoogleReader”——最后“发布”该页面。

搞定!现在,就有主页右上角的“博文推荐”的页面了。


如果你正在使用Google Reader,并且觉得你的阅读量很大,同时也愿意与朋友分享你读到的好文章;那请你告诉我,发信至lixiaolai@gmail.com,告诉我你的Google Reader SharedItems页面的Atom地址。我会把你的共享项目聚合到我的Pipe上去。

{ 2 comments… read them below or add one }

Charlie Fisher December 11, 2008 at 06:58

我还没有学会用Greader,现在还是离线RSS的。

Reply

lv July 13, 2009 at 20:51

不是很明白

Reply

Leave a Comment

Previous post:

Next post: