……と思ったんですが、どこをどう探しても見つからない
sitemap.orgには、
Q: What do I do after I create my Sitemap?
Once you have created the Sitemap file and placed it on your webserver, you submit it to search engines that support the Sitemaps protocol. The search engines can then retrieve your Sitemap and make the URLs available to their crawlers. Refer to each search engine's documentation for more information about submitting to them. You can also submit your Sitemap using an HTTP request (replace <searchengine_URL> with the URL provided by the search engine):
Issue your request to the following URL:
<searchengine_URL>/ping?sitemap=http://www.example.com/sitemap.gz
URL encode everything after the /ping?sitemap=:
<searchengine_URL>/ping?sitemap=http%3A%2F%2Fwww.yoursite.com%2Fsitemap.gz
You can issue the HTTP request using wget, curl, or another mechanism of your choosing. A successful request will return an HTTP 200 response code; if you receive a different response, you should resubmit your request. The HTTP 200 response code only indicates that the search engine has received your Sitemap, not that the Sitemap itself or the URLs contained in it were valid. An easy way to do this is to set up an automated job to generate and submit Sitemaps on a regular basis.
Note: If you are providing a Sitemap index file, you only need to issue one HTTP request that includes the location of the Sitemap index file; you do not need to issue individual requests for each Sitemap listed in the index.
なんて書いてあるんだけど、ここに書いてある通りにやってエラーにならないところが無いわけで…
どうすればいいんだろうとあちこち見てまわったところ、『ROR/Resources of a Resource』というのを見つけたんでこれを取り込んでみました
ついでにsitemap protocol 0.9 に対応したんで、そのまま Yahoo! にも登録できます
アップデート方法はファイルの上書きのみです
『RORサイトマップ』へのアクセスは、ModRewrite 使用 & Fancyモードの時は『http://example.com/ror.xml』、それ以外の時は『http://example.com/index.php?virtualpath=ror.xml』になります
といっても、直接アクセスする種類のものではないので、スキンのの中に、
<link rel="alternate" type="application/rss+xml" title="ROR" href="ror.xml" / >
または
<link rel="alternate" type="application/rss+xml" title="ROR" href="index.php?virtualpath=ror.xml" / >
と記述しておくだけでOKです
これでMSNにもサイトマップが送られるようになる!(らしいです)
ダウンロードは
フォーラムのトピックからお願いします
OpenID を使ってログインすることができます。
Latest Comments
naiz:
上記の件ですが、NP_SendPingだとうまくいき、NP_PingJPだと...
naiz:
しづきさん お返事ありがとうございます。 どの相手側サ...
しづき:
naizさん 「Connection timed out」なので、何らかの原因で...
naiz:
たびたびすみません。 item_710.htmlの記事にコメントしよう...
naiz:
> しづきさん あっ、確認不足でした!ちゃんとカスタマイ...