RSS接触 - RSS中的XML文档
生活随笔
收集整理的這篇文章主要介紹了
RSS接触 - RSS中的XML文档
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
整個(gè)文檔的格式為(摘自百度百科):
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <rss version="2.0"><!-- 以下為頻道信息及新聞列表 --> <channel><!-- 頻道總體信息:開始 --> <!-- 頻道標(biāo)題 --> <title>Lift Off News</title> <!-- 頻道鏈接的總地址 --> <link>http://liftoff.msfc.nasa.gov/</link> <!-- 頻道描述文字 --> <description>Liftoff to Space Exploration.</description><!-- 頻道使用的語言(zh-cn表示簡體中文) --><language>en-us</language> <!-- 頻道發(fā)布的時(shí)間 --> <pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> <!-- 頻道最后更新的時(shí)間--> <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate><docs>http://blogs.law.harvard.edu/tech/rss</docs> <!-- 頻道生成器 --><generator>Weblog Editor 2.0</generator><managingEditor>editor@example.com</managingEditor><webMaster>webmaster@example.com</webMaster> <ttl>5</ttl> <!-- 頻道總體信息:結(jié)束 --> <!-- 每條RSS新聞信息都包含在item節(jié)點(diǎn)中, --> <item><!-- 新聞標(biāo)題 --> <title>Star City</title> <!-- 新聞鏈接地址 --> <link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link> <!-- 新聞內(nèi)容簡要描述 --> <description>How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's Star City.</description> <!-- 新聞發(fā)布時(shí)間 --> <pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate> <!-- 新聞目錄 --> <category>IT</category> <!-- 新聞作者 --> <author>bill</author> <guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid></item> <item><title>Space Exploration</title> <link>http://liftoff.msfc.nasa.gov/</link><description>Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a partial eclipse of the Sun on Saturday, May 31st.</description><pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate> <guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid> </item> </channel> </rss>轉(zhuǎn)載于:https://www.cnblogs.com/liszt/archive/2011/04/12/2013123.html
總結(jié)
以上是生活随笔為你收集整理的RSS接触 - RSS中的XML文档的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: web默认字体最佳实践
- 下一篇: ASP.NET文件操作收藏