atom:category

category (フィード)

目次

  1. atom:category 要素 (Atom)
    1. 仕様書
    2. 文脈
    3. 内容モデル
    4. 歴史
    5. 関連
  2. category 要素 (RSS)
    1. 文脈
    2. 内容
    3. 応用
    4. 関連
  3. category 要素 (SmartFormat)
  4. メモ

atom:category 要素 (Atom)#

[23] atom:category 要素エントリーフィードと関連付けられた分類 (category) を表します RFC 4287 4.2.2.

[13]

状態
IETF 提案標準
要素名
category (「分類 (category) 」より)
文脈
atom:feed子要素として、 atom:entry子要素として、 app:categories子要素として
内容モデル
属性
label, scheme, term

仕様書#

文脈#

[19] atom:category 要素は、 atom:feed 要素子要素として任意個用いることができます Atom 1.0 4.1.1.

[22] atom:category 要素は、 atom:entry 要素子要素として任意個用いることができます Atom 1.0 4.1.2.

[12] atom:category 要素は、 AtomPub app:categories 要素子要素としても用いることができます。 AtomPub

内容モデル#

[24] RFC 4287 はこの要素内容があったとしてもその意味を規定しないと明記しています RFC 4287 4.2.2.

[25] RELAX NG スキーマ (参考) 上のデータ型undefinedContent です RFC 4287 4.2.2.

歴史#

[10] Atom 0.3 にはまだ atom:category 要素に相当するものはありませんでした。

#

[15] >>14 と同じサイトの Atom

        <category term="009掲示板" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="012イベント&ニュース" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="久米島ツアー" label="久米島ツアー" scheme="http://www.sixapart.com/ns/types#tag" />

[16]

<category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'/>

[17] GIGAZINE ( 版) <http://www.pheedo.jp/f/gigazine_atom>

		<category term="メモ"
        scheme="http://gigazine.net/index.php?/news/C7/"
        label="メモ"/>

[18] ちょっとしたメモ - Atomのcategory要素とURI参照 (Masahide Kanzaki 著, 版) <http://www.kanzaki.com/memo/2005/06/27-1>

[27]

<category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='エンターテイメント'/>

関連#

[20] RSScategory 要素マイクロフォーマットrel-tag と似ています。

category 要素 (RSS)#

[1] RSScategory 要素は、 チャンネル項目の属する分類 (タグ) を表します。

要素名
category (category (分類) より)
文脈
チャンネル要素が認められる文脈、item 要素子要素として
内容モデル
テキスト
属性
domain

仕様書:

文脈#

[6] category 要素channnel 要素item 要素子要素として、 零個以上使って構いません RSS 2.0, RSS Best Practices Profile

内容#

[7] 要素内容は、スラッシュ分離の文字列で、分類の階層構造上の位置を表します RSS 2.0。と RSS 2.0 では事実の文になっていますが、 RSS Best Practices Profile では推奨になっています。

応用#

[8] 処理器は分類の解釈上の convention を確立して構いません RSS 2.0

どういう意味でしょう。

#

[2]

<category>Newspapers</category>

RSS 2.0 仕様書より

[4]

<category>Grateful Dead</category>

RSS 2.0 仕様書より

[5]

<category domain="http://www.fool.com/cusips">MSFT</category>

RSS 2.0 仕様書より

[9]

<category>Media</category>

[14]

          <category domain="http://www.sixapart.com/ns/types#category">009掲示板</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">012イベント&ニュース</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">久米島ツアー</category>

関連#

[3] Atom では category 要素に相当します。

[26] RSS 1.0 ではカテゴリータグには dc:subject 要素がよく使われます。

category 要素 (SmartFormat)#

[48] SmartNews の採用する SmartFormat は、 RSS 2.0Atom 1.0 と似て非なるフィード形式です。 category は、 RSS 2.0 でも Atom 1.0 でも、次のような構文を求めています。 (これは RSS 2.0 とも Atom 1.0 とも異なる独自形式です。)

[47] SmartFormat ( ()) <https://www.smartnews.com/smartformat/ja/#entry%3A6902e2c38bc28b4b0bcb4b2816703cab>

<category>iphone,technology</category>

, で複数の文字列を連結したリストです。

メモ#

[28] draft-sneddon-atom-export-01 - Atom Export Format ( ( 版)) <http://tools.ietf.org/html/draft-sneddon-atom-export-01>

[29] Citation Style Language 1.0.1 ( ( 版)) <http://citationstyles.org/downloads/specification.html#info>

[30] OData Atom Format Version 4.0 ( 版) <http://docs.oasis-open.org/odata/odata-atom-format/v4.0/cs01/odata-atom-format-v4.0-cs01.html#_Toc230433086>

