Code Monkey home page Code Monkey logo

bulkmetadataeditor's Introduction

Bulk Metadata Editor (plugin for Omeka)

Bulk Metadata Editor is an Omeka plugin intended to expedite the process of editing metadata in Omeka collections of digital objects by providing tools for administrators to edit many Items at once based on prespecified rules.

If you use this plugin, please take a moment to submit feedback about your experience, so we can keep making Omeka better: User Survey.

The editing options available are:

  • Search and replace text
  • Add a new metadatum in the selected field
  • Prepend text to existing metadata in the selected fields
  • Append text to existing metadata in the selected fields
  • Remove text from ends of existing metadata in the selected fields
  • Convert to uppercase or lowercase existing metadata in the selected fields
  • Explode metadata with a separator in multiple elements in the selected fields
  • Deduplicate and join metadata in the selected fields
  • Deduplicate and remove empty metadata in the selected fields
  • Deduplicate files of selected items by hash
  • Delete all existing metadata in the selected fields
  • Copy/Move content from the selected field to another

Installation

Uncompress files and rename plugin folder "BulkMetadataEditor".

Then install it like any other Omeka plugin.

You may have to set the php cli path in application/config/config.ini, according to your server if it is not automatically detected:

background.php.path = "/usr/bin/php-cli"

In order to get messages about the process, you may have to set the logger:

log.errors = true
log.priority = Zend_Log::INFO

The log file is application/logs/errors.log, that must be writeable.

Notes

  • After a successful process, records must be reindexed in order to find them via the quick search field.
  • The change "Append text to existing metadata in the selected fields" appends text only if there is already a metadata.
  • The preview may fail when there is a lot of fields or changes to prepare. The true process will still work fine even with a huge number of items and fields, because it is done in the background, without the limit set by the server. Nevertheless, it's recommended to avoid too large updates.

Warning

Use it at your own risk.

It's always recommended to backup your files and your databases and to check your archives regularly so you can roll back if needed.

Troubleshooting

See online issues on the plugin issues page on GitHub.

License

This plugin is published under GNU/GPL v3.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Copyright

  • Copyright 2014 UCSC Library Digital Initiatives
  • Copyright Daniel Berthereau, 2015-2017 (see Daniel-KM on GitHub)
  • Copyright Julian Maurice for BibLibre, 2015 (see jajm on GitHub)
  • Copyright Daniele Binaghi, 2020-2023 (see DBinaghi on GitHub)

bulkmetadataeditor's People

Contributors

daniel-km avatar dbinaghi avatar jajm avatar kloor avatar nedhenry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bulkmetadataeditor's Issues

Wrong folder name for package submitted to the Omeka addons directory

The (not yet publicly available) version of this plugin posted to the Omeka addons directory has an internal folder name of BulkMetadataEditor-master, when it should be BulkMetadataEditor.

Generally, GitHub's folder names it generates automatically for zip downloads won't work. You need to either edit them, or manually use git archive instead to make the zip and choose the folder name yourself.

BulkMetadataEditor regexpr not working

Hello,

I tried to use the option: "Search and replace text" with "Use regular expressions" but it does not seems to accept any kind of regexpr.

I did validate the ones I wanted in a regexpr validator so I am sure they are OK.

Regards

Bulk Editor changes showing in Admin but not on the Public page

Hello,

Bulk Editor changes show up when we're signed in as Admin, but they don't show up on the Public Page.

I recently got the PHP path not found error (Bulk Metadata edition cannot be started: The configured PHP path (/bin/php) is invalid) and so contacted my host to get the path and added that to the config file as explained in you documentation. We thought it was working but realized the next day that we only saw the changes when logged in.
Any help is welcome.

Thank you,
Lori

Getting "Not a valid plugin" under Omeka 2.4.1

Files copied to the plugin directory, I log in as a superadmin, go to plugins, and only BulkMetaDataEditor gets the error "not a valid plugin." Please let me know if you'd like any additional info.

Bulk Metadata Editor didn't work with Omeka 2.5

Hi, since I upgraded to 2.5 the Bulk Metadata Editor Plugin didn't work anymore. I still get the Message "The requested changes are applied to the database one by one in the background. Check logs for success and errors." - but no changes to my data where realized. Any suggestions are welcome best jan

Fields selection: default=all is not foolproof

Hi.
I'm using this plugin (thanks a lot for creating it) quite a lot, lately, and I've noticed a couple of times that the choice to default all fields in case of no selection can create some issues: in one case, for instance, after selecting the fields we wanted to change, for some reason they got unselected before pressing "Go!", so we ended up with the same extradatum in every field (to undo, we had to replace that metadatum with blank, and then delete all blanks).
It could have been worse (like if the action selected was "delete" instead of "add"), you might want to consider defaulting to 0 instead; this way, if no fields is selected, the bulk editing simply doesn't happen.
Hope this helps.

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.