Thanks, I will certainly vote for this issue :). What I currently do is exactly
the last solution you give but it is of course a bit clumsy compared to what it
would be with the relationship methods. Contrary to most people, probably, I am
much more fluent in xslt than in shell scripts; I do practically everything in
xslt pipelines so batchModify fits perfectly in my workflow.
regards, Egbert
________________________________
From: Steve Bayliss [mailto:stephen.bayl...@acuityunlimited.net]
Sent: vrijdag 1 oktober 2010 11:31
To: Egbert Gramsbergen; fedora-commons-users@lists.sourceforge.net
Subject: RE: [fcrepo-user] batchModify and relationship methods
Hi Egbert
This looks like an omission, these methods should have been added. I have
created a JIRA issue for this: https://jira.duraspace.org/browse/FCREPO-806 -
please feel free to add comments and to vote for this.
In the mean time, maybe you can use the REST API for this - you could for
instance write a shell script using eg curl to execute the necessary REST API
commands.
Alternatively, you could get the contents of the exisiting relationships
datastreams, perform some XSLT on them to do the necessary updates, and create
a batchModify script using the updated XML and the modifyDatastream directive.
Regards
Steve
-----Original Message-----
From: Egbert Gramsbergen [mailto:e.f.gramsber...@tudelft.nl]
Sent: 01 October 2010 09:27
To: fedora-commons-users@lists.sourceforge.net
Subject: [fcrepo-user] batchModify and relationship methods
hello all,
I frequently use batchModify directives for all kinds of batch
operations. As the documentaiton on
https://wiki.duraspace.org/display/FCR30/Batch+Processing is out of date
and we just switched to Fedora3.4, I did some trial and error to see if
new relationship methods (addRelationship etc.). work. The answer is no, at
least so it seems. Not surprising since there is no mention of them in the
Schema http://www.fedora-commons.org/definitions/1/0/api/batchModify.xsd .
My questions:
* is it really impossible to use relationship methods in batchModify or
is there an updated version I am not aware of?
* And if not, is there an easy-to-use alternative, preferrably in xml
rather than programming?
* And (especially to Chris Wilper and his crowd) if not, what are the
plans fore future versions of Fedora?
many thanks, Egbert Gramsbergen
______________________________________________
Egbert Gramsbergen
TU Delft - Library Innovation / SSC-ICT
E e.f.gramsber...@tudelft.nl <mailto:e.f.gramsber...@tudelft.nl> W
www.library.tudelft.nl <http://www.library.tudelft.nl/>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users