<category rel="http://docs.oasis-open.org/odata/ns/scheme"

          term="Model.VipCustomer"/>

[31] API Documentation ( 版) <https://www.shutterfly.com/documentation/AtomConcepts.sfly>

<category term="addressbookentry" scheme="http://site.openfly.shutterfly.com/v1.0"/>

[32] API Documentation ( 版) <https://www.shutterfly.com/documentation/AtomConcepts.sfly>

<category term="user" scheme="http://openfly.shutterfly.com/v1.0"/>

<entry>

<title>My New Folder</title>

<category term="folder" scheme="http://media.openfly.shutterfly.com/v1.0"/>

[33] ORE User Guide - Resource Map Implementation in Atom ( 版) <https://www.openarchives.org/ore/1.0/atom>

<category term="2005-12-31T04:01:23Z" scheme="http://www.openarchives.org/ore/atom/created"/>

<category term="http://www.openarchives.org/ore/terms/Aggregation" label="Aggregation"

scheme="http://www.openarchives.org/ore/terms/" />

<category term="2006-01-18T06:16:15Z" scheme="http://www.openarchives.org/ore/atom/modified"/>

<category term="http://purl.org/eprint/type/JournalArticle"

scheme="http://purl.org/eprint/type/" label="Journal Article"/>

[34] ( 版) <http://staff.hatenablog.com/feed>

<category term="障害・メンテナンス" label="障害・メンテナンス" />

[35] ( 版) <https://googleblog.blogspot.com/feeds/posts/default>

<category term="search"/>

[36] >>35 これはブログに存在する分類 (タグ?) がすべて feedcategory として含まれているのでしょうかね。 確かに category 要素の意味を考えるとそれでもおかしくはなさそう。 そもそも feedcategory は何のためにあるのだろう。。。

[37] ( 版) <http://www.nhk.or.jp/lesson/common/rss/podcast/arabic.xml>

<itunes:category text="Education">

<itunes:category text="Language Courses"/>

</itunes:category>

<item>

[38] ( 版) <http://www.nhk.or.jp/lesson/common/rss/podcast/arabic.xml>

<itunes:category text="Education">

<itunes:category text="Language Courses"/>

</itunes:category>

<pubDate>Tue, 15 Mar 2016 00:00:00 +0900</pubDate>

</item>

[41] itemitunes:category が指定されています。しかし Apple のドキュメントでは channel にしか指定できないことになっています。
[39] RSS feed sample - Podcasts Connect Help ( 版) <https://help.apple.com/itc/podcasts_connect/#/itcbaf351599>

<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything.jpg" />

<itunes:category text="Technology">

<itunes:category text="Gadgets"/>

</itunes:category>

<itunes:category text="TV &amp; Film"/>

<item>

[40] <itunes:category> が欠落していて整形式になっていません。
[42] ( 版) <http://www.joqr.co.jp/blog/golden-opening/index.xml>

<category>Comedy</category>

<itunes:category text="Comedy"/>

[43] ( 版) <http://www.joqr.co.jp/blog/golden-opening/index.xml>

<category></category>

<pubDate>Fri, 18 Mar 2016 17:00:00 +0900</pubDate>

[44] ( 版) <http://www.tbsradio.jp/tsutaya/index.xml>

<category>TV & Film</category>

<itunes:category text="TV & Film"/>

<itunes:category text="Comedy"/>

[45] ( 版) <http://stackoverflow.com/feeds>

<category scheme="http://stackoverflow.com/tags" term="python" />

<category scheme="http://stackoverflow.com/tags" term="xml" />

[46] ( ()) <http://easier-links.com/atom.xml>

<category term="550サーチエンジン" scheme="http://www.sixapart.com/ns/types#category" />

[49] Atom Export Format ( ( 版)) <http://stuff.gsnedders.com/atom-export.html>

[50] ( 版) <http://blog.nicovideo.jp/index.xml>
<category domain="http://www.sixapart.com/ns/types#category">お知らせ</category>
<category domain="http://www.sixapart.com/ns/types#category">ひとりごとシリーズ</category>
<category domain="http://www.sixapart.com/ns/types#category">ニコニコ動画について</category>
<category domain="http://www.sixapart.com/ns/types#category">日記</category>
[51] ( 版) <http://xmlns.ezrss.it/0.1/index.xmlns>
				<category domain="http://eztv.it/shows/40/californication/"><![CDATA[TV Show / Californication]]></category>
[52] 版) <http://blog.suzaka.jp/xmlsrv/rss2.php?blog=79>
<category domain="main">図書館だより</category>