The short answer is that direct access to edit the DC fields is not provided
by the Fedora APIs. We're just starting to discuss ideas around service
methods (disseminations) which are able to provide both read and write
access to content, which I think would be a nice place for functionality
like this to go. In the meantime, I would bet that a wrapper to provide
these simple write functions for Dublin Core metadata has been written
by someone in the community. Anyone willing to share?
On Thu, Dec 4, 2008 at 4:15 PM, Hamed, Ahmed A. <ahmed.elmasri@...:
> Hi Bill,
> Thank you for your response.
> I am aware of modifyDatastreamByValue() method but that doesn't give you
> access to the element level. This will require parsing the DC xml and and
> create a new version of the DC. What I am looking for is a direct access to
> the elements themselves. Is there such a method that for example that does
> setTitle("a title"), etc?
> Thanks again!
> On Thu, Dec 4, 2008 at 4:10 PM, Bill Branan <bbranan@...:
>> Hi Ahmed,
>> You can use the modifyDatastreamByValue() method of API-M to update the
>> content of the DC datastream. You may want to use
>> getDatastreamDissemination() from API-A to grab a copy of the datastream in
>> order to update it.
>> On Thu, Dec 4, 2008 at 3:15 PM, Hamed, Ahmed A. <
>> ahmed.elmasri@...> wrote:
>>> Is there a way to update DC metadata items programatically?
>>> Thanks in advance,
>>> Ahmed Abdeen Hamed, MS
>>> Scientific Informatics Project Leader
>>> MBLWHOI Library
>>> Marine Biological Laboratory
>>> 7 MBL Street
>>> Woods Hole, MA 02543 USA
>>> +1 508 289 7676
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>>> The future of the web can't happen without you. Join us at MIX09 to help
>>> pave the way to the Next Web now. Learn more and register at
>>> Fedora-commons-users mailing list
> Ahmed Abdeen Hamed, MS
> Scientific Informatics Project Leader
> MBLWHOI Library
> Marine Biological Laboratory
> 7 MBL Street
> Woods Hole, MA 02543 USA
> +1 508 289 7676