thieme

package
v0.1.172 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceID       = "60"
	Format         = "ElectronicArticle"
	Collection     = "Thieme E-Journals"
	Genre          = "article"
	DefaultRefType = "EJOUR"
)

Variables

View Source
var LanguageMap = assetutil.MustLoadStringMap("assets/doaj/language-iso-639-3.json")

Functions

This section is empty.

Types

type Document added in v0.1.172

type Document struct {
	xml.Name `xml:"Article"`
	Journal  struct {
		PublisherName string `xml:"PublisherName"`
		JournalTitle  string `xml:"JournalTitle"`
		ISSN          string `xml:"Issn"`
		EISSN         string `xml:"E-Issn"`
		Volume        string `xml:"Volume"`
		Issue         string `xml:"Issue"`
		PubDate       struct {
			Year  string `xml:"Year"`
			Month string `xml:"Month"`
			Day   string `xml:"Day"`
		} `xml:"PubDate"`
	} `xml:"Journal"`
	AuthorList struct {
		Authors []struct {
			FirstName string `xml:"FirstName"`
			LastName  string `xml:"LastName"`
		} `xml:"Author"`
	} `xml:"AuthorList"`
	ArticleIdList []struct {
		ArticleId struct {
			OpenAccess string `xml:"OpenAccess,attr"`
			IdType     string `xml:"IdType,attr"`
			Id         string `xml:",chardata"`
		}
	} `xml:"ArticleIdList"`
	ArticleType        string   `xml:"ArticleType"`
	ArticleTitle       string   `xml:"ArticleTitle"`
	VernacularTitle    string   `xml:"VernacularTitle"`
	FirstPage          string   `xml:"FirstPage"`
	LastPage           string   `xml:"LastPage"`
	VernacularLanguage string   `xml:"VernacularLanguage"`
	Language           string   `xml:"Language"`
	Subject            []string `xml:"subject"`
	Links              []string `xml:"Links>Link"`
	History            []struct {
		PubDate struct {
			Status string `xml:"PubStatus,attr"`
			Year   string `xml:"Year"`
			Month  string `xml:"Month"`
			Day    string `xml:"Day"`
		} `xml:"PubDate"`
	} `xml:"History"`
	Abstract           string `xml:"Abstract"`
	VernacularAbstract string `xml:"VernacularAbstract"`
	Format             struct {
		HTML string `xml:"html,attr"`
		PDF  string `xml:"pdf,attr"`
	} `xml:"format"`
	CopyrightInformation string `xml:"CopyrightInformation"`
}

func (Document) DOI added in v0.1.172

func (doc Document) DOI() (string, error)

func (Document) Date added in v0.1.172

func (doc Document) Date() (time.Time, error)

func (Document) RecordID added in v0.1.172

func (doc Document) RecordID() (string, error)

func (Document) ToIntermediateSchema added in v0.1.172

func (doc Document) ToIntermediateSchema() (*finc.IntermediateSchema, error)

Jump to

Keyboard shortcuts

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