Browser 如何检测web URL是否包含提要?
我在一些浏览器(例如Firefox)中看到,只有当页面包含RSS/Atom提要时,RSS提要图标才会被激活。浏览器如何检测页面是否包含提要 只需查看此页面的代码即可。在标题中添加一些javascript之后,您将看到:Browser 如何检测web URL是否包含提要?,browser,rss,feed,atom-feed,Browser,Rss,Feed,Atom Feed,我在一些浏览器(例如Firefox)中看到,只有当页面包含RSS/Atom提要时,RSS提要图标才会被激活。浏览器如何检测页面是否包含提要 只需查看此页面的代码即可。在标题中添加一些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="/f
<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">
只需查看此页面的代码即可。在标题中添加一些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">