Skip to main content
100%

Retrieving Karl Barth metadata from the Library of Congress using SRU

✓ Published0🌍 Public
CCliffordAnderson
Last edited Jan 22, 2014
Created on Jan 22, 2014

This example shows how to retrieve Karl Barth metadata from the Library of Congress using the SRU protocol, storing each MODS record locally. The XQuery code builds a query URL with parameters like `dc.subject=barth,%20karl` and uses `httpclient:get` to fetch a single record, then extracts the LCCN identifier to save the record as an XML file in `/db/mods/`. The companion `sru.txt` file provides the raw SRU endpoint URL. The visualization relies on the `mods` namespace for parsing and the `httpclient` library for HTTP requests.

AI-generated description

Similar vizzes