ニュース ピックアップが資格と提供状況に関するガイドラインと次の技術要件の両方を満たしている場合は、Google アシスタントにオンボーディングできます。
- RSS 2.0 仕様と アシスタントのニュース速報の仕様を満たす有効な XML フィードを公開します。
- GoogleBot が RSS ニュース フィードとメディア ファイル(音声や動画など)にアクセスできるようにします。ポリシーに準拠するには、すべてのフィードとファイルでログインが不要である必要があります。さらに、どのポリシーでも robots.txtを使用して Googlebot をブロックすることはできません。
アシスタントのニュース ピックアップの仕様
コンテンツを次の仕様に沿って調整します。音声と動画のニュース速報の例については、例のセクションをご覧ください。
iTunes 拡張機能で定義されたタグを使用する必要があります。そのため、フィードの上部にある <rss> タグに適切な xmlns 名前空間宣言を含めてください。詳しくは、次の例をご覧ください。
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel> レベルのニュース ピックアップの RSS タグの仕様を示します。
| ニュース ピックアップ用パブリケーションの RSS タグ: <channel>レベル | |
|---|---|
| <title> | 必須。 ニュース コンテンツの名前。 | 
| <link> | 必須。 ニュース コンテンツのホームページの完全修飾 URL。 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 および Google のすべての技術的な要件に準拠しています。
音声ニュース ピックアップの例
音声ニュース速報の例を次に示します。
<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>