OAI-PMH Provider Plugin For WordPress

๐Ÿ“˜ Official User Guide

๐Ÿ”ฐ Introduction

In the world of digital repositories, academic archives, and open access publishing, structured metadata is the backbone of interoperability. To meet these standards, many systems rely on the OAI-PMH protocol (Open Archives Initiative Protocol for Metadata Harvesting).

While WordPress powers over 40% of websites globally, it lacks native support for OAI-PMH โ€” making it hard for WordPress sites to integrate with scholarly search engines, harvesters, and repositories.

Thatโ€™s where this plugin steps in. The OAI-PMH Provider for WordPress, built by WebCzar, bridges that gap โ€” turning any WordPress site into a compliant, harvestable metadata repository.


๐Ÿ”Ž What is OAI-PMH?

OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting) is a low-barrier mechanism for repository interoperability. It allows external services โ€” like BASE, CORE, OpenAIRE โ€” to harvest metadata records from repositories via standard HTTP requests.

  • It uses verbs like Identify, ListRecords, and GetRecord.

  • Metadata is typically returned in Dublin Core format.

  • OAI-PMH endpoints return well-structured XML for easy machine processing.


๐Ÿ“ฆ Plugin Overview

Item Details
Plugin Name OAI-PMH Provider for WordPress
Plugin Version 1.0
Compatible With WordPress 5.0 and above
Metadata Format oai_dc (Dublin Core)
Protocol Version OAI-PMH 2.0
Author WebCzar
Official Website https://webczar.co.in

๐Ÿš€ Installation Steps

  1. Download the plugin (Click Here To Download)
  2. Download the plugin with settings option (Click Here to Download)
  3. Upload the plugin folder (oai-pmh-provider/) to: wp-content/plugins/
  4. Go to WordPress Admin โ†’ Plugins and click Activate.
  5. Visit Settings โ†’ Permalinks and simply click โ€œSave Changesโ€ to refresh URL rules.

Thatโ€™s it โ€” your OAI-PMH endpoint is now live!


๐Ÿงช Try it Live (Demo URLs)

Hereโ€™s a live working installation to help you test or validate the pluginโ€™s functionality:

Base Endpoint:

https://yourdomain.com/oai-pmh/

๐Ÿ”น Supported OAI-PMH Verbs (replace yourdomain.com with your domain):

Verb Description Example URL
Identify General info about the repository Link
ListIdentifiers List of record headers (no metadata) Link
ListRecords Full metadata of all records Link
ListMetadataFormats Supported metadata types Link
GetRecord Get a specific post’s metadata Link

๐Ÿ“Œ Using the Plugin

Once the plugin is installed and active, your endpoint is automatically available at:

https://yourdomain.com/oai-pmh/

Replace yourdomain.com with your actual domain.

You can now pass OAI verbs as query parameters. For example:

1. Identify

Returns repository metadata:

https://yourdomain.com/oai-pmh/?verb=Identify

2. ListRecords

Returns all published posts in Dublin Core format:

https://yourdomain.com/oai-pmh/?verb=ListRecords

3. ListIdentifiers

Returns post headers only (ID and timestamp):

https://yourdomain.com/oai-pmh/?verb=ListIdentifiers

4. ListMetadataFormats

Shows supported formats:

https://yourdomain.com/oai-pmh/?verb=ListMetadataFormats

5. GetRecord

Returns metadata for a specific post:

https://yourdomain.com/oai-pmh/?verb=GetRecord&identifier=https://yourdomain.com/sample-post/&metadataPrefix=oai_dc

Replace sample-post with your actual post URL.


โœ… Validation

To ensure your installation is working properly, you can test it using the official OAI-PMH validator:

Validator Tool:
https://validator.oaipmh.com

Just paste your base URL:

https://yourdomain.com/oai-pmh/

It will run compliance checks on all supported verbs.


๐Ÿ› ๏ธ Troubleshooting Tips

  • If /oai-pmh/ returns a 404, go to Settings โ†’ Permalinks and click Save.

  • If your GetRecord returns โ€œNo matching IDโ€, double-check the exact permalink used.

  • Ensure your posts are published and not in draft or private status.

  • The plugin currently supports up to 100 records by default โ€” more support (pagination via resumptionToken) is under development.


๐Ÿ’ก Advanced Customization (Optional)

This plugin is fully extendable:

  • Add real OAI Sets using WordPress categories or tags

  • Support custom post types (e.g., books, papers, projects)

  • Implement additional metadata formats (e.g., MARCXML, RDF)

  • Add an admin panel for metadata customization

Let us know at WebCzar if you want help implementing these features!


๐ŸŽฏ Ideal Use Cases

  • Academic institutions using WordPress to publish journals or research

  • Content creators who want their work indexed by academic engines

  • Digital archives or cultural projects that require metadata harvesting

  • Blogs looking to improve discoverability in OAI-compliant ecosystems


๐Ÿ‘‘ Brought to You by WebCzar

At WebCzar, we build digital tools that empower creators, educators, and organizations to share knowledge at scale. This plugin is part of our commitment to making open publishing infrastructure accessible to all.

This entry was posted in OAI PMH Protocol, Wordpress Plugins and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *