Hardy,

Here's the task:

http://github.com/awead/rocklight/blob/master/lib/tasks/fedora.rake

I just threw up the project on git, so there's not much explanation of 
anything.  It's very much a work-in-progress.  It uses blacklight, an ead 
plugin that Jason Ronallo wrote, and a bunch of active-fedora/hydrangea code.  
The image ingest process is designed to attach an image pid to an existing pid 
in fedora that is the archival collection.  I've been only testing this, so 
right now it ingests some jpg files and uses image magick to resize them into a 
thumbnail and access version.  In "real life" the preservation stream would be 
tiff and the thumbnail and access version would be jpegs.  I also threw in a 
jhove datastream for fun, but I'm not doing anything with it at this point 
other than just storing it.

The three descriptive medata streams are from the active-fedora model.  
Ideally, we'd use a mods schema for all the descriptive data instead of these 
three different ones, but that'll be the next step.

let me know if you have comments or questions.  Again, it's a work-in-progress. 
 I only started coding in Ruby/rails a couple of months ago, so there might be 
some quirky things to it.

...adam


-----Original Message-----
From: Code for Libraries on behalf of Pottinger, Hardy J.
Sent: Thu 7/29/2010 11:26 PM
To: [email protected]
Subject: Re: [CODE4LIB] Batch loading in fedora
 
> Following along the Ruby thread, I've got some rake task that will ingest 
> images.  Let me
> know if you want to take a look at that.

Well, this may come as no surprise :-) but I for one would love to see that 
rake task for image ingest. 

--Hardy


 
Rock & Roll: (noun) African American slang dating back to the early 20th 
Century. In the early 1950s, the term came to be used to describe a new form of 
music, steeped in the blues, rhythm & blues, country and gospel. Today, it 
refers to a wide variety of popular music -- frequently music with an edge and 
attitude, music with a good beat and --- often --- loud guitars.© 2005 Rock and 
Roll Hall of Fame and Museum.
 
This communication is a confidential and proprietary business communication. It 
is intended solely for the use of the designated recipient(s). If this 
communication is received in error, please contact the sender and delete this 
communication.

Reply via email to