Thanks. That gives me a good start. I should have been clear that I am just beginning with Fedora and don't know scripting. Does anybody have a simple shell, perl or php script that loops through a list of PIDs that they'd be willing to share?
Thanks! Meredith On Jul 28, 2010, at 11:49 AM, <[email protected]> wrote: > If you are comfortable with some simple scripting, then you could loop > through a list of PIDs in whatever format you like and: > > For the RELS-EXT case, you could use the getRelationships, purgeRelationship, > and addRelationship API-M calls. > > For the DC case, you could use getDatastream and modifyDatastreamByValue. > Note that this would likely only work for the required DC 'stream (not an > institution-specific additional 'stream), because modifyDatastreamByValue > works only on inline (type X) datastreams. > > > --- > A. Soroka > Digital Research and Scholarship R & D > the University of Virginia Library > > > > On Jul 28, 2010, at 11:20 AM, Ricker, Meredith wrote: > >> Hi all, >> >> I am trying to figure out how to modify a collection of images that been >> individually ingested into Fedora. I understand how to write FOXML files to >> modify individual objects by PID number, but would like to be able to change >> a RELS-EXT statement or add a DC field to the XML of 200 objects by PID at >> one time. Is this possible without writing a giant XML file listing each >> PID, or am I searching for an non-existent capability? >> >> >> Meredith Ricker >> Digital Collections Manager >> University of New Hampshire Library >> 18 Library Way >> Durham, NH 03824 >> >> (603) 862-4754 >> >> >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://p.sf.net/sfu/dev2dev-palm >> _______________________________________________ >> Fedora-commons-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users Meredith Ricker Digital Collections Manager University of New Hampshire Library 18 Library Way Durham, NH 03824 (603) 862-4754 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
