genderopen

package
v0.1.358 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package genderopen, refs #13024.

Index

Constants

This section is empty.

Variables

This section is empty.

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 string   `xml:"identifier"` // oai:www.genderopen.de:255...
		Datestamp  string   `xml:"datestamp"`  // 2017-11-30T13:54:17Z, 201...
		SetSpec    []string `xml:"setSpec"`    // com_25595_1, col_25595_3,...
	} `xml:"header"`
	Metadata struct {
		Text string `xml:",chardata"`
		Dc   struct {
			Text           string   `xml:",chardata"`
			OaiDc          string   `xml:"oai_dc,attr"`
			Doc            string   `xml:"doc,attr"`
			Xsi            string   `xml:"xsi,attr"`
			Dc             string   `xml:"dc,attr"`
			SchemaLocation string   `xml:"schemaLocation,attr"`
			Title          string   `xml:"title"`       // Ausweitung der Geschlecht...
			Creator        []string `xml:"creator"`     // Brunner, Claudia, Döllin...
			Contributor    []string `xml:"contributor"` // Lakitsch, Maximilian, Ste...
			Subject        []string `xml:"subject"`     // Geschlecht, Krieg, Gerech...
			Date           string   `xml:"date"`        // 2015, 2004, 2016, 2007, 2...
			Type           []string `xml:"type"`        // info:eu-repo/semantics/bo...
			Identifier     []string `xml:"identifier"`  // urn:ISBN:978-3-643-50677-...
			Language       string   `xml:"language"`    // ger
			Rights         []string `xml:"rights"`      // https://creativecommons.o...
			Format         string   `xml:"format"`      // application/pdf
			Publisher      []string `xml:"publisher"`   // LIT, Wien, VSA-Verlag, Ha...
			Source         string   `xml:"source"`      // Lakitsch, Maximilian; Ste...
			Description    []string `xml:"description"` // Nachdem kosmetische Genit...
		} `xml:"dc"`
	} `xml:"metadata"`
	About string `xml:"about"`
}

Record was generated 2019-06-06 16:38:16 by tir on sol.

func (*Record) BookTitle added in v0.1.263

func (r *Record) BookTitle() string

BookTitle parses book title out of a citation string. Input may be "Knapp, Gudrun-Axeli; Wetterer, Angelika\n (Hrsg.): Achsen der Differenz. Gesellschaftstheorie und feministische Kritik II (Münster: Westfälisches Dampfboot, 2003), 73-100", https://play.golang.org/p/LApV7V_Ogz5. Fallback to original string, refs #13024.

func (Record) ToIntermediateSchema

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

Jump to

Keyboard shortcuts

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