twitter:description

description (HTML、RSS)

メタデータ description (HTML)

[47] Facebookog:description がなければ <meta name=description> を使いますが、それもなければ説明なしとして扱います。

[48] はてなブログブログカード<meta name=description> を使います。

[71] Google検索<meta name=description> を使います。

OGP 特性 og:description (HTML)

[44] Facebook は、 og:description がなければ <meta name=description> を使います。

[46] Twitter は、 og:description がなければ Twitter Cards とはみなしません。

[49] はてなブログブログカードog:description を使うことと使わないことがあって不安定そうです。

メタデータ twitter:description (HTML)

[45] Twitter は、 twitter:description がなければ og:description を使います。

description 要素 (RSS2)

[1] RSSdescription チャンネル要素は、 人間可読なフィードの性質や要約を表します RSS Best Practices Profile。また、 item 要素子要素description 要素は、 項目の説明を表します。 image 要素子要素description 要素は、 HTML img 要素title 属性に相当します。 textInput 要素子要素description 要素は、 テキスト入力欄の説明を表します。

要素名
description (description (説明) より)
文脈
チャンネル要素が認められる場所 (必須)、 item 要素子要素として、 image 要素子要素として、textInput 要素子要素として
内容モデル
文字データ
属性

仕様書:

意味

[10] item 要素子要素である description について、 RSS 2.0 仕様書は、 その item が表す「項目」の性質によって、 本文全体を含めても良いし、その概略的なものだけでもよい、というような説明をしています。 その判断は完全に出版者に委ねられています RSS Best Practices Profile

文脈

[2] description 要素channel 要素子要素として用いることができます。 この要素は必須です RSS 2.0

[4] description 要素item 要素子要素としても用いることができます。 item 要素子要素としては descriptiontitle の最低1つはなければなりません RSS 2.0

[8] description 要素image 要素子要素として用いることができます。その場合、 HTML としてレンダリングされる場合に img 要素title 属性に用いられるテキストを表します RSS 2.0。それに適切なものであるべきです RSS Best Practices Profile

[9] description 要素textInput 要素子要素として用いることができます。 この要素は必須です RSS 2.0

内容

[6] RSS 2.0 では、 item 要素子要素description 要素では実体符号化された HTML が認められています RSS 2.0HTML として表現するのに適切なものでなければなりません RSS Best Practices ProfileHTML マーク付け実体 (&lt;&gt;) か CDATA区間文字データとして符号化しなければなりません RSS Best Practices Profile

[7] この RSS 2.0 本体の規定は escaped markup を認めるものですが、少々曖昧で、「認められている」 ということは、 HTML でなくてもいいと読めてしまいます。がしかし Best Practices によれば HTML でなければなりません。

[17] 文字参照は使ってはいけないのでしょうか。。。

[11] それ以外の description では平文になります RSS Best Practices Profile

[12] 詳しくは文字データの項を参照してください。

[18] RSSの基底URLの項も参照してください。

[50] channel 要素description 子要素を必須としていますが、現実のフィードでは適当な値が無いこともあって、 しかし必須のため、内容になっていることもあります。

[3] channel 要素で使う例

<description>The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.</description>

RSS 2.0 仕様書より、改

[13] channel 要素で使う例

<description>Current headlines from the Dallas Times-Herald newspaper</description>

[5] item 要素で使う例

<description>Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged.</description>

RSS 2.0 仕様書より

[14] item 要素で使う例

<description>I'm headed for France. I wasn't gonna go this year, but then last week "Valley Girl" came out and I said to myself, Joe Bob, you gotta get out of the country for a while.</description>

[15] item 要素で使う例

<description>I'm headed for France. I wasn't gonna go this year, but then last week &lt;a href="http://www.imdb.com/title/tt0086525/"&gt;Valley Girl&lt;/a&gt; came out and I said to myself, Joe Bob, you gotta get out of the country for a while.</description>

[16] item 要素で使う例

