Presentation is loading. Please wait.

Presentation is loading. Please wait.

US GPO AIP Independence Test CS 496B – Senior Design Creating A Fedora Commons SIP.

Similar presentations


Presentation on theme: "US GPO AIP Independence Test CS 496B – Senior Design Creating A Fedora Commons SIP."— Presentation transcript:

1 US GPO AIP Independence Test CS 496B – Senior Design Creating A Fedora Commons SIP

2 Find aip.xml  Find METS file in hard disk Search within xml files only Find tag  Extract attribute OBJID Set it in Fedora METS HEADER Find tag within  Extract attribute LABEL with ID same as OBJID Set it in Fedora METS HEADER FDsys aip.xml

3 Fedora METS HEADER  Declare METS  Mets EXTension_VERSION Value must be “1.1”  Unique LABEL Taken from each aip.xml  Unique OBJID Taken from each aip.xml Follow pattern  xmlns: METS, MODS, PREMIS  Known values  xsi:schemaLocation METS, MODS, PREMIS  Known values aipgroup.xml

4 Extract METS structMap  Find tag  Fedora METS tags METS:amdSec  ID is OBJID METS:techMD  ID is mets.xml METS:mdWrap  MIMETYPE=“text/xml”  MDTYPE=“OTHER”  LABEL=“METS Record” METS:xmlData METS:mets  xlmns:METS  xmlns:xlink  xmlns:xsi  xsi:schemaLocation FDsys aip.xml FDsys aipgroup.xml

5 Extract METS fileSec  Find tag Extract info contained within tag Change xlink:href attribute within  From  To  Fedora METS tags METS:fileSec METS:fileGrp  Add ID=“DATASTREAMS” Other METS:fileGrp for each rendition  METS:file Add OWNERID=“R” FDsys aip.xml aipgroup.xml

6 Find mods.xml  Find tag Extract info contained in and keep track  ID is be used for mods_ID  To find location of mods file Change xlink:href  From:  To: FDsys aip.xml

7 Extract MODS Tags  Extract info contained in mods.xml:  Extract entire tags in file  Fedora MODS tags METS:dmdSecFedora  ID=“mods_ID” METS:descMD  ID=“DC1.0” METS:mdWrap  MDTYPE=“OTHER”  LABEL=“Bibliographic Data” METS:xmlData MODS:mods  ID=“mods_ID” Mods Tags directly from mods.xml

8 MODS FDsys vs. Fedora FDsys mods.xml aipgroup.xml

9 Find premis.xml  Find tag Extract info contained in  To find location of mods file Change xlink:href  From  To FDsys aip.xml

10 Find Representations  Find tag ID must not equal to OBJID Extract ID attribute  Set as premisRepID#  Find tag Extract ID attribute Set as premisFileID# FDsys aip.xml

11 Extract PREMIS Object Tag  Fedora PREMIS tags METS:amdSec  ID=“amd/dprov-premisRepID#”  ID=“amd/dprov-premisFileID#” METS:techMD  ID=“Any Value” METS:digiprovMD  ID=“Any Value” METS:mdWrap  MDTYPE=“OTHER”  LABEL=“PREMIS:Representation”  LABEL=“PREMIS:File”  LABEL=“PREMIS:Event”  LABEL=“PREMIS:Agent” METS:xmlData PREMIS  xmlns:xsi, xmlns, xsi:schemaLocation Insert Metadata  Technical metadata for each rendition Find Rep  Extract same as premisRepID# Find File  Extract same value as premisFileID#  Change value  From  To FDsys aip.xml aipgroup.xml

12 Extract PREMIS Events  Fedora PREMIS tags METS:amdSec  ID is premisFileID#-Abbrv. eventType Example: MMC refers to Message Digest Calculation METS:digiprovMD  ID is file#_Event# METS:mdWrap METS:xmlData PREMIS  xmlns:xsi, xmlns, xsi:schemaLocation  Digital Provenance metadata for each rendition Extract tag  Same as premisFileID#  Set to premisAgentID aipgroup.xml

13 Extract PREMIS Event and Agent Tags  Fedora PREMIS tags METS:amdSec  ID is value in METS:digiprovMD  ID is Agent# METS:mdWrap METS:xmlData PREMIS  xmlns:xsi, xmlns, xsi:schemaLocation  Extract tag  Equal to premisAgentID aipgroup.xml

14 Demo

15

16

17

18

19

20

21

22 References  Fedora-Commons Fedora METS (Rules) https://wiki.duraspace.org/display/FCR30/Fedora+METS  Fedora-Commons Users (Help with Foxml) http://www.mail-archive.com/fedora-commons- users@lists.sourceforge.net/msg01804.html http://www.mail-archive.com/fedora-commons- users@lists.sourceforge.net/msg01804.html  METS http://www.loc.gov/standards/mets/  MODS http://www.loc.gov/standards/mods/  PREMIS http://www.loc.gov/standards/premis/


Download ppt "US GPO AIP Independence Test CS 496B – Senior Design Creating A Fedora Commons SIP."

Similar presentations


Ads by Google