1
我在某些浏览器(例如Firefox)中看到过,只有当页面包含RSS/Atom订阅源时,才会激活RSS订阅源图标。浏览器如何检测页面是否包含Feed?如何检测网址是否包含饲料?
我在某些浏览器(例如Firefox)中看到过,只有当页面包含RSS/Atom订阅源时,才会激活RSS订阅源图标。浏览器如何检测页面是否包含Feed?如何检测网址是否包含饲料?
只要看看这个页面的代码。你会在头一些JavaScript后看到这一点:
<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">