ios

package
v0.1.373 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SourceID for internal bookkeeping, refs #24731
	SourceID = "219"
	// Format for intermediate schema.
	Format = "ElectronicArticle"
)

Variables

View Source
var (
	// ArticleTitleBlockPatterns
	ArticleTitleBlockPatterns = []*regexp.Regexp{
		regexp.MustCompile(`(?i)(front|back)\s*matter`),
		regexp.MustCompile(`(?i)table\s*of\s*content[s]?`),
	}
	DOIPattern = regexp.MustCompile(`10\.[0-9]+\/\S+`)
	// SourceName for finc.mega_collection.
	SourceNames = []string{"IOS-Press Zeitschriften", "sid-219-col-ios"}
)

Functions

This section is empty.

Types

type Article

type Article struct {
	XMLName xml.Name `xml:"article"`
	jats.Article
}

func (*Article) Identifiers

func (article *Article) Identifiers() (jats.Identifiers, error)

Identifiers returns identifiers.

func (*Article) Languages

func (article *Article) Languages() []string

Languages returns a list of language in 3-letter format.

func (*Article) ToIntermediateSchema

func (article *Article) ToIntermediateSchema() (*finc.IntermediateSchema, error)

ToIntermediateSchema converts an article into an internal schema. There are a couple of content-dependent choices here.

Jump to

Keyboard shortcuts

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