<description><!I'm headed for France. I wasn't gonna go this year, but then last week <a href="http://www.imdb.com/title/tt0086525/">Valley Girl</a> came out and I said to myself, Joe Bob, you gotta get out of the country for a while.></description>

[19] グルーソフトウェア ( 版) <http://www.gluesoft.co.jp/News/RSS/News.aspx>

<?xml version="1.0" encoding="utf-8" ?> 
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>グルーソフトウェア</title>
		<link>http://www.gluesoft.co.jp/</link>
		<description><!ヘルプ作成、マニュアル作成に最適な自動画面キャプチャーソフト <a href="http://www.gluesoft.co.jp/ClickRec">Click! レコーダー</a>、<a href="http://www.gluesoft.co.jp/Sasuke">デジカメ画像コピーソフト</a>、<a href="http://www.gluesoft.co.jp/FinBook">株式取引自動管理ソフト</a> などの開発・販売を行う会社です。></description>

RSS Best Practices Profile に従えばここで HTML を用いるのは誤り。

[20] TechNet フォーラムの OPML を作ってみました ( 版) <http://forums.microsoft.com/TechNet-JA/rss.aspx?siteid=36&postID=1106628&forumID=855>

<?xml version="1.0"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>TechNet フォーラムの OPML を作ってみました</title><link>http://forums.microsoft.com/TechNet-JA/ShowPost.aspx?PostID=1106628&amp;SiteID=36</link><description>&lt;P&gt;ここに書いて良いのか、微妙ですが。&lt;BR&gt;MSDN フォーラムの OPML を作ったついでに、TechNet フォーラムの OPML も作ってみました。&lt;/P&gt;
&lt;P&gt;&lt;ul class="anf_list"&gt;&lt;li&gt;&lt;a href="http://jeanne.wankuma.com/others/opml/technet-forum/" target="_blank" title="http://jeanne.wankuma.com/others/opml/technet-forum/"&gt;TechNet フォーラムの OPML&lt;/a&gt; (wankuma.com)&lt;BR&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://jeanne.wankuma.com/others/opml/msdn-forum/" target="_blank" title="http://jeanne.wankuma.com/others/opml/msdn-forum/"&gt;MSDN フォーラムの OPML&lt;/a&gt; (wankuma.com)&lt;/li&gt;&lt;/ul&gt;&lt;/P&gt;

&lt;P&gt;RSS アグリゲータをお使いの方は、ご利用頂ければ幸いです。&lt;/P&gt;</description>

>>19 と同じく。こっちのサイトの場合、スレッドに相当するフィードらしく、 フィードの説明 = 最初のエントリーの説明になっています。だから、 どっちも同じにしたいというのは気持ち的には間違っていない。 (そういうフィードの構成の仕方が好ましいかは議論の余地がありますけど、 でも他にもっといい方法も思いつかないしなー。) RSS の仕様が歴史的な理由で非対称になってるのがよくない。

description 要素 (RSS1)

[22] RSS 1.0channel 要素子要素description 要素は、 チャンネルの内容、機能、出典、その他についての簡単な説明を表します >>23

[30] RSS 1.0item 要素子要素description 要素は、 項目の簡単な説明・概要を表します >>29

[33] RSS 1.0textinput 要素子要素description 要素は、 textinput 欄の目的の簡単な説明を表します >>32

仕様書

文脈

[25] channel 要素子要素としてちょうど1つなければなりません >>23

[31] item 要素子要素として高々1つ使えます >>29

[34] textinput 要素子要素としてちょうど1つなければなりません >>32

内容

[24] この要素内容PCDATA です >>23, >>29, >>32

[26] textinput 要素では100文字以下、 それ以外では500文字以下とすることが提案 (suggested) されています >>23, >>29, >>32

[27] RSS 1.0 本体仕様上 HTML が使えると書いているところはどこにもないので、 普通に平文と解釈されるべきでしょう。別に content:encoded 要素が存在するわけですし。にも関わらず、 HTML として解釈する実装、 HTML を含めているフィードも存在します。

[55] 実際のところ、未だに RSS 1.0 を使っているフィードのうち主要なものがいくつも HTML を使っているので、 HTML として解釈せざるを得ないと思われます。

実装

[21] Firefox3 は escaped markup として解釈するみたいです。

[35] >>32 をもとに作成

<textinput rdf:about="...">
  ...
  <description>Subscribe to our newsletter for...</description>
</textinput>

[36] >>32 をもとに作成

<textinput rdf:about="...">
  ...
  <description>Search our site's archive of...</description>
</textinput>

dc:description 要素 (RSS 1.0)

仕様書

意味

[38] 意味Dublin Core Metadata Element Set (1999年7月2日版) によります >>37

[51] RSS 1.0description 要素も既にあるのに、 何に使うのかは謎です。

構文

[39] 名前空間URLhttp://purl.org/dc/elements/1.1/ >>37 (一般的な名前空間接頭辞dc) です。

文脈

[40] この要素RSS 1.0channel, item, image, item要素で使えます。 >>37

[41] この要素は必須ではありません。個数の上限があるのかは不明です。

内容

[42] この要素内容PCDATA です >>37

[43] 将来的には RDF 的な構造を記述できるように検討されていました >>37

メモ

[52] ( 版) <http://f.hatena.ne.jp/hatenafotolife/rss>

<title>hatenafotolife's fotolife</title>

<link>http://f.hatena.ne.jp/hatenafotolife/</link>

<description>hatenafotolife's fotolife</description>

[53] ( 版) <http://d.hatena.ne.jp/hatenadiary/rss2>

<description>

<![CDATA[

<div class="section"> <p>そろそろ卒業式シーズンですね。楽しかった学校生活のふりかえりや、卒業式の思い出などを書いてみませんか。</p> <div style="text-align: center;"> <p>今週のお題は <strong style="font-size: large;">「卒業」</strong> で

]]>

<![CDATA[

す。</p> </div> <p>そのほか「今年こそ◯◯から卒業したい」や「好きなアイドルの卒業の話」など、「卒業」にまつわるエピソードなら何でもかまいません。たくさんの投稿、お待ちしております。</p> <form action="http://d.hatena.ne.jp/refer" style="text-align: center; margin: 1.5em 0;" method="GET"> <input alt="お題に答える" src="http://img.f.hatena.ne.jp/images/fotolife/h/hatenadiary/20101229/20101229153245.gif" title="お題に答える" type="image"> <input value="[[今週のお題]]「卒業」" name="appendbody" type="hidden"><br> <span style="font-size: small;"><a href="http://k.hatena.ne.jp/keywordblog/%E4%BB%8A%E9%80%B1%E3%81%AE%E3%81%8A%E9%A1%8C">みんなの投稿</a></span> </form> <h4> お題「好きな街」ふりかえり</h4> <p>前回のお題にたくさんの投稿をありがとうございました。ふりかえりは週刊はてなブログに掲載いたします。</p> <p><a href="http://blog.hatenablog.com/" target="_blank">週刊はてなブログ</a><a href="http://b.hatena.ne.jp/entry/http://blog.hatenablog.com/" class="http-bookmark" target="_blank"><img src="http://b.hatena.ne.jp/entry/image/http://blog.hatenablog.com/" alt="" class="http-bookmark"></a></p> </div>

]]>

</description>

[54] ( 版) <http://rss.rssad.jp/rss/slashdot/slashdot.rss>

<item rdf:about="http://security.srad.jp/story/16/03/18/0911215/">

<title>マイナンバー通知カードの紛失や番号流出などが相次ぐ</title>

<link>http://security.srad.jp/story/16/03/18/0911215/</link>

