我在一些浏览器(例如Firefox)中看到,只有当页面包含RSS/Atom提要时,RSS提要图标才会被激活。浏览器如何检测页面是否包含提要?
<link rel="alternate" type="application/atom+xml" title="Feed for question 'How to detect if a web URL contains a feed or not?'" href="/feeds/question/3020295">
或者,许多博客使用
<link rel="alternate" type="application/rss+xml" title="Post Title" href="link-to-post">