2007年4月18日水曜日

[RSS AutoDiscovery] = ブラウザやリーダーにRSSを自動検出させる

IE7やSleipnirやFireFox2を使用していると、ブラウザの上にRSSのボタンが出ているサイトがあります。
ブラウザがHTMLをパースして、自動的にRSSフィードを発見してくれています。
そのほかにも、RSSリーダーとかでも、自動的に検出してくれます。
(厳密には、フィードを提供するファイルを検出してくれます)
これを「RSS AutoDiscovery」というらしいです。

Spleipnir2の場合(ブラウザの右下)

FireFox2の場合 (アドレスバーの右端)


ブラウザやリーダーに自動検出してもらう為には、HTMLのheadタグの中に↓の記述をすればOKです。
RSSの場合

ATOMの場合

これらの記述が、RSS-AutoDiscovery情報?として、自動検出の対象になります。
↑の記述を複数も書いても、1個しか表示されないものや、すべて表示されるようになっているブラウザやリーダーもあり、
そこらへんは、まだ厳格なスタンダードはないようです。
また、IE7ではMIMEタイプも適切なものに設定されている必要があるようです。

参考
  1. Microsoft Team RSS Blog : Windows RSS Publisher's Guide (work-in-progress)
  2. IE7 - RSS Publisher's Guide

5 件のコメント:

匿名 さんのコメント...

Malaysia & Singapore & brunei best on-line blogshop for
wholesale & supply korean add-ons, accessories, earstuds,
necklace, rings, bracelet, trinket & hair add-ons. Promotion 35 % wholesale rebate. Ship Worldwide
Feel free to visit my web site :: iTunes music marketing

匿名 さんのコメント...

When someone writes an article he/she retains the image of a
user in his/her mind that how a user can be aware of it.
Thus that's why this post is amazing. Thanks!

Feel free to surf to my homepage - Spazio Kovan

匿名 さんのコメント...

Hello! I've been reading your website for a while now and finally got the courage to go ahead and give you a shout out from New Caney Tx! Just wanted to mention keep up the excellent work!

Feel free to surf to my web page ... copenhagen dj

匿名 さんのコメント...

Wow, amazing weblog layout! How long have you been running a blog for?
you make running a blog look easy. The overall look of your website is great, as smartly
as the content material!

Also visit my website - best beat making software

匿名 さんのコメント...

A slim belt will get you noticed, and if you have a pair of suede shoes, think about adding a special pair of laces to attract some attention.
With time ticking by in the competitive fashion marketplace, Skagen watches will
continue to grow leaps and bounds over the competition
while remaining true to their high standards of quality and luxury.
The bezels are inlaid with genuine 34 cut diamonds while subtle detailing works are
accented on the heart-shaped Krysterna crystal located above the date indicator.


My homepage :: longines []