本文主要是介绍yahoo Rss,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
http://api.flickr.com/services/feeds/photos_public.gne:可以查看页面源代码
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"> <p><a href="http://www.flickr.com/people/auraastronomy/">auraastronomy</a> posted a photo:</p>
<p><a href="http://www.flickr.com/photos/auraastronomy/5953020555/" title="DSCN4610"><img src="http://farm7.static.flickr.com/6022/5953020555_306ac65e76_m.jpg" width="240" height="180" alt="DSCN4610" /></a></p>
</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/40990203@N08.jpg?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 的结合使用
这篇关于yahoo Rss的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!