Digital + Container List

14
February 23, 2007 Utah State Archives – Gina Strack Digital + Container List EAD and CONTENTdm Integration

description

Creating EAD container lists with CONTENTdm digital collection information.

Transcript of Digital + Container List

Page 1: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

Digital + Container ListEAD and CONTENTdm Integration

Page 2: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

Define the Need

• Series inventory (finding aid) online is central location for information about the records

• Link to finding aid from digital metadata (=one direction)

• How to link to digital folder/file/object from finding aid?

Page 3: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

Discovery Process

• Asked DiMeMa Technical Support• How to get list of Reference URLs?• Not sure, suggested XML output

• Experimented with XML• “Standard CONTENTdm XML” contains Reference

URL (“ViewerURL”)

Page 4: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

Unexpected Help

• December 2006 Max Evans expresses interest in project and offers advice on XML

• Series of email correspondence working through ideas and suggestions, from using Excel extensively to creating an XSLT stylesheet

• Ready to experiment with creating our own stylesheet with guidance and modeling after existing stylesheet for transforming our inventories

Page 5: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

The Final Process

1. Export Standard CONTENTdm XML2. Run stylesheet (XML Spy Home [Free])3. Copy resulting table from HTML to Excel4. Check that URLs and Titles and/or Identifiers line up

then copy links into column “link”5. Merge using MS Word to wrap EAD around

container list (existing procedure)

Page 6: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

1. Export Standard CONTENTdm XML

Page 7: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

XML Export<?xml version="1.0" encoding="ISO-8859-1"?><metadata> <record> <source>13373</source> <creator>Governor (1993-2003: Michael Okerlund Leavitt)</creator> <title>No. 578-597, Mar 1, 2002-Apr 6, 2001</title> <isPartOf>Press releases</isPartOf> <identifier>Box 4 Folder 9</identifier> <relation>Series 13373 | Governor (1993-2003: Michael Okerlund Leavitt) | Press releases | No. 578-597, Mar 1, 2002-Apr 6, 2001</relation> <date>1993-2003</date> <date>2004</date> <type>Text</type> <format>Image/jpeg</format> <format>Epson GT-3000, MicroTek 9800 XL and Adobe Photoshop CS v 8. TIFF Text: 400 ppi at 1 bit Bitonal Black and White. Dark and colored text or text

with poor resolution 400 ppi at 8 bit Grayscale. TIFF Photographic Print: 600 ppi at 24 bit color and TIFF Photographic Negative: 1600 ppi at 48 bit color. JPEG Text and Photographic Print/Negative: 150 ppi resolution 700 x 906 pixels.</format>

<language>en</language> <rights>Digital Image © 2004 Utah State Archives. All Rights Reserved.</rights> <unmapped>Utah State Archives</unmapped> <unmapped>http://historyresearch.utah.gov/inventories/13373.html</unmapped> <identifier>13373004009</identifier> <description></description> <fullResolution></fullResolution> <cdmid>31</cdmid> <cdmaccess></cdmaccess> <cdmcreated>2006-10-22</cdmcreated> <cdmmodified>2006-12-21</cdmmodified> <thumbnailURL>http://images.archives.utah.gov/cgi-bin/thumbnail.exe?CISOROOT=/13373&amp;CISOPTR=31</thumbnailURL> <viewerURL>http://images.archives.utah.gov/u?/13373,31</viewerURL>

Title so I know what I’m working with

Numeric string helps me sort

The desired URL

Page 8: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

2. The Stylesheet (XML → HTML)<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"><html>

<head><title>Extraction of Digital Collection Identifier and URL for Container Lists</title>

</head><body>

<p>Copy the following table into the original container list using the <i>Identifier</i> field to properly sort the objects.</p><table>

<tbody><tr>

<th>Title</th><th>URL</th><th>Identifier</th>

</tr><xsl:for-each select="metadata/record"><xsl:sort select="identifier[last()]"/><tr>

<td><xsl:value-of select="title"/></td> <td><xsl:value-of select="viewerURL"/></td> <td><xsl:value-of select="identifier[last()]"/></td> </tr> </xsl:for-each>

</tbody></table>

</body></html></xsl:template></xsl:stylesheet>

Identifier with numeric string for sorting. Calling LAST use of that field as other metadata mapped to Identifier (consult XSLT documentation for more).

The 3 fields that will create 3 columns in HTML table

For Each compound object

Page 9: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

3. HTML output

Page 10: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

4. Container List in Excel

Page 11: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

5. Creating EAD

Microsoft Word Mail Merge<c02 level="file"><did><container type="reel">«reel»</container><container type="box">«box»</container><container type="folder">«folder»</container><unittitle><extref href="«link»">«description»</extref></unittitle></did></c02>

Reel, box, folder and link from Excel spreadsheet. Using mail merge to “wrap” EAD tags around content from container list. Copied to full EAD finding aid document edited usually in XMetal.

Page 12: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

EAD container list with links<c01 level="series"><did><unittitle>CONTAINER LIST</unittitle></did><c02 level="file"><did><container type="reel">1</container><container type="box">1</container><container type="folder">1</container><unittitle><extref href="http://images.archives.utah.gov/u?/13373,986">Transition Index for No. 1-7,

Nov 1992-Dec 1992</extref></unittitle></did></c02><c02 level="file"><did><container type="reel">1</container><container type="box">1</container><container type="folder">2</container><unittitle><extref href="http://images.archives.utah.gov/u?/13373,1007">Transition No. 1-7, Nov 12,

1992-Dec 7,1992</extref></unittitle></did></c02>

Page 13: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

Linked container list

Page 14: Digital + Container List

February 23, 2007 Utah State Archives – Gina Strack

The End

Archives Digital CollectionsArchives & History Research Center

Call 801-531-3843 Email [email protected]