relaton / relaton-doi

Relaton-DOI: retrieve bibliographic items using DOI
MIT License
0 stars 0 forks source link

Add example to README on what happens for a BibItem item that does not have a recognized class #6

Closed ronaldtse closed 2 years ago

ronaldtse commented 2 years ago
irb(main):009:0> RelatonDoi::Crossref.get "10.1109/ACCESS.2017.2739804"
[relaton-doi] ["10.1109/ACCESS.2017.2739804"] fetching...
[relaton-doi] ["10.1109/ACCESS.2017.2739804"] found 10.1109/access.2017.2739804
=>                               
#<RelatonBib::BibliographicItem:0x0000000105a4c508
...
 @contributor=                   
  [#<RelatonBib::ContributionInfo:0x0000000105a4e948
    @entity=
     #<RelatonBib::Person:0x0000000105a4ead8
      @affiliation=[],
      @contact=[],
      @identifier=[#<RelatonBib::PersonIdentifier:0x0000000105a4ec40 @type="orcid", @value="http://orcid.org/0000-0003-4875-6950">],
...
 @link=[#<RelatonBib::TypedUri:0x0000000105a4fcd0 @content=#<Addressable::URI:0x23230 URI:http://dx.doi.org/10.1109/access.2017.2739804>, @type="DOI">],
 @relation=#<RelatonBib::DocRelationCollection:0x0000000105a4c030 @array=[]>,
...
 @title=
  #<RelatonBib::TypedTitleStringCollection:0x0000000105a4c490
   @array=
    [#<RelatonBib::TypedTitleString:0x0000000105a55360
      @title=
       #<RelatonBib::FormattedString:0x0000000105a55220
        @content="Edge Mesh: A New Paradigm to Enable Distributed Intelligence in Internet of Things",
        @format="text/plain",
        @language=["en"],
        @script=["Latn"]>,
      @type="main">]>,
 @type="standard",
 @validity=nil,
 @version=nil>