Hi Kate,
> We are using the sword php app to make submissions from a web application to
> our digital repository. Our library would like to include metadata fields
> that are not explicitly incorporated in the sword php app (for example:
> dc.format.extent). I can see where to incorporate these additions into the
> php application itself. Does anything additional need to be done on the
> server end to accommodate these additional fields?
It depends on your repository. For example with DSpace you need to edit the
crosswalk file at [dspace]/config/crosswalks/sword-swap-ingest.xsl
With the SWORD v2 project, the PHP library is being given a makeover. This
problem is partially helped with the addition of a new 'addMetadata(element,
value)' function, however the class still needs a bit of work to know exactly
how to represent each element based on SWAP.
SWORD v2 is also introducing a new standardized and simple packaging format
(multipart + atom), where all metadata is expressed using dcterms, so adding
metadata simply becomes:
$test_packager->addMetadata("creator", "Lewis, Stuart");
$test_packager->addMetadata("identifier", "10.1108/00330330910998057");
$test_packager->addMetadata("publisher", "Emerald");
See:
- https://github.com/stuartlewis/swordappv2-php-library/
Thanks,
Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
sword-app-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sword-app-tech