Add default values to MODS elements in XML when exported for WMS cataloging

Project:RUetd
Version:2.2.2
Component:Code
Category:bug report
Priority:normal
Assigned:ananthan
Status:closed
Description

The ETD catalogers would like the following default values added to XML when exporting for WMS:

1) Under Language – default to
Term source ISO639-2
Language term eng
Term type code

[mods:languageTerm authority="ISO639-2" type="code"]eng[/mods:languageTerm]

2) Under Presentation format
Term source gmd
Value electronic resource
[mods:form authority="gmd"]electronic resource[/mods:form]

3) Under Note
Type bibliography
Value Includes bibliographical references
[mods:note type="bibliography"]Includes bibliographical references[/mods:note]

4) Add another Note
Type vita
Value Includes vita
[mods:note type="vita"]Includes vita[/mods:note]

5)Under Origin Info – Single Date
Single year YYYY
Date is exact

[mods:dateCreated qualilfier="exact"]2010[/mods:dateCreated]

6)Under Origin Info – Place
Type code
Term xx
[mods:placeTerm type="code"]xx[/mods:placeTerm]

Comments

#1

Version:2.3.0» 2.2.2
Status:active» test

Please test as part of the 2.2.2 stack.

#2

Assigned to:chadmills» ananthan

#3

Chad, Please correct the term source under language. It should be 2b not 2. They gave me the wrong info and I did not check.

Also please make sure that the value is "electronic resource" for Presentation format. It is not mapping in WMS.

1) Under Language – default to
Term source ISO639-2b
Language term eng
Term type code

[mods:languageTerm authority="ISO639-2b" type="code"]eng[/mods:languageTerm]

2) Under Presentation format
Term source gmd
Value electronic resource
[mods:form authority="gmd"]electronic resource[/mods:form]

#4

Updated the languageTerm authority attribute as requested.

Under presentation format it should already be exported what is requested. Below is what is being exported for mods:form.

<mods:form authority="marcform">electronic</mods:form>
<mods:form authority="gmd">electronic resource</mods:form>

#5

Form element is not repeatable in WMS. so it is only mapping the first occurence. Remove the first value and leave the second.

[mods:form authority="marcform"]electronic[/mods:form]
[mods:form authority="gmd"]electronic resource[/mods:form]

#6

I removed the following:

[mods:form authority="marcform"]electronic[/mods:form]

#7

Status:test» closed

I am marking this as "Closed" since ETD catalogers have not reported any issues.

Back to top