GithubHelp home page GithubHelp logo

wordpress-oai-pmh's Introduction

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).

wordpress-oai-pmh's People

Contributors

arnorob1 avatar

Stargazers

Ramon Fincken avatar HughP avatar Yo avatar berio avatar Marco Montanari avatar

Watchers

James Cloos avatar  avatar Ivan avatar

wordpress-oai-pmh's Issues

What data does it use?

Hello! I'm trying to implement OAI-PMH data provider service on a journal web-site based on wordpress. And I would like to ask you what data does this plugin use and where does it take from? I briefly looked through the code, but couldn't find the answer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.