elifesciences / package-ejp-raw-output-zip

Transform article raw zip files from EJP to a more consistent output.
MIT License
0 stars 1 forks source link

EJP XML manifest items to ignore #2

Open Melissa37 opened 5 years ago

Melissa37 commented 5 years ago

Problem / Motivation

Proposed solution

Reference other tickets in this repo for the whole process, this is a specific task in the conversion process. Following lines of XML should be ignored and not pulled further into the next steps of the process:

<journal-id journal-id-type="hwp">eLife</journal-id>

<open-access>YES</open-access>

<alt-title></alt-title>

<issue>0</issue>

<pub-date pub-type="epub"><year>2018</year></pub-date>

<date date-type="rev-recd"><day>25</day><month>10</month><year>2018</year></date>

<custom-meta><meta-name>fast-track</meta-name><meta-value>no</meta-value></custom-meta>

<custom-meta><meta-name>export-timing</meta-name><meta-value>ready-for-production</meta-value></custom-meta>

<custom-meta><meta-name>eLife Digest</meta-name><meta-value>Yes</meta-value></custom-meta>

<custom-meta><meta-name>Insight question</meta-name><meta-value>Yes</meta-value></custom-meta>

<volume>

Assumptions

Clarification needed

Tasks

Technical notes

User interface / Wireframes

NA

@gnott @eLifeProduction

gnott commented 5 years ago

A sample I have also has this tag, would you want it in or out?

<volume>0</volume>
gnott commented 5 years ago

Can these particular tags be removed from the manifest XML file as part of the packaging process so in the final output they do no appear at all? Or do you intend for them to remain but just do not consider their values in the packaging process?

Melissa37 commented 5 years ago

A sample I have also has this tag, would you want it in or out? <volume>

Good point, out - because the production process is the only point when the volume will be known - volumes change between 31st Dec and 1st Jan. I will update the ticket.

Can these particular tags be removed from the manifest XML file as part of the packaging process so in the final output they do no appear at all? Or do you intend for them to remain but just do not consider their values in the packaging process?

I suspect you will end up writing a new manifest file, based on the full set of requirements as they come. But if not, they should be completely removed and not sent on to the production process.