• [导入]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
    • 相关阅读:
      解决docx4j 变量替换 由于变量存在样式式或空白字符 导致替换失败问题
      redis批量删除key 远程批量删除key
      idea 集成sonarLint检查代码bugs
      mac jmeter 的使用
      tomcat配置管理员-走后门
      终端mysql Operation not permitted错误解决方案
      update使用inner join
      hibernate 三种状态的转换
      数据库中间表插入乱序
      解决https证书验证不通过的问题
    • 原文地址:https://www.cnblogs.com/yuquanlaobo/p/598040.html
    Copyright © 2020-2023  润新知