hhbd

package
v0.1.344 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Formats  = assetutil.MustLoadStringMap("assets/hhbd/formats.json")
	Genres   = assetutil.MustLoadStringMap("assets/hhbd/genres.json")
	RefTypes = assetutil.MustLoadStringMap("assets/hhbd/reftypes.json")
)

Functions

This section is empty.

Types

type Record

type Record struct {
	XMLName xml.Name `xml:"record"`
	Text    string   `xml:",chardata"`
	Header  struct {
		Text       string `xml:",chardata"`
		Status     string `xml:"status,attr"`
		Identifier struct {
			// oai:digi.ub.uni-heidelberg.de:2579, oai:digi.ub.uni-heidelberg.de:2583, oai:digi.ub.uni-heidelberg.d...
			Text string `xml:",chardata"`
		} `xml:"identifier"`
		Datestamp struct {
			// 2015-01-21T12:50:36Z, 2015-01-21T12:51:57Z, 2015-01-21T13:00:19Z, 2015-01-21T13:05:20Z, 2015-01-21T1...
			Text string `xml:",chardata"`
		} `xml:"datestamp"`
	} `xml:"header"`
	Metadata struct {
		Text string `xml:",chardata"`
		Dc   struct {
			Text      string `xml:",chardata"`
			Dcterms   string `xml:"dcterms,attr"`
			OaiDc     string `xml:"oai_dc,attr"`
			Europeana string `xml:"europeana,attr"`
			Dc        string `xml:"dc,attr"`
			Creator   struct {
				// Johann Wilhelm (Pfalz, Kurfürst), Wolfgang Lazius, Friedrich Riedrer, Johan Weier, Eugen Reiz Kunst...
				Text string `xml:",chardata"`
			} `xml:"creator"`
			Title struct {
				// Ordnung Des Hoch-Fürstlichen Gülich- und Bergischen Hoffgerichts zu Düsseldorff: Sambt denen an g...
				Text string `xml:",chardata"`
			} `xml:"title"`
			Date struct {
				// [um 1695] [VD17 1:018019V], 1619 [VD17-23:233236L], 1535, 1575, 1905 (Nr. 43-52), 1979, 1925, 1674 [...
				Text string `xml:",chardata"`
			} `xml:"date"`
			Issued struct {
				// [um 1695] [VD17 1:018019V], 1619 [VD17-23:233236L], 1535, 1575, 1905 (Nr. 43-52), 1979, 1925, 1674 [...
				Text string `xml:",chardata"`
			} `xml:"issued"`
			Identifier []struct {
				// http://digi.ub.uni-heidelberg.de/diglit/drwjuelichZO1697a, urn:nbn:de:bsz:16-diglit-25799, http://di...
				Text string `xml:",chardata"`
			} `xml:"identifier"`
			Language []struct {
				// de, de, x-unknown, de, x-unknown, pl, de, la, en, fr
				Text string `xml:",chardata"`
			} `xml:"language"`
			Type struct {
				// Monograph, Monograph, Monograph, Monograph, Volume, Volume, Monograph, Monograph, Volume, Volume
				Text string `xml:",chardata"`
			} `xml:"type"`
			Ispartof []struct {
				// Druckschriften, Heidelberger historische Bestände — digital: Rechtsquellen der frühen Neuzeit, D...
				Text string `xml:",chardata"`
			} `xml:"ispartof"`
			Subject []struct {
				// Auktionskataloge; Deutschland; Berlin; Eugen Reiz Kunst-Auktions-Haus <Berlin>, Auction Catalogs; Ge...
				Text string `xml:",chardata"`
			} `xml:"subject"`
			Spatial []struct {
				// München <1917>, München <1927>, Wien <1917>, Wien <1928>, Heidelberg, Vatikanstadt, Heidelberg, He...
				Text string `xml:",chardata"`
			} `xml:"spatial"`
			Temporal []struct {
				// Geschichte 1830-1917, Geschichte 1850-1920, Geschichte 1700-1900, Geschichte 1623, Geschichte 1300-1...
				Text string `xml:",chardata"`
			} `xml:"temporal"`
			Alternative struct {
				// Zweihundert Jahre Darmstädter Kunst, Zweihundert Jahre Darmstädter Kunst, Willehalm von Orlens, Hu...
				Text string `xml:",chardata"`
			} `xml:"alternative"`
		} `xml:"dc"`
	} `xml:"metadata"`
	About struct {
		Text string `xml:",chardata"`
	} `xml:"about"`
}

Record was generated 2017-12-22 16:25:34 by tir on apollo.

func (Record) ToIntermediateSchema

func (record Record) ToIntermediateSchema() (*finc.IntermediateSchema, error)

ToIntermediateSchema converts document.

Jump to

Keyboard shortcuts

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