不過實際上, 那個按鈕是在 HTML 網頁 <head> 中有一個特定的 <link> 時才會開啟.
參考如下:
1 2 3 4 5 6 7 8 9 | < html > < head > < link rel = "alternate" type = "application/rss+xml" title = "RSS頻道的標題" href = "RSS的網址" /> </ head > < body > Hello </ body > </ html > |
- rel: alternate (固定值)
- type: "application/rss+xml" 或 "application/atom+xml"
- title: 訂閱 RSS 的標題
- href: RSS 的網址
點一下按鈕旁的小箭頭, 就能看到 <link> 中所設定的 title 屬性值, 點選後就會連結到 RSS 頁面.
如果 RSS 的資料沒問題, IE 除了會顯示 RSS 的資訊外, 還會在頁面上方出現 "訂閱此摘要" 的連結, 點下去才是真正的訂閱摘要.
沒有留言:
張貼留言