Download with SRU
SRU (Search/Retrieval via URL): is an XML-based information search and retrieval protocol. It uses CQL (Contextual Query Language), a standard syntax for representing queries. SRU was born as an alternative to Z39.50, it provides a search method over HTTP and returns different serializations of metadata.
Most SRU implementations use their own search profiles; It is necessary to know not only how the protocol works, but also how a specific SRU server works.
Features of the BNE SRU server:
- Base URL: https://catalogo.bne.es/view/sru/34BNE_INST
- SRU version 1.2 supported:
- Operations:
- Explain
The Explain operation provides a description of the services available on an SRU server (indexes, metadata schemas, and configuration information) and is used to configure a client. https://catalogo.bne.es/view/sru/34BNE_INST?version=1.2&operation=explain - SearchRetrieve
The searchRetrieve operation is the main operation of SRU. Allows the client to send a request to search and retrieve matching bibliographic records from the server. Search example:https://catalogo.bne.es/view/sru/34BNE_INST?operation=searchRetrieve&version=1.2&query=alma.title=%22insectos%22%20and%20alma.subjects=%22cat%C3%A1logos%22&recordSchema=marcxml&startRecord=1&maximumRecords=20
- Explain
- Metadata schemes: MARC XML, Dublin Core and MODS, among others
MarcEdit SRU client configuration example
The Marc Edit search profile uses, under the namespace 'alma', the following indexes: title, creator, subjects, isbn, issn, source_record_id, and all_for_ui, which appear in the Explain operation.
If you have any questions or suggestions send an email at: info.catalogo@bne.es
Documents / Links of interest