Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L limbra
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • limbra
  • limbra
  • Issues
  • #24
Closed
Open
Issue created Jun 26, 2015 by LE GAC Renaud@legacOwner

Better strategy to find the institute identifier

  • The institute identifier is defined in the application preferences, reg_institute
  • It has to match the value used in the invenio store.

A better strategy, would be:

  • Store the record identifier associated to the institute in the INSPIREHEP data base
  • Extract from it the identifier used in INSPIREHEP or CDS and use it in the harvesters.

More on decoding:

  • the address of the record is http://inspirehep.net/record/902989
  • The definition of the institute identifier is in the field 110u and 110t. The field 110u is the institute id used up to now while the field 110t is the future one.
  • Create a regular expression 110u|110t and store it in the local variable reg_institute
  • The name of the preference can be inspirehep_institute_id. It contains the record id, e.g 902989
  • Remove the preference reg_institute which become a local variable. It should be constructed when the first harvester runs.
  • A dedicated class, Institute might have to be created.
  • Do not forget to modify the documentation
Assignee
Assign to
Time tracking