230 likes | 418 Views
Greenstone in Practice: Chopin Early Editions. Tod A. Olson <tod@uchicago.edu> Sr. Programmer/Analyst Digital Library Development Center University of Chicago Library. 2004 LITA National Forum, St. Louis, MO. Catalog records. Scanned Images. Greenstone Archive Format.
E N D
Greenstone in Practice:Chopin Early Editions Tod A. Olson <tod@uchicago.edu> Sr. Programmer/Analyst Digital Library Development Center University of Chicago Library 2004 LITA National Forum, St. Louis, MO
Catalogrecords ScannedImages GreenstoneArchiveFormat GreenstoneDig. Library Software XSLT METS & MODS Structuralmetadata Human processing XML-based automated processing Build overview
<metsHdr> <admSec> <structMap> <dmdSec> <div> <div> <div> <div> <div> <fileSec> <fileGrp> <file> <behaviorSec> METS
METS & MODS dmdSec MODS fileSec URL: page1.jpg URL: page2.jpg structMap div DMDID=1 div FILEID=1 div FILEID=2 Catalog record (MARC) Scanned images (JPEG) Structural metadata
METS: Chopin structure Descriptive metadata Structure map 15me. & 16me. Nocturno composé par Frederic Chopin div TYPE=“score” div ORDER=“1” File list div ORDER=“2” 2000pix wide JPEGs image 1 image 2 image 3 … 700pix wide JPEGs image 1 image 2 image 3 … div ORDER=“3” ORDERLABEL=“Page 1” LABEL=“Nocturne, no.15”
MODS MARC: 100 1 ‡a Chopin, Frédéric, ‡d 1810-1849. 245 10 ‡a 15me. & 16me. nocturno / ‡c [composé par Frederic Chopin]. 300 ‡a 10 p. of music ; ‡c 33 cm. MODS: <mods> <titleInfo> <title>15me. & 16me. nocturno</title> </titleInfo> <name type="personal"> <namePart>Chopin, Frédéric</namePart> <namePart type="date">1810-1849</namePart> </name> <physicalDescription> <extent>10 p. of music ; 33 cm.</extent> </physicalDescription> <note type="statement of responsibility"> [composé par Frederic Chopin]</note> </mods>
METS to GSAF Section Description Metadata: Title, … Content: Title, … Section Content: Page 1 page1.jpg Section Content: Page 2 page2.jpg dmdSec MODS: Title, … fileSec page1.jpg page2.jpg structMap div: Score div: Page 1 div: Page 2
Custom navigation: page turner <Section> <Description> <Metadata name="PrevPgId">CHOP108.1</Metadata> <Metadata name="NextPgId">CHOP108.3</Metadata> … GSAF: collect.cfg: format DocumentText ” {If}{[PrevPgId], <a href=\"_httpdocument_&cl=_cgiargcl_&d=[PrevPgId]\"> _iconprev_prev</a>} …{If}{[NextPgId], <a href=\"_httpdocument_&cl=_cgiargcl_&d=[NextPgId]\"> _iconprev_next</a>}
Custom navigation: page menu <Content>… <form action="_gwcgi_"> <input type="hidden" name="e” value="_compressedoptions_" > <input type="hidden" name="a" value="d" > <input type="hidden" name="cl" value="_cgiargcl_" > <select name="d" onchange="submit()" > <option value="CHOP108.1" selected> unnumbered page</option> <option value="CHOP108.2"> unnumbered page</option> <option value="CHOP108.3"> Page 1: Nocturne, no.15</option>
GS3: METS as internal storage format MG/MGPP for indexing and text retrieval MySQL for metadata XSLT for presentation to browser Can use GS2 collection as is GS2: METS as optional internal format METSPlug (in collect.cfg) import.pl -saveas METS mycol buildcol.pl mycol Greenstone METS “profile” (not yet formalized) Greenstone: a future with METS
Links & Further Information Chopin Early Editions: http://chopin.lib.uchicago.edu/ Greenstone: http://www.greenstone.org/ New Zealand Digital Library Project: http://www.nzdl.org/ METS: http://www.loc.gov/mets/ MODS: http://www.loc.gov/mods/