Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • N ncbi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 273
    • Issues 273
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ncbi
  • ncbi
  • Issues
  • #815

Closed
Open
Created Nov 17, 2021 by Dione Mentis@DioneMentisMaintainer2 of 2 tasks completed2/2 tasks

Write collection xml file for package to send to load to PMC

This is a sub-issue of #355 (closed)

@andynicholson

Referring to the meta flow diagram:

  1. Create collection.xml file according to the bookcollection.dtd bookcollection-dtd.zip
  2. Name the file with the collection's bcmsid
  3. Write fields in Column B of collection-meta sheet into <collection-meta> node

Sample files from NCBI:

  1. bookwhohencollect.xml
  2. booksbuhtacollect.xml

QA feedback

  1. In the generated xml file publication date type is always as <pub-date pub-type="pubr"> in both cases for Print publication range and Electronic publication range.
  2. Validation feedback from NBCI in #815 (comment 74968)

Testing guidance

To check the xml file:

  1. Create collection
  2. Complete the fields in collection meta UI, and save
  3. Copy the collection ID from the URL (e.g. 8e926dcf-362f-496f-9650-1de5582b14fe in https://ncbi.cloud68.co/organizations/23378725-638a-4329-b060-3b52d85a03c9/collectionmanager/8e926dcf-362f-496f-9650-1de5582b14fe
  4. Add the collection ID to this URL format: https://ncbi.cloud68.co/downloadCollectionXml?id= for example https://ncbi.cloud68.co/downloadCollectionXml?id=8e926dcf-362f-496f-9650-1de5582b14fe

Do not add the a slash / at the end of the URL

Edited Dec 23, 2021 by Dione Mentis
Assignee
Assign to
Time tracking