Class: BibliographicalImporter::BibTex::Record_Scopus

Inherits:
Record
  • Object
show all
Defined in:
lib/bibliographical_importer/bibtex.rb

Constant Summary

Constants inherited from Record

BibliographicalImporter::BibTex::Record::COMMON_FIELDS

Instance Attribute Summary

Attributes inherited from Record

#bv

Attributes included from CommonRecordAttributes

#abstract, #affiliation, #author, #authors, #cited, #doi, #id_scopus, #id_wos, #journal, #journal_abbr, #keywords, #keywords_plus, #language, #pages, #references_crossref, #references_scopus, #references_wos, #title, #uid, #url, #volume, #year

Instance Method Summary collapse

Methods inherited from Record

#authors, #check_title, create, determine_type, #initialize, #parse_common, #strip_lines

Constructor Details

This class inherits a constructor from BibliographicalImporter::BibTex::Record

Instance Method Details

#cited_referencesObject



119
120
121
# File 'lib/bibliographical_importer/bibtex.rb', line 119

def cited_references
  @references_scopus
end

#parse_specificObject



107
108
109
110
111
112
113
# File 'lib/bibliographical_importer/bibtex.rb', line 107

def parse_specific
  @references_scopus= @bv["references"].to_s.split("; ") unless @bv['references'].nil?
  @journal_abbr=@bv[:abbrev_source_title].to_s
  @keywords=@bv[:keywords].to_s.split(";  ")
  results=/eid=([^&]+)/.match(@bv[:url])
  @uid=results[0]
end

#typeObject



115
116
117
# File 'lib/bibliographical_importer/bibtex.rb', line 115

def type
  :scopus
end