iamdj
V2EX  ›  问与答

最近在研究订阅 RSS,格式问题。

  •  
  •   iamdj · Aug 29, 2019 · 2308 views
    This topic created in 2452 days ago, the information mentioned may be changed or developed.
    有一种开头是
    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/">

    另一种是
    <feed xmlns="http://www.w3.org/2005/Atom">

    上网上查 RSS 规范是第一种,第二种 feed 标签开头的我怎么查不到呢,这是什么格式。
    4 replies    2019-08-29 17:50:02 +08:00
    azh7138m
        1
    azh7138m  
       Aug 29, 2019
    https://www.w3.org/2005/Atom
    这个链接里面不是给了 rfc 链接?
    https://tools.ietf.org/html/rfc4287
    lison007
        2
    lison007  
       Aug 29, 2019
    有没有好的 rss 推荐下🙏
    lison007
        3
    lison007  
       Aug 29, 2019
    @lison007 rss 的订阅
    jifengg
        4
    jifengg  
       Aug 29, 2019
    rss2.0 和 atom,两种标准。用 c#的话有直接解析 rss 的类,自动识别两种格式,不用自己判断。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3046 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    ♥ Do have faith in what you're doing.