新生儿夜晚睡觉不踏实:如何做外链

来源:百度文库 编辑:偶看新闻 时间:2024/05/04 16:52:08

网上有很多提供RSS聚合服务的网站,国内知名的有抓虾、鲜果、FeedSky和inezha等。

首先,我们得为我们的网站生成Rss文件(就是个指定格式的XML文件)。我们准备好一个网站内容的Rss文件(http://www.591gu.com/Archives/Reports.xml),内容格式如下:

xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">   <channel>     <title>591gu Reportstitle>     <link />     <description>591gu Reportsdescription>     <language>zh-cnlanguage>     <pubDate>Thu, 03 Nov 2011 10:53:30 GMTpubDate>       <lastBuildDate>Thu, 03 Nov 2011 10:53:30 GMTlastBuildDate>     <generator>591gu.comgenerator>     <item>       <title>Lenovo Group Ltd(00992.HK): Strong 2Q performancetitle>       <link>http://www.591gu.com/Archives/20111103/65353600992.htmlink>       <description>Lenovo Group Ltd(00992.HK): Strong 2Q performancedescription>         <dc:creator>www.591gu.comdc:creator>       <pubDate>Thu, 03 Nov 2011 09:11:00 GMTpubDate>       <category>Reportscategory>     item> channel> rss>

第二步,我们注册RSS聚合服务网站的用户。每个用户都会分配到一个主页:inezha(http://en.inezha.com/CaptainV)、FeedSky(http://feed.feedsky.com/591guReports)、抓虾(http://www.zhuaxia.com/pre_channel/5800639)和鲜果(http://xianguo.com/1155528)。

 

第三步,做循环订阅。我们首先使用FeedSky订阅http://www.591gu.com/Archives/Reports.xml,并选择广播,得到http://feed.feedsky.com/591guReports栏目。接着用inezha订阅http://www.591gu.com/Archives/Reports.xml,得到http: //inezha.com/rss/user/CaptainV源,最后用抓虾和鲜果订阅上述三个源,这样我们就实现了Rss聚合服务之间的循环,做了更多的外链。