<description><![CDATA[<p><img align="right" height="64" width="64" src="http://images.srad.jp/topics/privacy_64.png">あるAnonymous Coward 曰く、1月より運用が開始されたマイナンバーだが、勤務先が集めた社員のマイナンバー通知カードを紛失したり、番号が流出するケースが確認されているという(朝日新聞)。

ニュースになっているものとしては、横浜市立新吉田小学校の職員が教職員38名とその家族16人のマイナンバーが書かれた書類を紛失した件や、鹿児島県ではマイナンバーカードの紛失届が2月19日時点で418件あったという話などがあるようだ。そのため、個人情報保護委員会などが厳重な管理を呼びかけているという。<p> <a href="http://security.srad.jp/story/16/03/18/0911215/">すべて読む</a>

[56] ( 版) <https://pukiwiki.osdn.jp/?cmd=rss>

<item>

<title>PukiWiki/PHP5.4対応版</title>

<link>https://pukiwiki.osdn.jp:443/?PukiWiki/PHP5.4%E5%AF%BE%E5%BF%9C%E7%89%88</link>

<description>Wed, 09 Mar 2016 22:42:37 JST</description>

</item>

[57] BitTorrent.org (Arvid Norberg <arvid@bittorrent.com> 著, 版) <http://www.bittorrent.org/beps/bep_0036.html>

The description tag MAY be used for a description of the content. If a description tag is available, it SHOULD NOT contain any markup. It should be plain text.

[58] ( 版) <http://rss.rssad.jp/rss/mainichi/flash.rss>

<description><![CDATA[<p><img border="0" width="1" height="1" src="http://rss.rssad.jp/rss/artimg/ZLcY1bpa2mkX/1085470792b120fc5f9cbccfe99e4731"/></p>]]></description>

[59] ( 版) <http://feedblog.ameba.jp/rss/ameblo/masaokusakari/rss20.xml>

<description> <![CDATA[ 上州沼田真田丸展オープニングセレモニー‼️取材中‼️たくさん来てくれてありが<a href="http://ameblo.jp/masaokusakari/entry-12141220549.html">続きをみる</a><p>『著作権保護のため、記事の一部のみ表示されております。』</p>

]]> </description>

[60] ( 版) <http://portal.nifty.com/rss/headline.rdf>

<description>

<![CDATA[

<img src="http://portal.nifty.com/2016/03/21/a/img/pc/50.jpg" alt="愛媛のみかんジュースを飲み比べたい" width="50" height="50"/> 愛媛のみかんは種類が膨大! そしてジュースの種類も豊富なのだ。

]]>

</description>

<content:encoded>

<![CDATA[

<img src="http://portal.nifty.com/2016/03/21/a/img/pc/50.jpg" alt="愛媛のみかんジュースを飲み比べたい" width="50" height="50"/> 愛媛のみかんは種類が膨大! そしてジュースの種類も豊富なのだ。

]]>

</content:encoded>

[61] ( 版) <http://www.yuiki1994.com/rss>

<rss version="2.0">

<channel>

<title>くっくす!</title>

<link>http://www.yuiki1994.com/</link>

<description>調理師&amp;フォトグラファー&読モの上智大学生による情報発信メディア!</description>

escaped markup ではない (仕様通り)
[62] ( 版) <http://feeds.journal.mycom.co.jp/rss/mycom/enterprise>

<item rdf:about="http://news.mynavi.jp/news/2016/03/21/107/">

<title>OSSECでサーバへの不正侵入を検知する方法</title>

<description><![CDATA[<p>Sucuriは3月17日(米国時間)、「Server Security: Indicators of Compromise Using OSSEC」において、OSSEC (Open Source Intrusion Detection System; オープンソース侵入検知システム)を使うことでサーバに対する不正侵入をモニタリングし検出を行うことができると伝えた。

<img border="0" width="1" height="1" src="http://rss.rssad.jp/rss/artimg/MCpt8OV0jzw0/e89cac620a0d092239b7be9121078b0d"/></p>]]></description>

[63] ( 版) <http://newsformat.jp/hd/appps.jp/>

<item rdf:about="https://goo.gl/sflHn6?rss-matome-hd-ad&amp;ac=3&amp;appps.jp1458464411">

<title>無料で読みたいニュースがログイン・新規登録不要で簡単に読める:PR</title>

<link>https://goo.gl/sflHn6?rss-matome-hd-ad&amp;ac=3&amp;appps.jp1458464411</link>

<dc:date>2016-03-20T09:00:06Z</dc:date>

<description> &lt;p&gt;&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;URL=http://pocket.livedwango.com/subscribes/new?from=ldrad&quot; /&gt;LDR Pocketは、スマホから、自分が読みたいニュースやブログの情報を、自由に追加、簡単にまとめて、読めるツールです。ログイン・新規登録不要・無料でお使いになれます。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-200x133.png&quot; alt=&quot;ldradimg01&quot; width=&quot;200&quot; height=&quot;133&quot; class=&quot;alignnone size-thumbnail wp-image-167&quot; srcset=&quot;http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-200x133.png 200w%2c http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-300x200.png 300w%2c http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01.png 900w&quot; sizes=&quot;(max-width: 200px) 100vw%2c 200px&quot; /&gt;&lt;/p&gt;

</description>

</item>

[64] ( 版) <http://newsformat.jp/hd/appps.jp/>

<item rdf:about="https://goo.gl/sflHn6?rss-matome-hd-ad&amp;ac=3&amp;appps.jp1458464411">

<title>無料で読みたいニュースがログイン・新規登録不要で簡単に読める:PR</title>

<link>https://goo.gl/sflHn6?rss-matome-hd-ad&amp;ac=3&amp;appps.jp1458464411</link>

<dc:date>2016-03-20T09:00:06Z</dc:date>

<description> &lt;p&gt;&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;URL=http://pocket.livedwango.com/subscribes/new?from=ldrad&quot; /&gt;LDR Pocketは、スマホから、自分が読みたいニュースやブログの情報を、自由に追加、簡単にまとめて、読めるツールです。ログイン・新規登録不要・無料でお使いになれます。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-200x133.png&quot; alt=&quot;ldradimg01&quot; width=&quot;200&quot; height=&quot;133&quot; class=&quot;alignnone size-thumbnail wp-image-167&quot; srcset=&quot;http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-200x133.png 200w%2c http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01-300x200.png 300w%2c http://ldr.wpcloud.net/wp-content/uploads/2015/06/ldradimg01.png 900w&quot; sizes=&quot;(max-width: 200px) 100vw%2c 200px&quot; /&gt;&lt;/p&gt;

</description>

</item>

[65] ( 版) <http://portal.nifty.com/rss/headline.rdf>

<item rdf:about="http://portal.nifty.com/kiji/160321195963_1.htm">

<title><![CDATA[日本の名所は、海外のツアーでどう紹介されているのか?]]></title>

<link>http://portal.nifty.com/kiji/160321195963_1.htm</link>

<description><![CDATA[<img src="http://portal.nifty.com/2016/03/21/b/img/pc/50.jpg" alt="日本の名所は、海外のツアーでどう紹介されているのか?" width="50" height="50"/> 日本の名所はどんな紹介のされ方をしているか。ガイドさんの解説に聞き耳を立ててみた。 ]]></description>

<content:encoded><![CDATA[<img src="http://portal.nifty.com/2016/03/21/b/img/pc/50.jpg" alt="日本の名所は、海外のツアーでどう紹介されているのか?" width="50" height="50"/> 日本の名所はどんな紹介のされ方をしているか。ガイドさんの解説に聞き耳を立ててみた。 ]]></content:encoded>

<dc:creator>榎並紀行</dc:creator>

<dc:subject>ヘッドライン</dc:subject>

<dc:date>2016-03-21T11:00:00+09:00</dc:date>

<dc:language>ja</dc:language>

</item>

[66] ( 版) <http://rss.kakaku.com/bbs/?CategoryCD=9643&ViewLimit=0>

<item rdf:about="http://bbs.kakaku.com/bbs/-/SortID=19688051/">

<title>葬儀・終活・エンバーミングについて質問です</title>

<link>http://bbs.kakaku.com/bbs/-/SortID=19688051/</link>

<description><![CDATA[<img src="http://img1.kakaku.k-img.com/jpeg_gif/bbs/granpapa3.gif" border="0" width="32" height="32" align="middle"><img src="http://img1.kakaku.k-img.com/images/bbs/bbs_ques.gif" border="0" width="32" height="32" align="middle"> 葬儀・葬式 についての情報<br>昨年93歳の母の葬儀を私が会員だった互助会の葬儀会館(熊本市)で行いました。

母の闘病末期、胃に直接、流動食を注入する「胃ろう」という選択肢もありましたが、

年老いた母の身体を傷つけたくないとの思いから、点・・・]]></description>

[67] ( 版) <http://tenkomo.com/?xml>

<item rdf:about="http://tenkomo.com/blog-entry-5022.html">

<link>http://tenkomo.com/blog-entry-5022.html</link>

<title>【生活】見たことのない名字・珍しい苗字 19</title>

<description> 6:&amp;nbsp;おさかなくわえた名無しさん&amp;nbsp;投稿日:2013/03/10(日) 02:14:18.14このスレって結構学術的なスレだよね。&amp;nbsp;苗字って減っていく一方だからみんなの記憶にあるものも出し合っていきましょう。&amp;nbsp;なんせ日本には20万もの苗字があるという話だし、&amp;nbsp;研究者の方も見てくれていたらいいですね。&amp;nbsp;穐鹿(きしか)さん11:&amp;nbsp;蠍 ◆C8utSR9LI6&amp;nbsp;投稿日:2013/03/11(月) 14:51:15.78乙社(おっこそ)8:&amp;nbsp

</description>

[68] ( 版) <http://www.onsen.ag/blog/?feed=rss2&cat=23>

<description>Just another WordPress weblog</description>

[69] ( 版) <http://iss.ndl.go.jp/rss/ndlopac/index.xml>

<dc:description>初回限定版</dc:description>

<dc:description>

原案・監督・シリーズ構成:佐藤順一 脚本:平見瞠/山田由香 キャラクターデザイン・総作画監督:飯塚晴子 美術監督:田尻健一 色彩設計:川上善美 撮影監督:和田尚之 音楽:中島ノブユキ 音楽制作:フライングドッグ 制作:TYOアニメーションズ 製作:たまゆら-卒業写真-製作委員会 声の出演:竹達彩奈/阿澄佳奈/井口裕香/儀武ゆう子/茅野愛衣/内田彩/飯塚麻結/大原さやか/福井裕佳梨/宮本佳那子/広橋涼/間島淳司/西村ちなみ/緒方恵美/松尾佳子/松来未祐/中田譲治

</dc:description>

<dc:description>2015年作品</dc:description>

<dc:description>システム要件 : カラー, ステレオ, ワイド</dc:description>

<dc:description>システム要件 : 音声: 日 (PCM), 日 (オーディオコメンタリー) (DTS-HD)</dc:description>

<dc:description>レーベル名 : ---</dc:description>

[70] RSS 2.0での「もっと読む」への対応について - はてなRSS日記 - 機能変更、お知らせなど () <https://hatena.g.hatena.ne.jp/hatenarss/20050512/1115883438>

RSS 1.0 は content:encoded 要素、Atom は content 要素が「もっと読む」で表示する対象となります。RSS 2.0 においては本文を記述する要素が明確には定められておりませんが、description 要素に HTML マークアップされた文章が入っている場合には、全文を掲載していると判断し「もっと読む」の対象としております。

[72] Clarify ASCII-case-insensitive matching for <meta>'s name (TimvdLippe著, ) <https://github.com/whatwg/html/commit/faa4c20f8f7b1f526e13cc2fc36c58bea99fb217>

[73] 【2018年版】meta descriptionの最適な長さは「300文字」または「グーグル任せ」か | Moz - SEOとインバウンドマーケティングの実践情報 | Web担当者Forum (Moz(旧SEOmoz)著, ) <https://webtan.impress.co.jp/e/2018/02/19/28312>