dc:date

dc:date

仕様書

意味

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

構文

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

文脈

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

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

内容

[3] この要素内容PCDATA で、 W3C-DTF 形式です >>1

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


[19] DCISO 化した ISO 5836:2003翻訳JIS (IDT) である JIS X 0836:2005 は、 Date について、 原規格と同じく構文を具体的には定義していませんが、 「日付要素の記 述は, JIS X 0301 のプロファイルで定義された形式 (その中には YYYY-MM-DD の形式も 含まれている。) で符号化することを推奨する。」 としていました。

[20] ISO 5836 は当然 ISO 8601 を参照していたと思われます。 JIS X 0201ISO 8601翻訳JIS ですが、 元号に関する規定が追加されています。 つまり ISO 5836JIS X 0836 の「推奨」 は厳密には違いがあります。


[23] DCMI の方の定義も少しずつ変わっていて、本項執筆時点では次のようにあります。 >>22

Date may be used to express temporal information at any level of granularity. Recommended practice is to express the date, date/time, or period of time according to ISO 8601-1 [ISO 8601-1] or a published profile of the ISO standard, such as the W3C Note on Date and Time Formats [W3CDTF] or the Extended Date/Time Format Specification [EDTF]. If the full date is unknown, month and year (YYYY-MM) or just year (YYYY) may be used. Date ranges may be specified using ISO 8601 period of time specification in which start and end dates are separated by a '/' (slash) character. Either the start or end date may be missing.

[24] しかし RSS 側の定義は変わっていないので、必ずしもこの 「Recommended practice」 が実行できるわけではありません。

歴史

[25] Dublin Core はいくつかの仕様書(案)でそれぞれ同じような違うような日時形式を定めていました。

[35] RFC 2413 は、 DateCoverageW3C-DTF が使えるとしていました。 >>34

[26] Coverage Element 仕様案では、

... と4通りを定めていました。 Coverage Element

[36] RFC 5013 (RFC 2413廃止) は、 Date では W3C-DTF を推奨していました。 Coverage では時代名、 日付、 日付の範囲などが書けるとしていました。 (W3C-DTF を推奨するとは言っていませんでした。)

[40] http://purl.org/dc/terms/PeriodOfTime は、 名前付き (named) の、または開始と終了の日付によって指定された、 時間間隔を表す rdfs:Class です。 >>39

[44] DCMI: DCMI Metadata Terms, , https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2FPeriodOfTime

[38] Date Ranges として提案されていたのは、次のような時刻範囲形式でした。 >>37

[41] http://purl.org/dc/terms/SizeOrDuration

[42] DCMI: Domains and Ranges for DCMI Properties, , https://www.dublincore.org/specifications/dublin-core/domain-range/#date

[43] DCMI: Domains and Ranges for DCMI Properties, , https://www.dublincore.org/specifications/dublin-core/domain-range/#dctermsdate

[21] Drop reference to W3C Note on Date and Time Formats in `dct:date` comment? · Issue #81 · dcmi/usage · GitHub, https://github.com/dcmi/usage/issues/81

[9] dc/dcterms: date · Issue #86 · dcmi/usage · GitHub, https://github.com/dcmi/usage/issues/86

[45] DCMI: DCMI Metadata Terms, , https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2FPeriod

[46] DCMI: Domains and Ranges for DCMI Properties, , https://www.dublincore.org/specifications/dublin-core/domain-range/#temporal

メモ

[8] 【開発】.net C#でRSS/Atom feedとか読んでみる | 鍋風呂 ( 版) http://blog.ahh.jp/?p=1007

大体のところはdc:date2011-09-18T12:23+09:00</dc:date>こんな感じで記載されてるんですが、この”T”に続くのが時間で、+9:00というのは日本時間の事。12:23と時と分を指してるんですが、秒とマイクロ秒??まで指定してるところまであった。

もちろん、マイクロ秒?のところは、全部00になってましたけど。

アメーバはさらにネタを投下してくれます。日付指定がオリジナリティ溢れてます(RFC2822形式になってる)

dc:dateSun, 18 Sep 2011 21:00:00 JST</dc:date>

[10] ( 版) http://d.hatena.ne.jp/hatenadiary/rss

<channel rdf:about="http://d.hatena.ne.jp/hatenadiary/rss">

<title>はてなダイアリー日記</title>

<link>http://d.hatena.ne.jp/hatenadiary/</link>

<description>はてなダイアリー日記</description>

dc:creatorhatenadiary</dc:creator>

dc:date2016-03-17T12:04:20+09:00</dc:date>

<items>

[11] ( 版) http://blog.excite.co.jp/editorcafe/index.xml

<pubDate>Sat, 12 Mar 2016 19:54:09 +0900</pubDate>

dc:date2016-03-12T19:54:09+09:00</dc:date>

[12] ( 版) https://galapagosstore.com/solution/rss.php

dc:date2015-6-29</dc:date>

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

dc:date2016.3</dc:date>

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

<pubDate>Thu, 24 Mar 2016 00:00:00 +0900</pubDate>

dcterms:createdThu, 24 Mar 2016 00:00:00 +0900</dcterms:created>

dc:date[2015.10]</dc:date>

[15] ( 版) https://www.nic.ad.jp/ja/index.xml

<pubDate>Mon, 18 Apr 2016 14:30:13 +0900</pubDate>

dc:date2016-04-18T14:30:13+09:00</dc:date>

[16] ( 版) http://www.pref.fukushima.lg.jp/rss/10/list1.xml

dc:date2016-04-18 13:00:00+09:00</dc:date>

[17] () http://prtimes.jp/index.rdf

dc:corp藤田観光株式会社</dc:corp>

dc:date2016-05-11T15:45:01+09:00</dc:date>

<date>2016-05-11</date>

</item>

[18] イベント(グループ) — サイボウズ Live・API ドキュメント () https://developer.cybozulive.com/doc/current/pub/gwSchedule.html

<feed xmlns="http://www.w3.org/2005/Atom"

xmlns:cbl="http://schemas.cybozulive.com/common/2010"

xmlns:cblSch="http://schemas.cybozulive.com/schedule/2010"

xmlns:dc="http://purl.org/dc/elements/1.1/">

<title>サイボウズLive</title>

<link rel="alternate" href="https://cybozulive.com" />

<updated>2010-08-03T02:54:33Z</updated>

dc:date2010-08-03T02:54:33Z</dc:date>