Serapeum Multi-Catalog Bibliographic Search

Description

Serapeum Multi-Catalog Bibliographic Search allows WordPress administrators and editors to consult national and international library catalogues in real time via the SRU (Search/Retrieve via URL) protocol.

Features include:
* Search supported library catalogs using Title, Author/Creator, and Year filters.
* Import records directly into WordPress as Draft Posts using native 2-column Gutenberg block layouts.
* Export search results to CSV or BibTeX (.bib) formats for integration with reference managers (Zotero, Mendeley, EndNote).
* Clean, single-file lightweight architecture with zero external PHP dependencies.

External services

Supported Catalogs:
* BnF – Bibliothèque nationale de France (France)
base_url: https://catalogue.bnf.fr/api/SRU
Documentation: https://api.bnf.fr/fr/api-sru-catalogue-general
Conditions & Lienses: https://www.bnf.fr/fr/conditions-de-reutilisations-des-donnees-de-la-bnf

  • Hispana – Ministerio de Cultura y Deporte (Spain)
    base_url: https://hispana.mcu.es/es/sru/sru.do
    Documentation: https://hispana.mcu.es/en/estaticos/contenido.do?pagina=estaticos%2Fsru
    Conditions: https://hispana.mcu.es/es/contenido/aviso-legal.do

  • DNB – Deutsche Nationalbibliothek (Germany)
    base_url: https://services.dnb.de/sru/dnb
    Documentation & licenses: https://www.dnb.de/EN/Professionell/Metadatendienste/metadatendienste_node.html

Installation

Method 1: Upload via WordPress Dashboard

  1. Compress your plugin file into a .zip archive (e.g., serapeum-multi-catalog-bibliographic-search.zip).
  2. Log in to your WordPress Admin panel.
  3. Go to Plugins > Add New Plugin.
  4. Click Upload Plugin at the top of the page.
  5. Select your .zip file and click Install Now.
  6. Click Activate Plugin.

Method 2: Manual Installation via FTP

  1. Connect to your web server using FTP or your hosting cPanel File Manager.
  2. Navigate to the /wp-content/plugins/ directory.
  3. Create a folder named serapeum-multi-catalog-bibliographic-search.
  4. Upload your plugin PHP file inside that folder.
  5. In your WordPress Dashboard, go to Plugins > Installed Plugins and click Activate under Serapeum Multi-Catalog Bibliographic Search.

FAQ

What is SRU and how does this plugin use it?

SRU (Search/Retrieve via URL) is a standard protocol for internet search queries using CQL (Contextual Query Language). The plugin communicates directly with official national and university library APIs to pull real-time bibliographic data without storing external databases on your server.

Does this plugin require any external libraries or dependencies?

No. It is completely standalone and built as a lightweight, single-file PHP solution utilizing native WordPress functions (wp_remote_get, wp_insert_post, etc.).

Which national and university libraries are currently supported?

The plugin includes built-in endpoint configurations for BnF (France), Hispana (Spain), DNB (Germany), Nasjonalbiblioteket (Norway), The British Library (UK), University of Oxford (UK), and University of Cambridge (UK).

What search filters can I use?

You can perform targeted queries using Book Title, Author / Creator, and Year of Publication. You can search using any single field or combine multiple fields for precise CQL query results.

Why do search results vary between different library catalogs?

Each institution uses specific indexes and operators (e.g., bib.title, dc.title, or alma.title). The plugin automatically maps your search fields to the correct CQL schema and operator (= or all) required by the selected library.

How does the \”Import as WP Draft\” feature work?

Next to each record in the search results, click the \”Import as WP Draft\” button. The plugin automatically generates a new WordPress Draft Post pre-filled with the title and structured metadata.

How is the imported data formatted inside the post?

Records are formatted natively using Gutenberg Block Columns (30% width for metadata keys and 70% width for values). This ensures a clean, modern layout that fits seamlessly with your theme without requiring shortcodes or custom stylesheets.

Can I edit imported bibliographic cards before publishing?

Yes. Upon importing, a direct link (\”Edit post #ID\”) will appear at the top of the page. Clicking it opens the standard WordPress Block Editor, allowing you to add featured images, tags, categories, or custom text before publishing.

Can I export bibliographic results for citation managers?

Yes! You can export your search results in BibTeX (.bib) format, which is fully compatible with reference management software like Zotero, Mendeley, and EndNote.

What data is included in the CSV export?

The CSV file includes key metadata fields: ID, Title, Creator/Author, Identifier/ISBN, Publisher, Date, Type, and Language.

Does exporting cost extra server memory or database space?

No. Export files are generated on-the-fly directly from the active search session memory and downloaded straight through your browser.

Who can access the bibliographic search tool in WordPress?

Access is restricted to users with editors and administrators privileges (manage_options capability) to ensure security and prevent unauthorized draft generation.

Where can I find the plugin page in WP-Admin?

Once activated, a menu item labeled \”Serapeum\” (with a book icon) will appear in your left-hand WordPress admin menu.

Is there a limit on how many records can be retrieved per search?

Yes. To ensure fast response times and prevent HTTP timeouts, the plugin fetches up to 100 records per query and displays them paginated at 20 records per page.

Can I display search results on the public frontend of my website?

This plugin is designed as a backend management tool for editors and administrators. However, once you import records as draft posts and publish them, they become visible to your site visitors as standard WordPress posts.

Why am I getting an HTTP connection error or timeout?

Remote library servers (like DNB) may occasionally experience temporary downtime or rate-limiting. If a query times out, wait a few moments and try refining your search with specific terms.

I received an error saying \”The response received from the server was empty\” or \”Unable to parse XML\”.

This happens if the remote library returns invalid formatting or blocks the request. Ensure your server firewall allows outgoing HTTP requests (wp_remote_get) and that the PHP SimpleXML extension is active.

Why does a search return no results when I know the book exists?

Search terms must match the specific catalog\’s index rules. Try searching with broader terms (e.g., entering only the author\’s surname or a key word from the title).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Serapeum Multi-Catalog Bibliographic Search” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

= 1.0.1.=
* Added information to readme.txt and removed servers with insufficient information.

1.0.0

  • Initial release.