zoukankan      html  css  js  c++  java
  • [导入]RSS Tutorial (w3school)

    RSS Tutorial (w3school)
    http://www.w3schools.com/rss

    1. RSS(Really Simple Syndication, 简单协议)

    2. The History of RSS

        * 1997 - Dave Winer develops scriptingNews. RSS was born.     
        * 1999 - Netscape develops RSS 0.90 (which supported scriptingNews). This was simply XML with an RDF Header.     
        * 1999 - Dave Winer at UserLand develops scriptingNews 2.0b1 (This included Netscape's RSS 0.90 features)     
        * 1999 - Netscape develops RSS 0.91. In this version they removed the RDF header, but included most features from scriptingNews 2.0b1.     
        * 1999 - UserLand gets rid of scriptingNews and uses only RSS 0.91     
        * Netscape stops their RSS development     
        * 2000 - UserLand releases the official RSS 0.91 specification     
        * 2000 - A group lead by Rael Dornfest at O'Reilly develops RSS 1.0. This format uses RDF and namespaces. This version is often confused as being a new version of 0.91, but this is a completely new format with no ties to RSS 0.91     
        * 2000 - Dave Winer at UserLand develops RSS 0.92     
        * 2002 - Dave Winer develops RSS 2.0 after leaving Userland     
        * 2003 - The official RSS 2.0 specification is released

    2. Different Versions
        RSS 1.0 is the only version that was developed using the W3C RDF (Resource Description Framework) standard.
        RSS 0.91 and RSS 2.0 are easier to understand than RSS 1.0.

        * About 50 % of all RSS feeds use RSS 0.91
        * About 25 % use RSS 1.0
        * The last 25 % is split between RSS 0.9x versions and RSS 2.0

    3.  An sample RSS document:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <rss version="2.0">
    <channel>
    <title>W3Schools Home Page</title>
    <link>http://www.w3schools.com</link>
    <description>Free web building tutorials</description>
    <item> // 对应1条blog
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>New RSS tutorial on W3Schools</description>
    </item>
    <item>
    <title>XML Tutorial</title>
    <link>http://www.w3schools.com/xml</link>
    <description>New XML tutorial on W3Schools</description>
    </item>
    </channel>
    </rss>

    4.
    For complete RSS <channel> Reference list, refer to
                http://www.w3schools.com/rss/rss_channel.asp
    For complete RSS <item> Reference list, refer to
                http://www.w3schools.com/rss/rss_item.asp

    5.  How to Pulish the RSS feed
    步骤见
     http://www.w3schools.com/rss/rss_publishing.asp
    有一个步骤还不是太清楚: 网页上的内容更新之后,如何同步对应的RSS Feed,应该有现成的工具可以做这件事情吧?

      文章来源:http://abram06.blog.163.com/blog/static/7215052006111125248513
    • 相关阅读:
      MT【347】单变量求最值
      MT【346】拐点处分界
      MT【345】三个绝对值的和
      MT【344】构造函数
      MT【343】三数平方法
      MT【342】条件为非负实数
      MT【341】换元变形
      MT【340】彭塞列闭合定理
      MT【339】待定系数
      MT【338】分式变形
    • 原文地址:https://www.cnblogs.com/yuquanlaobo/p/598040.html
    Copyright © 2011-2022 走看看