48
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

Decoding and developing the online finding aid

  • 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

Page 1: Decoding and developing the online finding aid

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

Page 2: Decoding and developing the online finding aid

What I Am...

Digital Library Manager

Curious

Interested in Learning Together

Passionate About the Future of Libraries

Page 3: Decoding and developing the online finding aid

What I Am NOT...

Archivist

Web Programmer

An Expert - I'm Still Learning

Page 4: Decoding and developing the online finding aid

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

Page 5: Decoding and developing the online finding aid

Building Blocks

Page 6: Decoding and developing the online finding aid

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

Page 7: Decoding and developing the online finding aid

Project Example

Papers of Carl H. Lundquist

Page 8: Decoding and developing the online finding aid

Starting from this...

[image of boxes in Archive]

Page 9: Decoding and developing the online finding aid

To this...

[screenshot of Excel spreadsheet]

Page 10: Decoding and developing the online finding aid

To this...

[XML document of Finding Aid]

To This...

Page 11: Decoding and developing the online finding aid

Finally, to this...

Page 12: Decoding and developing the online finding aid

Some Tools to Build With...

Page 13: Decoding and developing the online finding aid

Some Tools to Build With...

Activate Your Oxygen License

Page 14: Decoding and developing the online finding aid

http://www.thechickenchronicles.com/2010/03/bumpy-beaks.html

Page 15: Decoding and developing the online finding aid

http://www.thechickenchronicles.com/2010/03/bumpy-beaks.html

Page 16: Decoding and developing the online finding aid

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

Page 17: Decoding and developing the online finding aid

<markup_language>

<html>

Hypertext Markup Language

HTML

</html>

</markup_language>

Page 18: Decoding and developing the online finding aid

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>

Page 19: Decoding and developing the online finding aid

HTML Exercise

W3Schools

Make a table -

<table>

<tr><td>..</td><td>..</td></tr>(x2)

</table>

Page 20: Decoding and developing the online finding aid

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

Page 21: Decoding and developing the online finding aid

<markup_language>

<html></html>

<xml>

eXtensible Markup Language

XML

</xml>

<markup_language>

Page 22: Decoding and developing the online finding aid

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

Page 23: Decoding and developing the online finding aid

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>

Page 24: Decoding and developing the online finding aid

Make Your Own XML file

Page 25: Decoding and developing the online finding aid

Tour of Oxygen

Page 26: Decoding and developing the online finding aid

Jennifer Widom 3 parts of XML

https://www.youtube.com/watch?feature=player

_embedded&v=x8kMELlNaYg#t=01m15s

Element

Attribute

Text

Page 27: Decoding and developing the online finding aid

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>

Page 28: Decoding and developing the online finding aid

Three Levels of XML Strictness

Well-formed

Valid (DTD - more strict)

EAD DTD start at eadheader element

Valid (Schema - strictest)

EAD Schema

Page 29: Decoding and developing the online finding aid

XML Takaways

Encodes meaning (HTML does not)

Can transfer data across software systems

Flexible and powerful when partnered with

standards

Page 30: Decoding and developing the online finding aid

<markup_language>

<html></html>

<xml>

<ead>

Encoded Archival Description

EAD </ead>

</xml>

<markup_language>

Page 32: Decoding and developing the online finding aid

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

Page 33: Decoding and developing the online finding aid

Encoded Archival Description

Additional Resources

Describing Archival Collections (DACS)

Library of Congress EAD Homepage

Stylesheets

EAD Cookbook

CONTENTdm resources based on these

Page 34: Decoding and developing the online finding aid

See a Sample EAD document

Open EAD file in Oxygen

NWDA template

Bethel's version

Elements and attributes filled out

Review outline of elements

Page 35: Decoding and developing the online finding aid

Sample EAD

Change some items to your institution's

information

eadid @mainagencycode @url

XPath

/ead/eadheader/filedesc/publicationstmt/publisher

Page 36: Decoding and developing the online finding aid

EAD and the DTD

Tried to revise the <eadheader> and add

<revisiondesc>

Used DTD to figure out what to add

Page 37: Decoding and developing the online finding aid

BREAK

Page 38: Decoding and developing the online finding aid

<markup_language>

<html></html>

<xml>

<ead>

<xslt>

eXtensible Stylesheet

Language Transformations

XSLT </xslt>

</ead>

</xml>

<markup_language>

Page 39: Decoding and developing the online finding aid

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

Page 41: Decoding and developing the online finding aid

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?

Page 42: Decoding and developing the online finding aid

Problem

with

Display

Page 43: Decoding and developing the online finding aid

Desired

Display

Page 44: Decoding and developing the online finding aid

Fixing the Display

Files needed:

EAD xml file

Stylesheet - Contentdm fullfindingaid.xsl

Software:

Notepad++

Oxygen (for transformation)

Browser (to see results)

Page 45: Decoding and developing the online finding aid

Fixing the Display

Page 46: Decoding and developing the online finding aid

CONTENTdm Load Example

Page 47: Decoding and developing the online finding aid
Page 48: Decoding and developing the online finding aid

Questions?

Kent Gerber

Email:

[email protected]

Twitter:

ktkgerber

Coding Blog:

http://librariancs101.wordpress.com