ieee

package
v0.1.180 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SourceID       = "89"
	Format         = "ElectronicArticle"
	Collection     = "IEEE Xplore Library"
	Genre          = "article"
	DefaultRefType = "EJOUR"
)

Variables

View Source
var (
	ErrNoDate       = errors.New("no date found")
	ErrNoIdentifier = errors.New("missing identifier")
)

Functions

This section is empty.

Types

type Publication

type Publication struct {
	xml.Name          `xml:"publication"`
	Title             string `xml:"title"`
	TitleAbbreviation string `xml:"titleabbrev"`
	Normtitle         string `xml:"normtitle"`
	Publicationinfo   struct {
		Idamsid               string   `xml:"idamsid"`
		Publicationtype       string   `xml:"publicationtype"`
		Publicationsubtype    string   `xml:"publicationsubtype"`
		Ieeeabbrev            string   `xml:"ieeeabbrev"`
		Acronym               string   `xml:"acronym"`
		Pubstatus             string   `xml:"pubstatus"`
		Publicationopenaccess string   `xml:"publicationopenaccess"`
		StandardId            string   `xml:"standard_id"`
		Packagemembers        []string `xml:"packagememberset>packagemember"`
		Isbn                  []struct {
			Isbntype  string `xml:"isbntype,attr"`
			Mediatype string `xml:"mediatype,attr"`
			Value     string `xml:",chardata"`
		} `xml:"isbn"`
		BmsProductNumber struct {
			MediaType string `xml:"mediatype,attr"`
			Value     string `xml:",chardata"`
		}
		TCN  string `xml:"tcn"`
		Issn []struct {
			Mediatype string `xml:"mediatype,attr"`
			Value     string `xml:",chardata"`
		} `xml:"issn"`
		Pubtopicalbrowse []string `xml:"pubtopicalbrowseset>pubtopicalbrowse"`
		Copyrightgroup   struct {
			Copyright []struct {
				Year   string `xml:"year"`
				Holder string `xml:"holder"`
			}
		}
		PublisherNames []string `xml:"publisher>publishername"`
		Holdstatus     string   `xml:"holdstatus"`
		Confgroup      struct {
			ConfTitle string `xml:"conftitle"`
			Confdate  []struct {
				Confdatetype string `xml:"confdatetype,attr"`
				Year         string `xml:"year"`
				Month        string `xml:"month"`
				Day          string `xml:"day"`
			} `xml:"confdate"`
			Conflocation   string `xml:"conflocation"`
			Confcountry    string `xml:"confcountry"`
			ConferenceType string `xml:"conference_type"`
			DoiPermission  string `xml:"doi_permission"`
		} `xml:"confgroup"`
		Amsid string `xml:"amsid"`
		Coden string `xml:"coden"`
	} `xml:"publicationinfo"`
	Volume struct {
		Volumeinfo struct {
			Year      string `xml:"year"`
			Idamsid   string `xml:"idamsid"`
			Notegroup string `xml:"notegroup"`
			Issue     struct {
				Amsid         string `xml:"amsid"`
				Amscreatedate string `xml:"amscreatedate"`
				Issuestatus   string `xml:"issuestatus"`
			} `xml:"issue"`
			Volumenum string `xml:"volumenum"`
		} `xml:"volumeinfo"`
		Article struct {
			Title       string `xml:"title"`
			Articleinfo struct {
				Articleseqnum          string `xml:"articleseqnum"`
				Csarticlesortorder     string `xml:"csarticlesortorder"`
				Articledoi             string `xml:"articledoi"`
				Idamsid                string `xml:"idamsid"`
				Articlestatus          string `xml:"articlestatus"`
				Articleopenaccess      string `xml:"articleopenaccess"`
				Articleshowflag        string `xml:"articleshowflag"`
				Issuenum               string `xml:"issuenum"`
				Articleplagiarizedflag string `xml:"articleplagiarizedflag"`
				Articlenodoiflag       string `xml:"articlenodoiflag"`
				Articlecoverimageflag  string `xml:"articlecoverimageflag"`
				Csarticlehtmlflag      string `xml:"csarticlehtmlflag"`
				Articlereferenceflag   string `xml:"articlereferenceflag"`
				Articlepeerreviewflag  string `xml:"articlepeerreviewflag"`
				Holdstatus             string `xml:"holdstatus"`
				Articlecopyright       struct {
					Holderisieee string `xml:"holderisieee,attr"`
					Year         string `xml:"year,attr"`
				} `xml:"articlecopyright"`
				Abstract    string `xml:"abstract"`
				Authorgroup struct {
					Author []struct {
						Normname    string `xml:"normname"`
						Surname     string `xml:"surname"`
						Affiliation string `xml:"affiliation"`
						Firstname   string `xml:"firstname"`
					} `xml:"author"`
				} `xml:"authorgroup"`
				Date []struct {
					Datetype string `xml:"datetype,attr"`
					Year     string `xml:"year"`
					Month    string `xml:"month"`
					Day      string `xml:"day"`
				} `xml:"date"`
				Numpages string `xml:"numpages"`
				Size     string `xml:"size"`
				Filename []struct {
					Docpartition string `xml:"docpartition,attr"`
					Filetype     string `xml:"filetype,attr"`
				} `xml:"filename"`
				Artpagenums struct {
					Endpage   string `xml:"endpage,attr"`
					Startpage string `xml:"startpage,attr"`
				} `xml:"artpagenums"`
				Numreferences string `xml:"numreferences"`
				Amsid         string `xml:"amsid"`
				Csarticleid   string `xml:"csarticleid"`
				Keywordset    struct {
					Keywordtype string `xml:"keywordtype,attr"`
					Keyword     []struct {
						Term string `xml:"keywordterm"`
					} `xml:"keyword"`
				} `xml:"keywordset"`
			} `xml:"articleinfo"`
		} `xml:"article"`
	} `xml:"volume"`
}

func (Publication) Authors

func (p Publication) Authors() []finc.Author

func (Publication) Date

func (p Publication) Date() (time.Time, error)

func (Publication) ISBNList

func (p Publication) ISBNList() (isbns []string)

func (Publication) OnlineISSN

func (p Publication) OnlineISSN() (issns []string)

func (Publication) PageCount

func (p Publication) PageCount() string

func (Publication) PaperISSN

func (p Publication) PaperISSN() (issns []string)

func (Publication) ToIntermediateSchema

func (p Publication) ToIntermediateSchema() (*finc.IntermediateSchema, error)

ToIntermediateSchema does a type conversion only.

Jump to

Keyboard shortcuts

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