Sha256: 92abe68b1f7a41a2340e9b060368d188479a4ad6963efe13498a3bd13ce5b1a8

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

paperclip-fedora
================

Paperclip-Fedora uses Rubydora to extend the storage options of Paperclip to use Fedora Commons.

## Installation

To use, require the gem in your Gemfile:

`gem 'paperclip-fedora'`

To specify Fedora Commons as your storage location, add the storage option to your
has_attachment:

`has_attached_file :content, :storage => :Fedora`

For server connection options, you should have a file titled paperclip-fedora.yml in your
/config folder. There is a nifty rake task to put the yaml file there for you:

`rake paperclip:fedora:setup`

After that, go edit the yaml file with your server settings per rails environment (They default to a server on the localhost).

## Overview

The Fedora Commons storage has very complex ways of connecting data. Currently in
paperclip-fedora there is no support for complex relationships. The upload creates
a data object with a datastream per style (such as thumbnails, image sizes, or
other that you specify), as well as the original upload.

## Todo

More features?

## Copyright & Acknowledgements

Using Paperclip: https://github.com/thoughtbot/paperclip

Using Rubydora: https://github.com/cbeer/rubydora

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paperclip-fedora-0.2.3 README.md
paperclip-fedora-0.2.2 README.md