Skip to content
A WordPress plugin for managing and serving assets exported from PastPerfect as XML.
PHP JavaScript Shell CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bin
classes
tests/phpunit
.editorconfig
.gitignore
.travis.yml
Gruntfile.js
LICENSE
OH Portal Wire Frame.pdf
PastPerfect to Dublin Core XML crosswalk.xlsx
autoload.php
bhs-storehouse.php
load.php
package.json
phpunit.xml.dist
readme.md
readme.txt

readme.md

BHS Storehouse

A WordPress plugin for managing and serving assets exported from PastPerfect Museum Software or other software that generates valid XML.

Built for the Brooklyn Historical Society by Hard G.

Features:

  • Import assets from PastPerfect/valid XML formats
  • Dublin Core data for each asset is stored in a way that is friendly to other WordPress plugins that expect metadata: title_collection, title_title, title_accession, identifier, type, publisher, description, date, coverage, coverage_GIS, creator, contributor, format, format_scale, format_size, rights, subject_people, subject_subject, subject_places, relation_ohms, relation_findingaid, rights_request, relation_image, relation_attachment, source, language, creator_alpha
  • Assets can be read from an external server via API endpoint

Requirements:

  • PHP 5.3+
  • WordPress 4.4+

Use

Importing and updating records

Upload PastPerfect export documents at Dashboard > PastPerfect Records > Import. Records are individuated by the identifier field; those records whose identifer cannot be found in the WP database will have a new local record created, while those with an existing identifier will have their local records updated.

Accessing records

Records are available at an API endpoint with the format /wp-json/bhs/v1/record/[identifier]. Be sure to flush your permalinks after activating the plugin, to ensure that the endpoint works (Dashboard > Settings > Permalinks > Save).

There is a companion plugin that enables WordPress authors to access and display Storehouse data via shortcodes or template functions. See bhs-client.

You can’t perform that action at this time.