Skip to content

dshorthouse/taxpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

taxpub

Ruby 2.4.1 gem to parse TaxPub documents like those produced by Pensoft Publishers, https://pensoft.net/.

TaxPub Background: https://www.ncbi.nlm.nih.gov/books/NBK47081/

Gem Version Gem Downloads Continuous Integration Status Dependency Status

Usage

require "taxpub"
tp = TaxPub.new
tp.url = "https://zookeys.pensoft.net/article/12590/download/xml/"
tp.parse
tp.title
=> "A review of the genus Lordiphosa Basden in India, with descriptions of four new species..."
tp.doi
=> "https://doi.org/10.3897/zookeys.688.12590"
tp.references
=> [{:title=>"Developmental constraints and convergent evolution in Drosophila sex comb formation...
tp.authors
=> [{:given=>"Rajendra S.", :surname=>"Fartyal", :fullname=>"Rajendra S. Fartyal,...
tp.scientific_names({ with_ranks: true })
=> [{:genus=>"Lordiphosa"}, {:order=>"Diptera"}, {:family=>"Drosophilidae"},...

License

taxpub is released under the MIT license.

Support

Bug reports can be filed at https://github.com/dshorthouse/taxpub/issues.

Copyright

Authors: David P. Shorthouse

Copyright (c) 2017 Canadian Museum of Nature

About

Ruby gem to parse TaxPub XML documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages