XML at UNC: Tao of DAO

From ArchProc
Revision as of 15:47, 1 August 2012 by Jdean (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to XML at UNC Table of Contents

It's now pretty easy to add a digital archival object (DAO) to your finding aid. A DAO can be an image, a sound file, or a video file. The first thing is, of course, to have that DAO available.

Contents

File Management

DAOs must be stored in the right place in the file structure to be accessible to your finding aid. File management for DAOs is similar to file management for finding aids, where, when you're done working on a file, you always save it to the g: drive for accessibility and backup. DAOs require a few extra steps.

While you're working on your finding aid, you'll need your DAOs to be in c:\mss\inv_images\filename. Because once you create your DAOs you won't be modifying them in the course of your finding aid work, store your DAOs in G:\wilson\TS\archival\mss_and_archives\processors\DAO. That way, you'll be able to copy your DAOs to the c: drive of any computer you use to work on your finding aid. With DAOs, remember to copy, not move, your DAOs from g: to c:; you want a copy of your DAOs to remain in G:\wilson\TS\archival\mss_and_archives\processors\DAO at all times.

When you save your finding aid to the g: drive at the end of a work session, delete your DAOs in c:\mss\inv_images\ so that we don't get copies of everyone's DAOs all over the place. It'll only take a minute to copy your DAOs again from the g: drive to the c: drive next time you work on your finding aid.

When you're done with your finding aid, be sure to leave your DAOs in G:\wilson\TS\archival\mss_and_archives\processors\DAO for review and mounting to the web. You need do nothing else with your DAOs.

Naming Your DAOs

Because your DAOs will be together with everyone else's DAOs in G:\wilson\TS\archival\mss_and_archives\processors\DAO, be sure to give them unique filenames. The best way to do that is to use your collection number as a filename (e.g., 20031.jpg; 05081.jpg). Use collection number-underscore-sequential number if there are multiple DAOs of a given type for one collection (e.g., 04007_1.jpg; 40067_3.jpg). You might want to do this if you anticipate there being multiple DAOs of a given type for your collection in future.

Types of DAOs

Still Image DAOs

You'll need a full scan of your DAO, and a thumbnail of your DAO to place within your document. DAO coding makes the thumbnail the clickable link to the full DAO, which displays in another window. Here's a simple way to produce your DAO and DAO thumbnail from the Tech Services scanner. JPEG is the format of choice, since we're not making archival copies here.

The name of the full scan of your DAO collection number.jpg or collection number-underscore-sequential number.jpg. The name of your thumbnail will always be the name of the full scan-underscore-th (e.g., 20013.jpg and 20013_th.jpg; 05077_1.jpg and 05077_1_th.jpg).

See Create Still Image DAOs for how to create full scans and thumbnails on the scanner in Tech Services.

Audio or Video DAOs

Audio or Video DAOs You'll need an audio or video file of some sort. If you don't know how to create such a file, consult with someone in the Department who does. The thumbnail for an audio file is the audio file symbol (audio.jpg) and the video file symbol (video.jpg), which are both available in G:\wilson\TS\archival\mss_and_archives\processors\DAO. Audio and video DAOs get file managed and named in the same way as still image DAOs (see above).

DAO Coding

To incorporate DAOs into your finding aid, remember to copy your DAOs into c:\mss\inv_images\ on your computer.

DAOs may be inserted within the following tags:

  • <bioghist>: after any </p> tag;
  • <scopecontent>: at any level; after any </p> tag;
  • <c0x>: at any level; before the </did></c0x> tags.

Anywhere a DAO is placed, it always appears centered in its own space between the left and right margins. Any other placement seems to involve stylesheet madness. Centering is something we can live with (at least in the current iteration of EAD2002).

You'll want to add a bit of description to each DAO to tell users what they're looking at or about to hear or see. The description always displays to the right of the DAO. As the description gets longer, it will push the image towards the left margin and word wrap when that margin is reached. If you want to control the line breaks in your description, use <lb/> to mark the ends of lines.

You will find DAO clips under DAO Elements in the sidebar. Here's the Link to Image one:

<daogrp>
<daodesc><p>DESCRIPTION</p></daodesc>
<daoloc role="thumbnail" href="http://www.lib.unc.edu/mss/inv_images/THUMBNAIL FILENAME" 
title="ALT TAG"/>
<daoloc role="reference" href="/mss/inv_images/IMAGE FILENAME"/>
</daogrp>

You only need to fill in the information in caps.

  • DESCRIPTION: The caption or descriptive information that will appear to the right of your clickable DAO.
  • THUMBNAIL FILENAME: You already have the proper path indicated; you only need to fill in the complete thumbnail filename.
  • ALT TAG: The caption or descriptive information that will appear when your thumbnail image is scrolled over. Some browsers can't display alt tags, and even the ones that can don't do it consistently. The information you enter here can be the same as in the DESCRIPTION or an abbreviated form of that description.
  • IMAGE FILENAME: Again, the path's correct. Just enter the complete filename of the image.

The clips for Link to Audio and Link to Video are the same, except that the THUMBNAIL FILENAME, which is always audio.jpg or video.jpg, are already filled in.

Here are some examples. You may wish to add more description than is present here. Just remember that everything in the <daodesc>

will display at the right of the thumbnail. In a <bioghist> note:

<bioghist>
<head>Biographical Note</head>
<p>Alexander Smith Webb, Sr., of Person County, N.C. married the daughter of U.S.
 Representative Richard Stanford (1767-1816). The couple had twelve children</p>
<daogrp>
<daodesc><p>Alexander Smith Webb, Sr., portrait, 1830s</p></daodesc>
<daoloc role="thumbnail" href="/mss/inv_images/01900_th.jpg" title=" Alexander Smith Webb,
 Sr., portrait, 1830s"/>
<daoloc role="reference" href="/mss/inv_images/01900.jpg"/>
</daogrp>
<p>The couple had twelve children.</p>
</bioghist>

In a folder description without a <scopecontent>:

<c02><did><container type="folder">20</container>
<unittitle><unitdate type="inclusive">1940-1950</unitdate></unittitle>
<daogrp>
<daodesc><p>Charles Kuralt, age 12</p></daodesc>
<daoloc role="thumbnail" href="/mss/inv_images/04882_1_th.jpg" title="Charles Kuralt, age
 12"/>
<daoloc role="reference" href="/mss/inv_images/04882_1.jpg"/>
</daogrp></did></c02>
In a folder description with a <scopecontent> (note that the DAO is placed within the <scopecontent> and so comes after the

):
<c02><did><container type="audiotape">41</container>
<unittitle>T-1900/1: Speech of Frederick H. Weaver, <unitdate type="inclusive">1962</unitdate>
</unittitle></did>
<scopecontent><p>Frederick H. Weaver speech with remarks by William E. Webb and George M. Webb
 at the unveiling of a historical marker for William R. Webb (Sawney) in 1962.</p>
<daogrp>
<daodesc><p>Frederick H. Weaver speech</p></daodesc>
<daoloc role="thumbnail" href="/mss/inv_images/audio.jpg title="Frederick H. Weaver speech"/>
<daoloc role="reference" href="/mss/inv_images/05108.ram"/>
</daogrp>
</scopecontent>
</c02>

Create Still Image DAOs

Create Still Image DAO Full Scan: Make sure the scanner is on (the scanner must be on before the computer is turned on, so you may have to shut the computer down and turn it on after turning on the scanner), then:

  • START/PROGRAMS/ADOBE/PHOTOSHOP 4 (yes, it's an old version of PhotoShop, but, yes, it works fine)
  • FILE/IMPORT/TWAIN 32 …
  • Scanning dialog box appears
  • Let the scanner scan the preview image
  • Select the actual image with the cropping corners
  • TYPE: SHARP MILLIONS OF COLORS
  • Even if it's a black-and-white image
  • PATH: SLIDE SETTINGS
  • This will give you an image at 150 resolution, which is good for our purposes
  • FINAL
  • The final image will be scanned and appear in back of the scanning dialog box
  • SAVE AS A JPEG FILE LIKE THIS: G:\wilson\TS\archival\mss_and_archives\processors\DAO\filename.jpg
  • Accept the jpeg defaults in the jpeg dialog box
  • Saving it in the g drive rather than on the c drive will allow you to place the files in the right place in the file structure later on
  • KEEP YOUR FILE OPEN FOR THUMBNAIL CREATION

Create Still Image DAO Thumbnail: With your DAO image on the screen in PhotoShop:

  • IMAGE/IMAGE SIZE
Make sure "Constrain Proportions" and "Resample Image: Bicubic" are checked
  • Change Image Size to between 40 and 50 POINTS on its longest side
  • You may have to change the measure from inches to points
  • USING THE COMPLETE DAO FULL SCAN FILENAME, SAVE THE THUMBNAIL AS A JPEG FILE LIKE THIS: G:\wilson\TS\archival\mss_and_archives\processors\DAO\filename_th.jpg
  • Accept the jpeg defaults in the jpeg dialog box
  • Saving it in the g drive rather than on the c drive will allow you to place the files in the right place in the file structure later on
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox