FrankFang128
V2EX  ›  问与答

RSS Subscription Extension (by Google) 这个插件是如何检测出某个网页含有 RSS 链接的?

  •  
  •   FrankFang128 · Oct 20, 2013 · 3810 views
    This topic created in 4618 days ago, the information mentioned may be changed or developed.
    它检测的很准,能检测出某个网页的所有 RSS 源,并且知道它是文章 RSS 还是评论 RSS。
    请赐教。
    3 replies    1970-01-01 08:00:00 +08:00
    FrankFang128
        2
    FrankFang128  
    OP
       Oct 21, 2013
    @messense http://www.ruanyifeng.com/en/ 这个网页没 rel,也能被成功检测呀。
    Lax
        3
    Lax  
       Oct 21, 2013
    @FrankFang128 回复前确认看清楚了
    <link rel="alternate" type="application/rss+xml" title="Ruan YiFeng&#039;s Blog &raquo; Feed" href="http://www.ruanyifeng.com/en/feed/" />
    <link rel="alternate" type="application/rss+xml" title="Ruan YiFeng&#039;s Blog &raquo; Comments Feed" href="http://www.ruanyifeng.com/en/comments/feed/" />
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1114 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 18:10 · PVG 02:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.