Upload
kgerber
View
1.337
Download
1
Embed Size (px)
DESCRIPTION
Workshop for the Library Technology Conference on Encoded Archival Description, and the mark-up languages involved in its use including HTML, XML, and XSLT.
Citation preview
Decoding and
Developing the Online
Finding Aid
as a Building Block to understand
XML, EAD, and Web Development
Kent Gerber
Bethel University Digital Library
Library Technology Conference
What I Am...
Digital Library Manager
Curious
Interested in Learning Together
Passionate About the Future of Libraries
What I Am NOT...
Archivist
Web Programmer
An Expert - I'm Still Learning
Learning Objectives
After this session I hope you will...
• Be able to demonstrate basic understanding
of structure and function of XML
• Be able to recognize and understand basic
elements of Encoded Archival Description
• Understand how XML and EAD work to
create Finding Aids
• Apply XML knowledge to other Digital
Projects
Building Blocks
Today's Outline
Introduction and Purpose
(Part 1) 2:30 - 2:45
HTML and XML 2:45 - 3:10
EAD Basics 3:10 - 3:30
Break 3:30 - 3:45
EAD, Stylesheets, and
CONTENTdm 3:45 - 4:30
Other Fun Stuff - Digital
Humanities, Web 4:30 - 4:45
Project Example
Papers of Carl H. Lundquist
Starting from this...
[image of boxes in Archive]
To this...
[screenshot of Excel spreadsheet]
To this...
[XML document of Finding Aid]
To This...
Finally, to this...
Some Tools to Build With...
Some Tools to Build With...
Activate Your Oxygen License
http://www.thechickenchronicles.com/2010/03/bumpy-beaks.html
http://www.thechickenchronicles.com/2010/03/bumpy-beaks.html
Markup Languages Flavors of ...ML
"Mark-up" documents for processing
Ensure that processing instructions do not get
printed
Our Root Element:
<markup_language>
Workshop Resource Guide
http://libguides.bethel.edu/eadfindingaids
<markup_language>
<html>
Hypertext Markup Language
HTML
</html>
</markup_language>
Describing Archives: A Content
Standard
<!DOCTYPE html>
<html>
<body>
<h1>Describing Archives</h1>
<h2>Society of American Archivists</h2>
<p>2004</p>
<p>9781931666084</p>
<p>35.00</p>
</body>
</html>
HTML Exercise
W3Schools
Make a table -
<table>
<tr><td>..</td><td>..</td></tr>(x2)
</table>
HTML: Important Takeaways
Markup language uses tags that work in pairs
Tags format and organize the text between
the pairs
Tags do not appear in the browser or
viewable document
HTML tag's functions are fixed
<markup_language>
<html></html>
<xml>
eXtensible Markup Language
XML
</xml>
<markup_language>
XML
Why?
XML is the most common tool for data
transmissions between all sorts of
applications
Flexible and can be modified and used for
different kinds of data
XML
<?xml version="1.0" encoding="UTF-8"?>
<book>
<title>Describing Archives</title>
<author>Society American Archivists</author>
<date>2004</date>
<identifier>9781931666084</identifier>
<price>
<us>35.00</us>
<canada>45.00</canada>
</price>
</book>
Make Your Own XML file
Tour of Oxygen
Jennifer Widom 3 parts of XML
https://www.youtube.com/watch?feature=player
_embedded&v=x8kMELlNaYg#t=01m15s
Element
Attribute
Text
XML with attributes
<?xml version="1.0" encoding="UTF-8"?>
<book>
<title>Describing Archives</title>
<author ID="8970">Society American
Archivists</author>
<date>2004</date>
<identifier type="ISBN"> 9781931666084
</identifier>
<price currency="dollars">35.00</price>
</book>
Three Levels of XML Strictness
Well-formed
Valid (DTD - more strict)
EAD DTD start at eadheader element
Valid (Schema - strictest)
EAD Schema
XML Takaways
Encodes meaning (HTML does not)
Can transfer data across software systems
Flexible and powerful when partnered with
standards
<markup_language>
<html></html>
<xml>
<ead>
Encoded Archival Description
EAD </ead>
</xml>
<markup_language>
Encoded Archival Description
Getting Started
Bethel's EAD Manual
Condensed version of Indiana University's
EAD Manual
Major Sections
<eadheader>
Information about the Finding Aid itself
<archdesc>
Information about the items in the Finding Aid
Heart of the Finding Aid
<dsc>
description of subordinate components
List of items
Encoded Archival Description
Additional Resources
Describing Archival Collections (DACS)
Library of Congress EAD Homepage
Stylesheets
EAD Cookbook
CONTENTdm resources based on these
See a Sample EAD document
Open EAD file in Oxygen
NWDA template
Bethel's version
Elements and attributes filled out
Review outline of elements
Sample EAD
Change some items to your institution's
information
eadid @mainagencycode @url
XPath
/ead/eadheader/filedesc/publicationstmt/publisher
EAD and the DTD
Tried to revise the <eadheader> and add
<revisiondesc>
Used DTD to figure out what to add
BREAK
<markup_language>
<html></html>
<xml>
<ead>
<xslt>
eXtensible Stylesheet
Language Transformations
XSLT </xslt>
</ead>
</xml>
<markup_language>
StyleSheets and HTML exercise
<head> <style>body { background-
color:#d0e4fe; } h1 { color:orange; text-
align:center; } h2 { text-align:right; } p {
color:red; font-family:"Times New Roman";
font-size:20px; } </style> </head>
Back to W3Schools HTML
Demo
XML has a partner too
XSLT
XSLT tutorial in W3Schools
Bookstore file example
Some Early Questions
What do you put in the XML/EAD document
and what is displayed through the style
sheets?
What "types" can you use in the c01,
containers?
Box, binder, folder?
What do the c01, c02 tags and how are they
organized?
Problem
with
Display
Desired
Display
Fixing the Display
Files needed:
EAD xml file
Stylesheet - Contentdm fullfindingaid.xsl
Software:
Notepad++
Oxygen (for transformation)
Browser (to see results)
Fixing the Display
CONTENTdm Load Example
Questions?
Kent Gerber
Email:
Twitter:
ktkgerber
Coding Blog:
http://librariancs101.wordpress.com