dublincore

package
v1.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Contributor = "contributor" // An entity responsible for making contributions to the resource
	Coverage    = "coverage"    // The spatial or temporal topic of the resource, or its jurisdiction
	Creator     = "creator"     // An entity primarily responsible for making the resource
	Date        = "date"        // A point or period of time associated with the resource
	Description = "description" // An account of the resource
	Format      = "format"      // The file format, physical medium, or dimensions of the resource
	Identifier  = "identifier"  // An unambiguous reference to the resource
	Language    = "language"    // A language of the resource
	Publisher   = "publisher"   // An entity responsible for making the resource available
	Relation    = "relation"    // A related resource
	Rights      = "rights"      // Information about rights held in and over the resource
	Source      = "source"      // A related resource from which the resource is derived
	Subject     = "subject"     // The topic of the resource
	Title       = "title"       // A name given to the resource
	Type        = "type"        // The nature or genre of the resource
)

Names of the fifteen elements of the Dublin Core Metadata Element Set, version 1.1, which are keys in the dc namespace, such as meta.New(Namespace, Title, value) (see https://www.dublincore.org/specifications/dublin-core/dces/)

View Source
const (
	TypeCollection          = "Collection"          // An aggregation of resources, such as an archive
	TypeDataset             = "Dataset"             // Data encoded in a defined structure, such as a spreadsheet
	TypeEvent               = "Event"               // A non-persistent, time-based occurrence
	TypeImage               = "Image"               // A visual representation other than text
	TypeInteractiveResource = "InteractiveResource" // A resource requiring interaction from the user, such as a form
	TypeMovingImage         = "MovingImage"         // A series of visual representations, such as a video
	TypePhysicalObject      = "PhysicalObject"      // An inanimate, three-dimensional object or substance
	TypeService             = "Service"             // A system that provides one or more functions
	TypeSoftware            = "Software"            // A computer program in source or compiled form
	TypeSound               = "Sound"               // A resource primarily intended to be heard
	TypeStillImage          = "StillImage"          // A static visual representation, such as a photo
	TypeText                = "Text"                // A resource consisting primarily of words for reading
)

The terms of the DCMI Type Vocabulary, which are the values of the type element, dc:type, the nature or genre of a resource (see https://www.dublincore.org/specifications/dublin-core/dcmi-type-vocabulary/)

View Source
const (
	KindArchive      = "archive"      // An archive of files, such as a zip file
	KindAudio        = "audio"        // Audio, such as music or a podcast
	KindBook         = "book"         // A book, such as an EPUB or Kindle book
	KindCalendar     = "calendar"     // A calendar of events or tasks
	KindCode         = "code"         // Source code
	KindContact      = "contact"      // A contact, such as a person in an address book
	KindData         = "data"         // Structured data, such as JSON or YAML
	KindDocument     = "document"     // A document, such as a PDF or Word document, or plain text
	KindDrawing      = "drawing"      // A drawing or diagram, such as a Visio drawing
	KindEmail        = "email"        // An email message
	KindEpisode      = "episode"      // An episode of a TV show
	KindEvent        = "event"        // An event, such as a meeting or an invitation, which is a calendar of one
	KindFilm         = "film"         // A film, such as a movie
	KindForm         = "form"         // A form, which is filled in
	KindImage        = "image"        // An image, such as a photo or a drawing
	KindMailbox      = "mailbox"      // A mailbox of email messages, such as an mbox file
	KindPresentation = "presentation" // A presentation of slides
	KindRecording    = "recording"    // A recording of music, which MusicBrainz identifies
	KindSoftware     = "software"     // Software, such as an application or a library
	KindSpreadsheet  = "spreadsheet"  // A spreadsheet
	KindSubtitles    = "subtitles"    // Subtitles of a video, such as a SubRip file
	KindTask         = "task"         // A task, such as a to-do, which is a calendar of one
	KindVideo        = "video"        // A video
	KindWebPage      = "webpage"      // A web page
	KindUnknown      = "unknown"      // A file which nothing can read, which has no DCMI type
)

The kinds of files, which are finer than the DCMI types, such as a book rather than text, as metadata:kind

View Source
const (
	Namespace = "dc"
)

Variables

This section is empty.

Functions

func TypeOf

func TypeOf(kind string) string

TypeOf returns the DCMI type of the kind of a file, such as Text for a book, or an empty string when it's not a kind

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL