Skip to content

About

A Wordpress plugin offering OAI-PMH interface

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Wordpress OAI PMH Plugin

This repo is a developpement starter kit for whoever would like to develop its own WordPress OAI-PMH Plugin. It is based on our own implementation of the protocol (Rennes 2 University - L'Aire d'U website). Plugin structure is based on WordPress Plugin Boilerplate. The plugin will not work as is. You have to go through the code and fullfill the blanks to adapt it to your needs and make it work.

How does it work ?

The plugin contains 2 filters and 1 action :

  • 1 filter on 'init' event to handle oaipmh request variables ('verb', 'identifier', etc...)
  • 1 action that that create a rewrite rule handling '/oai?verb=...' requests and redirecting them to '/index.php?wpoaipmh=true&verb=...'
  • 1 filter on 'include_template' to identify on oai-pmh request (based on presence of 'wpaoipmh' var in request) and redirect to our own template to handle the request

After activating (and deactivating) the plugin, one should SAVE the PERMALINKS so that our new rule is taken into account (or removed).

About

A Wordpress plugin offering OAI-PMH interface

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages