openlibhums / openlibhums/janeway

Page numbers needed in OAI JATS

Open
#4,675 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dev-ready enhancement Metadata Size M Size XS
Dominant language
Python
Stars
238
Forks
97
Avg merge
9d 1h
Merged PRs (30d)
8

Description

User story

An organization that ingests Janeway metadata using the OAI-JATS feed would like page numbers in the data.

Janeway version

1.7.4

Proposed solution

Add page numbers to this metadata template:

https://github.com/openlibhums/janeway/blob/832dc6d785373c5b2ba080066bb4b4b70955d79e/src/templates/common/encoding/article_jats_1_2.xml#L22

Here is similar logic for comparison, from the crossref XML:

https://github.com/openlibhums/janeway/blob/832dc6d785373c5b2ba080066bb4b4b70955d79e/src/templates/common/identifiers/crossref_article.xml#L52-L64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/templates/common/encoding/article_jats_1_2.xml at the linked template location, then compare the page-number logic in src/templates/common/identifiers/crossref_article.xml. The work is done when the OAI-JATS metadata includes page numbers for articles that have them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.