yahoo Rss

http://api.flickr.com/services/feeds/photos_public.gne:可以查看页面源代码

yahoo Rss_第1张图片

flickr 的api

http://www.flickr.com/services/api/

这种格式和常规的rss格式有点不一样,看起来更好看一些

<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:flickr="urn:flickr:"
      xmlns:media="http://search.yahoo.com/mrss/">

 <entry>
    <title>DSCN4610</title>
    <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/auraastronomy/5953020555/"/>
    <id>tag:flickr.com,2005:/photo/5953020555</id>
    <published>2011-07-19T05:42:48Z</published>
    <updated>2011-07-19T05:42:48Z</updated>
    <dc:date.Taken>2011-07-18T19:39:59-08:00</dc:date.Taken>
    <content type="html">			&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/auraastronomy/&quot;&gt;auraastronomy&lt;/a&gt; posted a photo:&lt;/p&gt;
	
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/auraastronomy/5953020555/&quot; title=&quot;DSCN4610&quot;&gt;&lt;img src=&quot;http://farm7.static.flickr.com/6022/5953020555_306ac65e76_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;DSCN4610&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

</content>
    <author>
      <name>auraastronomy</name>
      <uri>http://www.flickr.com/people/auraastronomy/</uri>
      <flickr:nsid>40990203@N08</flickr:nsid>
      <flickr:buddyicon>http://farm6.static.flickr.com/5055/buddyicons/[email protected]?1300030247#40990203@N08</flickr:buddyicon>
    </author>
    <link rel="enclosure" type="image/jpeg" href="http://farm7.static.flickr.com/6022/5953020555_306ac65e76_b.jpg" />
  </entry>


看到的RSS样式是不是更加的多样话了呢,这个主要归功于

http://www.ibm.com/developerworks/cn/web/wa-syndrssatom/RSS 和 Atom 的结合使用


你可能感兴趣的:(rss,Yahoo)