Within the Catmandu framework different kinds of importers have been implemented
-
those for different Sources like arXiv, Pubmed, PloS or in general those with an OAI-Interface
Since Catmandu is designed for in a way, that can be extended… So in this little Tutorial we are going to create our own importer module Catmandu::Importer::EuroPMC.
Starting with a module
First of all, let us remember that
1. importers have to be within the namespace *Catmandu::Importer::*
2. Catmandu uses *Module::Build* as building tool
Now, change directory to Catmandu-Importer-EuroPMC and open the file lib/Catmandu/Importer/EuroPMC.pm.
Structure of an importer module
More insights in Catmandu will be dicussed in later posts.