SobekCM Repository Community Help | |
Project Home | User Help | Technical Help | Download Center | Code Details | mySobek Home |
SMaRT Tool : Retrieve PackagesGeneralThe fourth link ( Retrieve Packages ) from the main form can be used to retrieve metadata or resource files from a SobekCM instance. This can also be used to build a Marc21 file for a custom search or browse within the system. When a user selects this option, the following form appears to allow the user to enter their filter for resources to be retrieved:
As you can see from the example above, the query should be a valid query URL from a SobekCM instance. It should be a browse or search results URL. In addition, you must select a valid folder in which to put the retrieved metadata or files. When the OK button is selected, the system will query the SobekCM instance via http, but with a slight change to the URL to indicate that the result should be provided as XML. For example, if your query is http://sobekrepository.org/juv/results/?t=frogs, then they system will modify the URL and request http://sobekrepository.org/xml/juv/results/?t=frogs. This returns XML which provides the list of all titles/items which match the search and also provides the web and network location for the resource files. How your request is then processed is dependent on the retrieval type: METS Only For retrieving the METS only, each METS file is downloaded via HTTP and placed in your requested output folder. No change is made to the metadata file and the latest service METS is selected. This can be quite useful as a first step for performing mass updates to a subset of the online metadata. MARC XML For retrieving the MarcXML, each Marc file is downloaded via HTTP and placed in your requested output folder. In addition, a complete marc file ( named marc_report.xml ) is generated. This includes the MARC records for each of the requested items. This is a very simple way to create a MARC feed for a subset of the items within your SobekCM system. Complete Package This is the only retrieval type which requires direct network read access to the image store directories. In this retrieval type, the entire package is copied to your local computer, including all digital resource files on the web server and all metadata revision history files. Related LinksAdditional help is available on the following topics: |