/DADS

Digital Archive Delivery Service - A proof of concept project for the delivery of archive items via Filesender.

Primary LanguagePHPMIT LicenseMIT

DADS

Digital Archive Delivery Service - A proof of concept project for the delivery of archive items via Filesender.

Getting Started

It's recommended that DADS be installed in a directory under your web root, separate to the OHRM/HDMS archive of interest, for code reuse and reducing redundancy.

Prerequisites

PHP 5 and upwards (developed with PHP 5.4)

Installing

Rename config.php.dist to config.php, and edit, as required.

config.php constants:

  • FILESENDER_URL - The REST URL for your selected Filesender instance.
  • FILESENDER_USERID - Username for your selected Filesender instance.
  • FILESENDER_APIKEY - API key for your selected Filesender instance.
  • ACCESS_CONDITIONS - Mandated access conditions for the archive.
  • ASSET_BASE - Location of the archive, relative to the root of your web server.
  • ASSET_BASESUFFIX - Directory under the selected archive item to deliver. For example, 'large' will only deliver large images, and no other assets.
  • DADS_DEBUG - For debugging / development. will not create an archive, nor attempt to send the archive through Fileserver, to reduce resource usage.
  • OHRMLIST - An array of allowed ASSET directories

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Michael D'Silva (@madisim), Aarnet, for assisting with the Filesender API.
  • The Filesender Project for the API code, and the underlying Filesender platform.