SE::Google::SitemapPing - Googleへのサイトマップ送信スクレイパー
スクレイパーの概要

SE::Google::SitemapPing – Googleにサイトマップを送信するためのスクレイパーです。https://www.google.com/webmasters/tools/ping?sitemap=[あなたのサイトマップURL] のリンクを介して、サイトマップのリストを自動的に送信します。
A-Parserの機能により、SE::Google::SitemapPing スクレイパーのスクレイピング設定を後で再利用するために保存(プリセット)したり、スクレイピングのスケジュールを設定したりすることが可能です。
結果の保存は、組み込みの強力なテンプレートエンジン Template Toolkit により、必要な形式や構造で保存できます。これにより、結果に追加のロジックを適用したり、JSON、SQL、CSV を含む様々なフォーマットでデータを出力したりできます。
収集データ
- サイトマップ送信の成否
- ウェブリクエストのレスポンスコード
- Googleから返信されたHTMLタグを含むテキスト
機能
- Googleへのサイトマップリストの送信のみに対応
クエリ
クエリとしてサイトマップのURLを指定する必要があります。例:
https://exampledomain.com/sitemap10.xml
結果の出力例
A-Parserは、組み込みのテンプレートエンジン Template Toolkit により柔軟な結果フォーマットをサポートしており、任意の形式や、CSV、JSONなどの構造化された形式で結果を出力できます。
送信の成否 + レスポンスコードとテキストの出力
結果フォーマット:
$info.success, $code, $text\n
結果の例:
1, 200, <h2>Sitemap Notification Received</h2>
<br>
Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via <a href="http://www.google.com/webmasters/tools/">http://www.google.com/webmasters/tools/</a> so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear.