この内容は古いバージョンです。最新バージョンを表示するには、戻るボタンを押してください。
バージョン:7
ページ更新者:atom
更新日時:2026-06-11 07:07:02

タイトル: RSS
SEOタイトル: RSS フィード完全ガイド (RSS 2.0 / Atom / JSON Feed)

この本文には実行可能なタグ等が含まれるため、安全のためHTMLソースとして表示しています。本文データは変更していません。

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;background:#fffbea;border:1px solid #f4c430;margin:1em 0;width:100%"><tr><td style="background:#f4c430;color:#000;font-weight:bold;padding:8px">この記事の要点</td></tr><tr><td style="padding:10px"><ul><li><strong>RSS (Really Simple Syndication)</strong> = サイト更新情報を機械可読 (XML) で配信する仕組み</li><li>主要バージョン: <strong>RSS 1.0 (RDF)</strong> / <strong>RSS 2.0</strong> / <strong>Atom 1.0</strong> (IETF 標準)</li><li>構造: <strong>channel + item</strong>。title / link / description / pubDate / guid</li><li>フィードリーダー: <strong>Feedly</strong> / <strong>Inoreader</strong> / <strong>News Reader</strong>。Google Reader は 2013 年廃止</li><li>新興: <strong>JSON Feed 1.1</strong> (JSON 形式)、Podcast の<strong>RSS 拡張</strong>は今も中核</li></ul></td></tr></table>
<h2>RSS とは</h2>

<p>RSS (Really Simple Syndication, RSS 2.0 での略称) は、Web サイトの更新情報を<strong>機械可読な XML フォーマット</strong>で配信する仕組みです。ニュースサイト、ブログ、Podcast などが「新しい記事/エピソードを公開した」ことを購読者に知らせるために使われます。</p>

<h2>歴史と主要バージョン</h2>

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th>バージョン</th><th>登場</th><th>備考</th></tr></thead>
<tbody>
<tr><td>RDF Site Summary 0.9</td><td>1999</td><td>Netscape</td></tr>
<tr><td>RSS 0.91 / 0.92 / 2.0</td><td>2000-2002</td><td>UserLand → Harvard</td></tr>
<tr><td><strong>RSS 1.0</strong></td><td>2000</td><td>RDF ベース (RDF Site Summary)</td></tr>
<tr><td><strong>RSS 2.0</strong></td><td>2002</td><td>最も普及。"Really Simple Syndication"</td></tr>
<tr><td><strong>Atom 1.0</strong></td><td>2005</td><td>IETF RFC 4287、より厳格な仕様</td></tr>
<tr><td>JSON Feed 1.0 / 1.1</td><td>2017 / 2020</td><td>XML ではなく JSON</td></tr>
</tbody>
</table>

<h2>RSS 2.0 の基本構造</h2>
<pre style="background:#1e293b;color:#e2e8f0;padding:1em;border-radius:6px;overflow-x:auto;line-height:1.5"><code class="language-xml"><?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>サイト名</title>
    <link>https://example.com/</link>
    <description>サイトの説明</description>
    <language>ja-jp</language>
    <pubDate>Wed, 10 Jun 2026 12:00:00 +0900</pubDate>
    <lastBuildDate>Wed, 10 Jun 2026 12:00:00 +0900</lastBuildDate>
    <generator>WordPress 6.5</generator>

    <item>
      <title>記事タイトル 1</title>
      <link>https://example.com/article/1</link>
      <guid isPermaLink="true">https://example.com/article/1</guid>
      <pubDate>Wed, 10 Jun 2026 10:00:00 +0900</pubDate>
      <author>editor@example.com (編集部)</author>
      <category>テクノロジー</category>
      <description><![CDATA[
        記事の要約や本文の HTML を入れられる
      ]]></description>
    </item>

    <item>
      <title>記事タイトル 2</title>
      <link>https://example.com/article/2</link>
      <guid>https://example.com/article/2</guid>
      <pubDate>Tue, 09 Jun 2026 18:00:00 +0900</pubDate>
      <description>2 番目の記事</description>
    </item>

  </channel>
</rss></code></pre>
<h3>必須要素</h3>

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th>場所</th><th>要素</th><th>意味</th></tr></thead>
<tbody>
<tr><td>channel</td><td>title</td><td>サイト名</td></tr>
<tr><td>channel</td><td>link</td><td>サイト URL</td></tr>
<tr><td>channel</td><td>description</td><td>サイトの説明</td></tr>
<tr><td>item</td><td>title または description</td><td>記事タイトル / 内容 (どちらか必須)</td></tr>
<tr><td>item</td><td>link</td><td>記事 URL</td></tr>
<tr><td>item</td><td>guid</td><td>記事の一意 ID (URL 流用可)</td></tr>
<tr><td>item</td><td>pubDate</td><td>公開日時 (RFC 822 形式)</td></tr>
</tbody>
</table>

