METS Data for a Specific Item

Direct Requst of METS Data

SkillsCommons allows for a direct request of METS data. Here is an example call and response for a welding course.  Note the use of the identifier (82) from the OAI data:

Original submission: https://www.skillscommons.org/handle/taaccct/82

Identifier oai: www.skillscommons.org:taaccct/82 Last Modified2015-06-08 13:48:02

METS Request:

https://www.skillscommons.org/metadata/handle/taaccct/82/mets.xml

METS Response (Partial):

<mets:METS xmlns:mets=”http://www.loc.gov/METS/” xmlns:xlink=”http://www.w3.org/TR/xlink/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:dim=”http://www.dspace.org/xmlns/dspace/dim” OBJEDIT=”/admin/item?itemID=126″ OBJID=”/handle/taaccct/82″ PROFILE=”DSPACE METS SIP Profile 1.0″ LABEL=”DSpace Item” ID=”hdl:taaccct/82″>
<mets:dmdSec GROUPID=”group_dmd_0″ ID=”dmd_1″>
<mets:mdWrap MDTYPE=”OTHER” OTHERMDTYPE=”DIM”>
<mets:xmlData>
<dim:dim dspaceType=”ITEM”>
<dim:field element=”contributor” qualifier=”author” language=”” mdschema=”dc”>Dowell, Kevin</dim:field>
<dim:field element=”date” qualifier=”accessioned” language=”” mdschema=”dc”>2014-07-16T15:59:36Z</dim:field>
<dim:field element=”date” qualifier=”available” language=”” mdschema=”dc”>2014-07-16T15:59:36Z</dim:field>
<dim:field element=”date” qualifier=”issued” language=”” mdschema=”dc”>2014-07</dim:field>
<dim:field element=”identifier” qualifier=”uri” language=”” mdschema=”dc”>http://taaccct.org/handle/taaccct/82</dim:field>
<dim:field element=”description” qualifier=”abstract” language=”en_US” mdschema=”dc”>
WEL101–Allied Cutting Process covers setting up equipment and performing cutting and gouging operations utilizing the oxyacetylene, air carbon arc, exothermic, and plasma arc cutting processes. This course will also provide an introduction to blueprint reading.
</dim:field>

Accessing Submitted Files

Included in the METS data may be a reference to a submitted file. Typically, submissions to SkillsCommons, which included required and optional metadata, also include one or more files such as a document or course archive. A METS record element referencing such a file looks like this:

<mets:file CHECKSUMTYPE=”MD5″ GROUPID=”group_file_439″ ID=”file_439″ MIMETYPE=”text/plain” SIZE=”10719″ CHECKSUM=”bb868bdf883a0183622e13e2a4318603″>
<mets:FLocat LOCTYPE=”URL” xlink:title=”Shop Safety Practices PPE.pptx.txt” xlink:label=”Extracted text” xlink:type=”locator” xlink:href=”/bitstream/handle/taaccct/82/Shop%20Safety%20Practices%20PPE.pptx.txt?sequence=10&isAllowed=y”/>
</mets:file>

Access to the file itself can be obtained by prepending https://www.skillscommons.org to the href, thus:

https://www.skillscommons.org /bitstream/handle/taaccct/82/WEL%20101%20Course%20competencies.docx?sequence=1&isAllowed=y

In this case, the file “WEL 101 Course competencies.docx” would be downloaded to your browser or client application.