atom:category
要素 (Atom)#✎[23] atom:category
要素はエントリーやフィードと関連付けられた分類を表します
RFC 4287 4.2.2.。
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.。
<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" />
<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>
<category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='エンターテイメント'/>
category
要素 (RSS)#✎[1] RSS の category
要素は、
チャンネルや項目の属する分類 (タグ) を表します。
仕様書:
[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。
<category>Newspapers</category>
<category>Grateful Dead</category>
<category domain="http://www.fool.com/cusips">MSFT</category>
<category>Media</category>
<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>
category
要素 (SmartFormat)#✎[48] SmartNews の採用する SmartFormat は、 RSS 2.0 や Atom 1.0
と似て非なるフィード形式です。 category
は、 RSS 2.0 でも Atom 1.0 でも、次のような構文を求めています。
(これは RSS 2.0 とも Atom 1.0 とも異なる独自形式です。)
<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>
<category rel="http://docs.oasis-open.org/odata/ns/scheme"
term="Model.VipCustomer"/>
<category term="addressbookentry" scheme="http://site.openfly.shutterfly.com/v1.0"/>
<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"/>
<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"/>
<category term="障害・メンテナンス" label="障害・メンテナンス" />
<category term="search"/>
[36] >>35 これはブログに存在する分類 (タグ?) がすべて feed
の category
として含まれているのでしょうかね。
確かに category
要素の意味を考えるとそれでもおかしくはなさそう。
そもそも feed
の category
は何のためにあるのだろう。。。
<itunes:category text="Education">
<itunes:category text="Language Courses"/>
</itunes:category>
<item>
<itunes:category text="Education">
<itunes:category text="Language Courses"/>
</itunes:category>
<pubDate>Tue, 15 Mar 2016 00:00:00 +0900</pubDate>
</item>
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything.jpg" />
<itunes:category text="Technology">
<itunes:category text="Gadgets"/>
</itunes:category>
<itunes:category text="TV & Film"/>
<item>
<category>Comedy</category>
<category></category>
<pubDate>Fri, 18 Mar 2016 17:00:00 +0900</pubDate>
<category>TV & Film</category>
<category scheme="http://stackoverflow.com/tags" term="python" />
<category scheme="http://stackoverflow.com/tags" term="xml" />
<category term="550サーチエンジン" scheme="http://www.sixapart.com/ns/types#category" />
[49] Atom Export Format ( ( 版)) <http://stuff.gsnedders.com/atom-export.html>
<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>
<category domain="http://eztv.it/shows/40/californication/"><![CDATA[TV Show / Californication]]></category>
<category domain="main">図書館だより</category>