<h2>Atom 1.0 の構造</h2>
<pre style="background:#1e293b;color:#e2e8f0;padding:1em;border-radius:6px;overflow-x:auto;line-height:1.5"><code class="language-xml"><?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>サイト名</title>
  <link href="https://example.com/"/>
  <link rel="self" href="https://example.com/atom.xml"/>
  <updated>2026-06-10T12:00:00+09:00</updated>
  <id>https://example.com/</id>
  <author><name>編集部</name></author>

  <entry>
    <title>記事タイトル 1</title>
    <link href="https://example.com/article/1"/>
    <id>https://example.com/article/1</id>
    <updated>2026-06-10T10:00:00+09:00</updated>
    <summary>要約</summary>
    <content type="html"><![CDATA[
      <p>本文 HTML</p>
    ]]></content>
  </entry>
</feed></code></pre>
<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th>項目</th><th>RSS 2.0</th><th>Atom 1.0</th></tr></thead>
<tbody>
<tr><td>標準化</td><td>非標準 (Harvard 仕様)</td><td>IETF RFC 4287</td></tr>
<tr><td>ルート</td><td><code><rss></code></td><td><code><feed></code></td></tr>
<tr><td>記事要素</td><td><code><item></code></td><td><code><entry></code></td></tr>
<tr><td>日付形式</td><td>RFC 822</td><td>RFC 3339 (ISO 8601)</td></tr>
<tr><td>本文要素</td><td>description</td><td>summary / content (区別)</td></tr>
<tr><td>多言語対応</td><td>弱</td><td>強 (xml:lang)</td></tr>
<tr><td>名前空間</td><td>後付け</td><td>標準</td></tr>
</tbody>
</table>

<h2>JSON Feed 1.1</h2>

<p>2017 年に Manton Reece と Brent Simmons が提唱。XML 不要、JavaScript で扱いやすい。</p>
<pre style="background:#1e293b;color:#e2e8f0;padding:1em;border-radius:6px;overflow-x:auto;line-height:1.5"><code class="language-json">{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "サイト名",
  "home_page_url": "https://example.com/",
  "feed_url": "https://example.com/feed.json",
  "description": "サイトの説明",
  "language": "ja",
  "items": [
    {
      "id": "https://example.com/article/1",
      "url": "https://example.com/article/1",
      "title": "記事タイトル 1",
      "content_html": "<p>本文 HTML</p>",
      "summary": "要約",
      "date_published": "2026-06-10T10:00:00+09:00",
      "tags": ["テクノロジー", "RSS"]
    }
  ]
}</code></pre>
<h2>HTML での発見容易性 (Auto-Discovery)</h2>

<p>サイトの HTML <code><head></code> に <code><link></code> を入れることで、ブラウザやリーダーがフィードを自動検出できます。</p>
<pre style="background:#1e293b;color:#e2e8f0;padding:1em;border-radius:6px;overflow-x:auto;line-height:1.5"><code class="language-html"><head>
  <link rel="alternate" type="application/rss+xml"
        title="サイト名 RSS" href="/feed.rss">
  <link rel="alternate" type="application/atom+xml"
        title="サイト名 Atom" href="/atom.xml">
  <link rel="alternate" type="application/feed+json"
        title="サイト名 JSON Feed" href="/feed.json">
</head></code></pre>
<h2>自動生成 (各 CMS / SSG)</h2>

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th>CMS / SSG</th><th>パス</th><th>備考</th></tr></thead>
<tbody>
<tr><td>WordPress</td><td><code>/feed/</code> または <code>?feed=rss2</code></td><td>RSS 2.0 自動生成</td></tr>
<tr><td>Hugo</td><td>各セクションに <code>index.xml</code></td><td>テンプレートで上書き可</td></tr>
<tr><td>Jekyll</td><td>jekyll-feed プラグイン</td><td>Atom 自動</td></tr>
<tr><td>Eleventy</td><td>@11ty/eleventy-plugin-rss</td><td></td></tr>
<tr><td>Next.js</td><td>自前実装 or feed npm</td><td></td></tr>
<tr><td>はてなブログ</td><td><code>/rss</code></td><td></td></tr>
<tr><td>note</td><td><code>/note/USER/rss</code></td><td></td></tr>
</tbody>
</table>

<h2>Podcast の RSS フィード</h2>

<p>Podcast 配信の中核は今も RSS。Apple Podcasts / Spotify / Google Podcasts (廃止予定→YouTube Music) はすべて RSS フィードを収集します。Apple Podcasts 名前空間が事実上の標準:</p>
<pre style="background:#1e293b;color:#e2e8f0;padding:1em;border-radius:6px;overflow-x:auto;line-height:1.5"><code class="language-xml"><rss version="2.0"
     xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>My Podcast</title>
    <link>https://example.com/podcast</link>
    <language>ja-jp</language>
    <itunes:author>ホスト名</itunes:author>
    <itunes:category text="Technology"/>
    <itunes:image href="https://example.com/cover.jpg"/>
    <itunes:explicit>false</itunes:explicit>

    <item>
      <title>エピソード 1: 始まり</title>
      <pubDate>Wed, 10 Jun 2026 06:00:00 +0900</pubDate>
      <guid>ep-001</guid>
      <enclosure
        url="https://example.com/podcast/ep001.mp3"
        length="12345678"
        type="audio/mpeg"/>
      <itunes:duration>1234</itunes:duration>
      <itunes:episode>1</itunes:episode>
      <description>第 1 回の説明</description>
    </item>
  </channel>
</rss></code></pre>
<h2>フィードリーダー</h2>

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th>リーダー</th><th>形態</th><th>備考</th></tr></thead>
<tbody>
<tr><td>Feedly</td><td>Web / モバイル / 拡張</td><td>世界最大級。AI 要約あり</td></tr>
<tr><td>Inoreader</td><td>Web / モバイル</td><td>パワーユーザー向け、ルール機能</td></tr>
<tr><td>NewsBlur</td><td>Web</td><td>SNS 風 UI</td></tr>
<tr><td>The Old Reader</td><td>Web</td><td>Google Reader 風シンプル UI</td></tr>
<tr><td>NetNewsWire</td><td>macOS / iOS</td><td>OSS、軽量</td></tr>
<tr><td>FreshRSS</td><td>セルフホスト</td><td>PHP、自分のサーバで運用</td></tr>
<tr><td>Tiny Tiny RSS</td><td>セルフホスト</td><td>老舗、ユーザーフォーラム活発</td></tr>
<tr><td>RSSHub</td><td>セルフホスト + 公開インスタンス</td><td>RSS の無いサイトを RSS 化</td></tr>
</tbody>
</table>

<h2>RSS Bridge と RSS の復権</h2>

<p>Twitter (X) / Instagram などが公式 RSS を廃止する流れに対して、<strong>RSSHub / RSS-Bridge</strong> といったツールが「RSS を持たないサイトを RSS フィード化」して提供します。プライバシー意識の高まりと共に、SNS のアルゴリズム支配を避けて RSS に戻る人も増えており、ニッチながら<strong>RSS は復権中</strong>と言われます。</p>

<h2>サイトマップとの違い</h2>

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse;width:100%">
<thead><tr style="background:#e3f2fd"><th></th><th>RSS</th><th>サイトマップ (sitemap.xml)</th></tr></thead>
<tbody>
<tr><td>用途</td><td>新着配信 (人 / アプリ向け)</td><td>クロール網羅 (検索エンジン向け)</td></tr>
<tr><td>件数</td><td>直近 10-50 件</td><td>全 URL (最大 5 万件 / ファイル)</td></tr>
<tr><td>本文</td><td>あり</td><td>URL のみ</td></tr>
<tr><td>更新頻度</td><td>新着あり次第</td><td>定期 (週次など)</td></tr>
</tbody>
</table>

<h2>歴史的トピック: Google Reader の廃止</h2>

<p>2005 年に開始した Google Reader は、最も人気のあった RSS リーダーでしたが <strong>2013 年 7 月 1 日に廃止</strong>。多くのユーザーが Feedly や Inoreader に移行しました。SNS 中心の情報消費へのシフトが背景と説明されましたが、現在ヒッキー (Hickey) 効果として「Google Reader 廃止が RSS 衰退の象徴」とも語られます。</p>

<h2>Web 標準と関連 RFC</h2>

<ul>
<li>RSS 2.0 仕様: <a href="https://www.rssboard.org/rss-specification">RSS Board</a></li>
<li>Atom: RFC 4287 (Format)、RFC 5023 (Publishing Protocol)</li>
<li>RFC 822 / 2822 / 5322 (日付フォーマット)</li>
<li>JSON Feed: <a href="https://www.jsonfeed.org/version/1.1/">jsonfeed.org</a></li>
<li>Apple Podcasts RSS 仕様: developer.apple.com/itunes-rss</li>
</ul>

<h2>FAQ</h2>

<p><strong>Q: RSS と Atom、どちらを採用すべき?</strong><br />
A: 既存資産が無いなら<strong>Atom 推奨</strong> (仕様が厳密、IETF 標準)。ただし<strong>WordPress や Podcast 文化は RSS 2.0 が事実標準</strong>。互換性最大なら両方公開も可。</p>

<p><strong>Q: RSS は SEO に効果があるか?</strong><br />
A: 直接の SEO シグナルではないが、Google Discover / フィードリーダー経由の流入は健在。クローラ補助として sitemap.xml + RSS の両方公開が無難。</p>

<p><strong>Q: メールマガジンは RSS の代替?</strong><br />
A: 方向性は同じ「更新通知」ですが、メルマガはサーバ側プッシュ、RSS はクライアント側プル。<strong>FeedBurner / Mailchimp RSS-to-Email</strong> で RSS から自動メルマガ化も可能。</p>