Aleph data

A number of fields have been added. To include support for some of them I've revised everything from oaimarc2slimmarc.xsl to the datastreams Mods, WorkMetadata and InstanceMetadata. i.e., both xslt and ruby.

The work_controller and instance_controller now works with the aleph import services, such that forms are prepopulated. I.e., this should complete the user story. There are opportunities for polishing, however.

/Sigge
Ser ut så här nu:


    if @work.save 
      flash[:notice] = 'The work was successfully initilized with data from Aleph'
      redirect_to new_work_trykforlaeg_path :work_id=>@work.pid, :query=>query
    else
      flash[:error] = 'It was impossible to get data from Aleph'
      redirect_to new_work_trykforlaeg_path 
    end

Strikt sett borde där vara motsvarande kod i andra ändan, instance_controller men fungerar det här borde det fungera där i 99.9% av fallen.