Sha256: fed048a5e1b6a04cbc08552420d495f0692edde54216734b0fecf150763852f5
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 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 The object and datastream labels are currently static and not too pretty. Plans to make the object label the original filename and the datastreams follow a similar pattern. ## Copyright & Acknowledgements Using Paperclip: https://github.com/thoughtbot/paperclip Using Rubydora: https://github.com/cbeer/rubydora
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paperclip-fedora-0.2.0 | README.md |