This commit will swap the headers for the xml and csv exports to be aligned with the metadata schema being used. XML has some particular cases because of its conventions so we have to "sanitize" the headers accordingly. CSV is more straightforward.
dcterms:provenance,dcterms:title,dcterms:date,dcterms:created,dcterms:creator,dcterms:rights,dcterms:language,dcterms:temporal,dcterms:relation,dcterms:isPartOf,dcterms:source,dcterms:identifier,edm:preview,edm:isShownAt,dcterms:http://purl.org/dc/terms/type,dcterms:subject,http://lib.wvu.edu/hydra/subject,dcterms:contributor,dcterms:description,dcterms:type
Robert J. Dole Institute of Politics,Dole and Goldwater shake hands,1964,1964,Unknown,http://rightsstatements.org/vocab/NKC/1.0/,zxx,88th (1963-1964),"Dole Photograph Collection, 1900-2011","Collection 012, Box 6, Folder 15",https://dolearchivecollections.ku.edu/index.php?p=collections/controlcard&id=47&q=,http://congressarchivesdev.lib.wvu.edu/record/ph_006_015_002,https://dolearchives.omeka.net/exhibits/show/voices-from-the-big-first/item/323,https://dolearchives.omeka.net/exhibits/show/voices-from-the-big-first/item/323,black-and-white photograph,Government Operations and Politics,Test topic,"Dole, Robert J., 1923-2021; Goldwater, Barry M. (Barry Morris), 1909-1998",Congressman Bob Dole and Senator Barry Goldwater shaking hands with an American flag in the background.,StillImage
XML
<?xml version="1.0" encoding="UTF-8"?>
<items xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:edm="http://www.europeana.eu/schemas/edm/">
<item>
<dcterms:provenance>Robert J. Dole Institute of Politics</dcterms:provenance>
<dcterms:title>Dole and Goldwater shake hands</dcterms:title>
<dcterms:date>1964</dcterms:date>
<dcterms:created>1964</dcterms:created>
<dcterms:creator>Unknown</dcterms:creator>
<dcterms:rights>http://rightsstatements.org/vocab/NKC/1.0/</dcterms:rights>
<dcterms:language>zxx</dcterms:language>
<dcterms:temporal>88th (1963-1964)</dcterms:temporal>
<dcterms:relation>Dole Photograph Collection, 1900-2011</dcterms:relation>
<dcterms:isPartOf>Collection 012, Box 6, Folder 15</dcterms:isPartOf>
<dcterms:source>https://dolearchivecollections.ku.edu/index.php?p=collections/controlcard&id=47&q=</dcterms:source>
<dcterms:identifier>http://congressarchivesdev.lib.wvu.edu/record/ph_006_015_002</dcterms:identifier>
<edm:preview>https://dolearchives.omeka.net/exhibits/show/voices-from-the-big-first/item/323</edm:preview>
<edm:isShownAt>https://dolearchives.omeka.net/exhibits/show/voices-from-the-big-first/item/323</edm:isShownAt>
<dc:type>black-and-white photograph</dc:type>
<dcterms:subject>Government Operations and Politics</dcterms:subject>
<dc:subject>Test topic</dc:subject>
<dcterms:contributor>Dole, Robert J., 1923-2021; Goldwater, Barry M. (Barry Morris), 1909-1998</dcterms:contributor>
<dcterms:description>Congressman Bob Dole and Senator Barry Goldwater shaking hands with an American flag in the background.</dcterms:description>
<dcterms:type>StillImage</dcterms:type>
</item>
</items>
Story
This commit will swap the headers for the xml and csv exports to be aligned with the metadata schema being used. XML has some particular cases because of its conventions so we have to "sanitize" the headers accordingly. CSV is more straightforward.
Ref:
Output
CSV
XML