Exemplo n.º 1
0
 def publication_date(self):
     pd = xutil.xp_first_text(self.xml, "firstPublicationDate")
     if pd is not None:
         return pd
     pd = xutil.xp_first_text(self.xml, "electronicPublicationDate")
     if pd is not None:
         return pd
     pd = xutil.xp_first_text(self.xml, "//journalInfo/printPublicationDate")
     return pd
Exemplo n.º 2
0
 def issns(self):
     issn = xutil.xp_first_text(self.xml, "//journalInfo/journal/ISSN")
     essn = xutil.xp_first_text(self.xml, "//journalInfo/journal/ESSN")
     issns = []
     if issn is not None:
         issns.append(issn)
     if essn is not None:
         issns.append(essn)
     return issns
Exemplo n.º 3
0
 def doi(self):
     return xutil.xp_first_text(self.xml, "DOI")
Exemplo n.º 4
0
 def pmcid(self):
     return xutil.xp_first_text(self.xml, "pmcid")
Exemplo n.º 5
0
 def doi(self):
     return xutil.xp_first_text(self.xml, "//art-admin/doi")
Exemplo n.º 6
0
 def publisher(self):
     return xutil.xp_first_text(self.xml, "//publisher/orgname/nameelt")
Exemplo n.º 7
0
 def copyright_statement(self):
     return xutil.xp_first_text(self.xml, "//journalref/cpyrt")
 def title(self):
     return xutil.xp_first_text(self.xml, "title")
Exemplo n.º 9
0
 def title(self):
     # 2018-01-31 TD : adding the default value "no title"
     # 2018-01-30 TD : insert the string(...) to handle html-in-xml cases correctly
     return xutil.xp_first_text(self.xml, "string(//art-front/titlegrp/title)", default="no title")
Exemplo n.º 10
0
 def publication_type(self):
     return xutil.xp_first_text(self.xml, "//pubTypeList/pubType")
Exemplo n.º 11
0
 def doi(self):
     return xutil.xp_first_text(self.xml, "//article-meta/article-id[@pub-id-type='doi']")
Exemplo n.º 12
0
 def pmcid(self):
     id = xutil.xp_first_text(self.xml, "//article-meta/article-id[@pub-id-type='pmcid']")
     if id is not None and not id.startswith("PMC"):
         id = "PMC" + id
     return id
Exemplo n.º 13
0
 def publisher(self):
     return xutil.xp_first_text(self.xml, "//publisher/publisher-name")
Exemplo n.º 14
0
 def copyright_statement(self):
     return xutil.xp_first_text(self.xml, "//copyright-statement")
Exemplo n.º 15
0
 def language(self):
     return xutil.xp_first_text(self.xml, "language")
Exemplo n.º 16
0
 def author_string(self):
     return xutil.xp_first_text(self.xml, "//authorString")
 def title(self):
     return xutil.xp_first_text(self.xml, "//title-group/article-title")