Metabib Display Field Seed Data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Mike Rylander |
Bug Description
As of EG version 3.0 we have a way to configure, extract, and store bib record display data directly in the database, AKA Metabib Display Fields (bug #1251394). To make use of this feature for new development we need a base set of display field configuration entries.
At minimum, the first round of seed data should be sufficient to replace IDL class "mvr" (Virtual Record) and IDL class "rsr" (reporter.
author*
edition
isbn*
issn
online_loc
physical_
pubdate
publisher
series
subject*
synopsis
tcn
title*
toc
types_of_resource
* Fields that already have MDF seed data, but likely need review.
We can of course add additional fields.
Also, either as part of this bug or a future bug, we need MDF entries sufficient to replace much of the XPATH extraction that occurs in the TPAC misc_util.tt2 file.
Implementation of each field boils down to:
1. Select an existing config.
2. Add supplementary XPATH to the the display_xpath where needed to massage the data into a display-friendly format.
Note, this XPATH is applied to the data extracted from the base xpath for the CMF. It's not standalone XPATH. If the base XPATH produces unusable display data and cannot be modified w/o breaking existing functionality, a new config.
3. Add a linking entry to config.
4. Add a matching <field/> entry to IDL class "mwde" (wide display entry).
5. Reingest display fields.
I'm happy to manage the work of getting stuff into the SQL upgrade script. Volunteers for assisting with the field definitions and XPATH appreciated.
Changed in evergreen: | |
assignee: | nobody → Mike Rylander (mrylander) |
Putting together a rough cut of the upgrade script now.