Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ulsdevteam/islandora_mets_editor
To provide a way to create, edit, manage METS files in Islandora.
https://github.com/ulsdevteam/islandora_mets_editor
Last synced: 3 months ago
JSON representation
To provide a way to create, edit, manage METS files in Islandora.
- Host: GitHub
- URL: https://github.com/ulsdevteam/islandora_mets_editor
- Owner: ulsdevteam
- Created: 2017-04-14T20:23:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T15:30:23.000Z (over 5 years ago)
- Last Synced: 2024-05-02T21:07:28.631Z (7 months ago)
- Language: CSS
- Size: 160 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- islandora_awesome - Islandora METS Editor - Provides a way to create and edit METS files in Islandora. The editor is an online XML editing tool capable of creating a METS file from any paged content (by navigating the paged-content to page object relationships). Uses the Xonomy javascript library to edit the XML with drag 'n drop, right-click menus, previews of the node object's JP2 and thumbnail. Uses djatoka to display each page's JP2. (The Islandora 7.x-1.x List / Utility Modules)
README
Islandora Mets Editor
=============## Installation
This module requires [Islandora Paged Content](https://github.com/Islandora/islandora_paged_content) module in order to run.
This modules requires the jQuery jstree javascript library which is included in the "js" subfolder -- and this javascript depends on jQuery and jQuery-ui. The stylesheet for jstree is named `css/style.css`, but the code loads this as `jstree.style.css` due to the fact that Drupal does not support having the same name for a stylesheet between any module and any library.
## Configuration
There is currently nothing to configure for this module, but there is a placeholder for this at `admin/islandora/mets_editor`.
## Usage
*Note: This module does not support some METS standards and will not persist any other METS nodes other than those within **mets:fileGrp** and **mets:mets:structMap**. To use this module for METS files that have additional sections, a manual merge of the initial METS and edited METS file would be necessary.*
After installation, the code will display a "METS Editor" tab for any Islandora object that is considered paged-content (includes bookCModel, manuscriptCModel, and newspaperIssueCModel). If an object already has a METS xml datastream, this will be loaded into the editor. If the object does not have any METS file, the code will create one from the object's child page objects. Each page would initially be labeled as "UNUM" which indicates that it is unnumbered. The METS file that is displayed will only be saved to the object if the [Update METS file] and [Save METS] buttons are clicked.
### Keyboard Shortcuts ###
The editor is meant to be as intuitive as possible, but some of the way that it was designed is based on the legacy proprietary METS editor that we used to use here in our pre-Islandora days. Because of this, certain key strokes correspond to specific actions:
| Key | Action |
| --- | ------ |
| **Insert** | Add section, same as clicking the [Add Section] button |
| **↑** and **↓** | Navigate up and down to rename pages while using the [Overwrite "Auto-name" Pages] checkbox. *The editor must have focus.* |
| **F2** | Rename section or page, clicking the [Edit Page] / [Edit Section] button. |### Page preview & OCR ###
The right side of the screen is dedicated to the review of the images and potentially the OCR for those pages. The **Page preview** functions exactly the same as any Openseadragon image viewer (scrolling, clicking, panning, etc).#### Add Section
Adds a new section within the currently selected heirarchy. The new section will appear as the last item at the same level as the current selection. The user is prompted for a label for the new section.
#### Edit Section
Allows the currently selected section div to be renamed.
#### Remove Section
Removes the selected section div from the METS. This keeps all of the pages contained in that section, but simply gets rid of the selected section.## Author / License
Written by [Willow Gillingham](https://github.com/bgilling) for the [University of Pittsburgh](http://www.pitt.edu). Copyright (c) University of Pittsburgh.
Released under a license of GPL v2 or later.