Giter VIP home page Giter VIP logo

rest_oai's Introduction

REST OAI

Overview

This module, made for Drupal 8.4.x, exposes Dublin Core metadata (actually, the nodes' content of your Drupal site involved on Dublin Core elements) as XML or JSON, giving a way to supply your content according to the OAI Protocol for Metadata Harvesting.

OAI Verbs

Verb Done?
Identify
GetRecord
ListRecords
ListSets
ListMetadataFormats
ListIdentifiers

Dependencies (modules)

  • REST
  • REST UI

Dependencies (content structure)

The field dependencies are specified on OAI_GetResource.php for now...

But here's the basic list:

Element Is a D.C. element? Field Name
Title field_item_title
Creator Type field_item_creator
Creator (Pers.) field_item_creator_personal
Creator (Corp.) field_item_creator_corporate
Creator (Conf.) field_item_creator_conference
Contributor field_item_contributor
Subject field_item_subject
Coverage field_item_coverage
Description field_item_description
Citation field_item_citation
Type field_item_type
Format field_item_format
Language field_item_language
Publisher's Place field_item_publisher_place
Publisher field_item_publisher
Related Reference field_item_relation_reference
Related Document field_item_relation_document
Source field_item_source
Rights field_item_rights
Digital Document field_item_digital_doc
Document (Upload) field_item_digital_doc_upload
Document (URL) field_item_digital_doc_url
Date of Issue field_item_date_issued
Status field_item_status

Why is it so raw and simple?

Well then, I'm still a noob at PHP and even Drupal. Can't do much magic at the time, so get grateful for what you have right now, ok...

Important

You might interest in removing the .git folder of this module, after downloading it. I remember to have some issues with git, specially when you want to push your site in Github, so here's ma tip, bro.

Status of the Module

DONE {testing}

rest_oai's People

Contributors

guilmour-asc avatar mjordan avatar

Stargazers

 avatar

Watchers

 avatar

rest_oai's Issues

Installing module results in a WSOD

Apache's error.log says

Error: Class 'Drupal\rest_oai\Encoder\OaiXmlEncoder' not found in /var/www/html/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 258

Changing the name of the class file to OaiXmlEncoder.php fixes the problem. PR forthcoming.

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.