Dublin Core Namespace
The Dublin Core namespace provides standardized metadata elements for describing digital resources. It offers a simple and effective way to add bibliographic information to feeds and items.
| Namespace URI | http://purl.org/dc/elements/1.1/ |
|---|---|
| Specification | Dublin Core Metadata Terms |
| Prefix | <dc:*> |
| Available in | RSS, Atom, RDF |
| Property | dc |
Types
INFO
TDate represents date fields in the type definitions. When parsing, dates are returned as strings in their original format (see Parsing › Handling Dates for more details). When generating, dates should be provided as JavaScript Date objects.
ts
export namespace DcNs {
export type ItemOrFeed<TDate extends DateLike> = {
titles?: Array<string>
creators?: Array<string>
subjects?: Array<string>
descriptions?: Array<string>
publishers?: Array<string>
contributors?: Array<string>
dates?: Array<TDate>
types?: Array<string>
formats?: Array<string>
identifiers?: Array<string>
sources?: Array<string>
languages?: Array<string>
relations?: Array<string>
/** @deprecated Use `titles` (array) instead. Dublin Core fields are repeatable. */
title?: string
/** @deprecated Use `creators` (array) instead. Dublin Core fields are repeatable. */
creator?: string
/** @deprecated Use `subjects` (array) instead. Dublin Core fields are repeatable. */
subject?: string
/** @deprecated Use `descriptions` (array) instead. Dublin Core fields are repeatable. */
description?: string
/** @deprecated Use `publishers` (array) instead. Dublin Core fields are repeatable. */
publisher?: string
/** @deprecated Use `contributors` (array) instead. Dublin Core fields are repeatable. */
contributor?: string
/** @deprecated Use `dates` (array) instead. Dublin Core fields are repeatable. */
date?: TDate
/** @deprecated Use `types` (array) instead. Dublin Core fields are repeatable. */
type?: string
/** @deprecated Use `formats` (array) instead. Dublin Core fields are repeatable. */
format?: string
/** @deprecated Use `identifiers` (array) instead. Dublin Core fields are repeatable. */
identifier?: string
/** @deprecated Use `sources` (array) instead. Dublin Core fields are repeatable. */
source?: string
/** @deprecated Use `languages` (array) instead. Dublin Core fields are repeatable. */
language?: string
/** @deprecated Use `relations` (array) instead. Dublin Core fields are repeatable. */
relation?: string
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core fields are repeatable. */
coverage?: string
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core fields are repeatable. */
rights?: string
}
}Related
- Dublin Core Terms - Extended Dublin Core metadata
- Parsing Namespaces - How namespace parsing works