V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
iamdj
V2EX  ›  问与答

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

  •  
  •   iamdj · 2019-08-29 15:32:42 +08:00 · 1522 次点击
    这是一个创建于 1673 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有一种开头是
    <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 条回复    2019-08-29 17:50:02 +08:00
    azh7138m
        1
    azh7138m  
       2019-08-29 15:48:20 +08:00
    https://www.w3.org/2005/Atom
    这个链接里面不是给了 rfc 链接?
    https://tools.ietf.org/html/rfc4287
    lison007
        2
    lison007  
       2019-08-29 16:16:56 +08:00
    有没有好的 rss 推荐下🙏
    lison007
        3
    lison007  
       2019-08-29 16:17:34 +08:00
    @lison007 rss 的订阅
    jifengg
        4
    jifengg  
       2019-08-29 17:50:02 +08:00
    rss2.0 和 atom,两种标准。用 c#的话有直接解析 rss 的类,自动识别两种格式,不用自己判断。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5456 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:51 · PVG 16:51 · LAX 01:51 · JFK 04:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.