Feature #6373

bulk EAD export - add parameter to limit export to top-level descriptions

Added by Tim Hutchinson about 8 years ago. Updated almost 8 years ago.

Status:VerifiedStart date:02/26/2014
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:EAD
Target version:Release 2.1.0
Google Code Legacy ID: Tested version:2.0.1, 2.1
Sponsored:No Requires documentation:

Description

In the command line bulk export, it would be useful to be able to suppress the lower level descriptions, i.e. don't export <dsc> portion of the finding aid.

My own use case is to support transformation to MARC, but I suspect there are other union databases that focus on collection-level descriptions.

History

#1 Updated by Tim Hutchinson about 8 years ago

I think I see how to do this - the relevant template file is plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBody.xml.php - but I'm not sure how to correctly pass the parameter from the CLI task.

#2 Updated by Dan Gillean about 8 years ago

  • Category set to EAD
  • Assignee set to Jesús García Crespo
  • Target version set to Release 2.1.0

Tentatively assigning to 2.1 (as a new feature, it will go in a major release), and to Jesus for triage. Agreed that this would likely be useful functionality for portals!

#3 Updated by Mike Cantelon almost 8 years ago

  • Assignee changed from Jesús García Crespo to Mike Cantelon

#4 Updated by Dan Gillean almost 8 years ago

  • Status changed from New to In progress
  • Target version changed from Release 2.1.0 to Release 2.2.0

#5 Updated by Dan Gillean almost 8 years ago

  • Target version changed from Release 2.2.0 to Release 2.1.0

Pull request at: https://github.com/artefactual/atom/pull/36

To be reviewed internally, and then merged into 2.1. This will get this feature out there sooner and get a broader set of community feedback on it while still in the development period of the sponsoring client contract (so we can always tweak it further if needed).

#6 Updated by Mike Cantelon almost 8 years ago

  • Status changed from In progress to QA/Review
  • Assignee changed from Mike Cantelon to Dan Gillean

merged.

#7 Updated by Dan Gillean almost 8 years ago

  • Status changed from QA/Review to Verified
  • Tested version 2.0.1, 2.1 added

Tested in QA/2.1.x - it works!

Will be adding further documentation about bulk export options soon, when we version the docs for 2.1. This will be included. For now, here are basic notes for any public user looking at this ticket.

To view available options on this CLI task:

php symfony help bulk:export

To invoke the option described in this issue (in this example, we will use the title to specify we want to export "Example Fonds1" and "Example Fonds2" to a folder we have already created, "myEADfolder"):

php symfony bulk:export --current-level-only --criteria="i18n.title in ('Example Fonds1', 'Example Fonds2') /path/to/myEADFolder

See also: https://www.qubit-toolkit.org/wiki/XML_import/export#Bulk_Export_via_Command_Line_Interface_.28CLI.29

Also available in: Atom PDF