You are here

README.txt in Views OAI-PMH 6.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7.3 README.txt
  3. 7 README.txt
  4. 7.2 README.txt
Views OAI-PMH
=============
 
This is a Views plug-in module which creates a OAI-PMH data provider using any 
fields which the Views module has access to.

It is configured to expose metadata in the following formats:
  Dublin Core (oai_dc)
  Learning Objects Metadata (oai_lom)
  Learning Resource Exchange (oai_lre)
  IMS Learning Objects Exchange (oai_ilox)

It can be extended to work with other OAI formats by modifying the file
includes/views_oai_pmh_metadata_type_definitions.inc. 

 
 Prerequisite software
 =====================
 
This module requires Views 3.x for both Drupal 6 and Drupal 7.  
 
 
 Using the "Views OAI-PMH" module
 ====================================
 
  1. Add a new "OAI-PMH" display to your view.
  2. Change its "Style/Format" to "OAI-PMH (auto)".
  3. Select your preferred "Row style" from the available options. To allow your
     OAI-PMH data provider to respond with any of the requested data types,
     choose the "Auto fields" option.
  4. Configure the Drupal-"field"-to-OAI-"element" mapping using the row style
     settings control - match up the Drupal fields in the left-hand column with
     the OAI elements in the right-hand column to create the mapping.
  5. Some metadata types create XML elements in the output that require certain
     attributes, such as language, to be specified. You can achieve this by
     mapping a Drupal field to an element labeled "(Attribute)". Sometimes you
     won't have this information available in your Drupal setup, in which case
     you can create a field of "Global > Custom Text", which you can map to the
     attribute as required.
  6. Give the view a path such as "oai" and save it.
  7. Optionally, you can test your repository by going to http://re.cs.uct.ac.za/ 
      and entering the full url and path (http://example.com/oai) in the 
     "Enter the OAI baseURL :" box and then clicking on 
     "Test the specified/selected baseURL" (on the right side of the page).
 
 
Default Views
=============

A default view called "biblio_oai" is provided as an example.  This view emulates the oai2 module.

File

README.txt
View source
  1. Views OAI-PMH
  2. =============
  3. This is a Views plug-in module which creates a OAI-PMH data provider using any
  4. fields which the Views module has access to.
  5. It is configured to expose metadata in the following formats:
  6. Dublin Core (oai_dc)
  7. Learning Objects Metadata (oai_lom)
  8. Learning Resource Exchange (oai_lre)
  9. IMS Learning Objects Exchange (oai_ilox)
  10. It can be extended to work with other OAI formats by modifying the file
  11. includes/views_oai_pmh_metadata_type_definitions.inc.
  12. Prerequisite software
  13. =====================
  14. This module requires Views 3.x for both Drupal 6 and Drupal 7.
  15. Using the "Views OAI-PMH" module
  16. ====================================
  17. 1. Add a new "OAI-PMH" display to your view.
  18. 2. Change its "Style/Format" to "OAI-PMH (auto)".
  19. 3. Select your preferred "Row style" from the available options. To allow your
  20. OAI-PMH data provider to respond with any of the requested data types,
  21. choose the "Auto fields" option.
  22. 4. Configure the Drupal-"field"-to-OAI-"element" mapping using the row style
  23. settings control - match up the Drupal fields in the left-hand column with
  24. the OAI elements in the right-hand column to create the mapping.
  25. 5. Some metadata types create XML elements in the output that require certain
  26. attributes, such as language, to be specified. You can achieve this by
  27. mapping a Drupal field to an element labeled "(Attribute)". Sometimes you
  28. won't have this information available in your Drupal setup, in which case
  29. you can create a field of "Global > Custom Text", which you can map to the
  30. attribute as required.
  31. 6. Give the view a path such as "oai" and save it.
  32. 7. Optionally, you can test your repository by going to http://re.cs.uct.ac.za/
  33. and entering the full url and path (http://example.com/oai) in the
  34. "Enter the OAI baseURL :" box and then clicking on
  35. "Test the specified/selected baseURL" (on the right side of the page).
  36. Default Views
  37. =============
  38. A default view called "biblio_oai" is provided as an example. This view emulates the oai2 module.