資格と可用性に関するガイドラインと次の技術要件の両方を遵守している場合、Google はニュース ピックアップを Google アシスタントに登録できます。
- RSS 2.0 仕様とアシスタントの仕様に関するニュース ピックアップを満たす有効な XML フィードを公開します。
- GoogleBot が RSS ニュースフィードと音声や動画などのメディア ファイルにアクセスできることを確認します。ポリシーを遵守するために、すべてのフィードとファイルにログインを求める必要はありません。さらに、いずれのユーザーも
robots.txt
を使用して GoogleBot をブロックすることはできません。
アシスタントの仕様に関するニュース ピックアップ
以下の仕様に沿ってコンテンツを制作します。音声と動画のニュース ピックアップの例については、例をご覧ください。
iTunes 拡張機能で定義されたタグを使用する必要があるため、適切な xmlns
名前空間宣言をフィードの先頭の <rss>
タグに含めてください。詳細については、次の例をご覧ください。
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">次の表に、
<channel>
レベルのニュース ピックアップの RSS タグの仕様を示します。
<channel> レベルのニュース ピックアップ公開 RSS タグ |
|
---|---|
<title> |
必須。 ニュース コンテンツの名前。 |
<link> |
必須。 ニュース コンテンツのホームページの完全修飾 URL。 Fetch as Google またはモバイル フレンドリー テストを使用して、Googlebot がホームページにアクセスできるかどうかをテストします。 |
<description> |
必須。 ニュース コンテンツの説明。 |
<image> |
必須。 ニュース コンテンツに関連付けられた画像。 イメージには次のものが必要です。
詳細については、次の例をご覧ください。 <image> <url>http://www.example.com/theexampletimes/logo.png?s=1400</url> <title>The Example Times</title> <link>http://www.example.com/theexampletimes</link> </image> |
<itunes:block> |
不要。 iTunes や Google Podcasts などのサービスでの公開からフィードを保護するタグです。 保護を有効にするには、 詳細については、次の例をご覧ください。
|
<item> |
必須。 ニュース ピックアップのエピソードの詳細(タイトル、説明、メディア ファイル、時間など)を含むタグ。 Google アシスタントのニュース ピックアップは、利用可能な最新のニュース コンテンツ(最新の 必要な仕様について詳しくは、ニュース ピックアップ エピソードの RSS タグをご覧ください。 |
<item>
レベルのニュース ピックアップ エピソードの RSS タグの仕様を示します。
<item> レベルのニュース ピックアップ エピソードの RSS タグ |
|
---|---|
<title> |
必須。 ニュース ピックアップのエピソードの名前。 |
<description> |
必須。 ニュース ピックアップのエピソードの説明です。 |
<enclosure> |
必須。 ニュース ピックアップ エピソードのファイルサイズ、種類、場所です。
詳細については、次の例をご覧ください。
|
<guid> |
必須。 固有のニュース ピックアップ エピソードごとに永続的なグローバル一意識別子(GUID)が割り当てられます。 識別子が完全修飾 URL でない場合は、 詳細については、次の例をご覧ください。
|
<pubDate> |
必須。 ニュース ピックアップのエピソードが公開された日時。 これらの値は、日付と時刻の RFC 822 形式でのみサポートされています。詳細については、次の例をご覧ください。 <pubDate>Thu, 22 Sep 2016 21:11:46 GMT</pubDate> |
<itunes:duration> |
必須。 ニュース ピックアップのエピソードの時間の長さ(時間、分、秒) 次のいずれかの形式を指定できます。H = 時間、M = 分、S = 秒です。
詳細については、次の例をご覧ください。
|
例
次の例は、Google アシスタントのニュース ピックアップで音声と動画のコンテンツに必要な最小限のデータセットを示しています。RSS 2.0 とすべての技術要件に準拠しています。
音声のニュース ピックアップの例
音声のニュース ピックアップの例を次に示します。
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> <channel> <title>The Example Times</title> <link>http://www.example.com/theexampletimes</link> <description>The latest news from The Example Times.</description> <language>en-us</language> <copyright>Copyright 2018 The Example Times – For Personal Use Only</copyright> <image> <url>http://www.example.com/theexampletimes/logo.png?s=1400</url> <title>The Example Times</title> <link>http://www.example.com/theexampletimes</link> </image> <itunes:block>yes</itunes:block> <item> <title>The Example Times Daily News Briefing</title> <itunes:title>The Example Times Daily News Briefing</itunes:title> <description>Your daily dose of news from The Example Times.</description> <guid>http://www.example.com/theexampletimes/id/1234567893</guid> <enclosure length="4500000" type="audio/mpeg" url="http://www.example.com/theexampletimes/sample.mp3"/> <pubDate>Thu, 8 Jun 2018 11:11:00 GMT</pubDate> <itunes:duration>300</itunes:duration> </item> </channel> </rss>
動画のニュース ピックアップの例
動画ニュース ピックアップの例を次に示します。
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> <channel> <title>The Example Times</title> <link>http://www.example.com/theexampletimes</link> <description>The latest news from The Example Times.</description> <language>en-us</language> <copyright>Copyright 2018 The Example Times – For Personal Use Only</copyright> <image> <url>http://www.example.com/theexampletimes/logo.png?s=1400</url> <title>The Example Times</title> <link>http://www.example.com/theexampletimes</link> </image> <itunes:block>yes</itunes:block> <item> <title>The Example Times Daily News Briefing</title> <itunes:title>The Example Times Daily News Briefing</itunes:title> <description>Your daily dose of news from The Example Times.</description> <guid isPermaLink="false">sample-id-2345678901</guid> <enclosure length="9000000" type="video/mp4" url="http://www.example.com/theexampletimes/sample.mp4"/> <pubDate>Thu, 8 Jun 2018 11:12:00 GMT</pubDate> <itunes:duration>300</itunes:duration> </item> </channel> </rss>