Hi Ahmed,
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?
Bill
On Thu, Dec 4, 2008 at 4:15 PM, Hamed, Ahmed A. <[EMAIL PROTECTED]>wrote:
> 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!
> Ahmed
>
>
> On Thu, Dec 4, 2008 at 4:10 PM, Bill Branan <[EMAIL PROTECTED]>wrote:
>
>> 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.
>>
>> Bill
>>
>> On Thu, Dec 4, 2008 at 3:15 PM, Hamed, Ahmed A. <
>> [EMAIL PROTECTED]> wrote:
>>
>>> Hello,
>>> Is there a way to update DC metadata items programatically?
>>> Thanks in advance,
>>> Ahmed
>>>
>>> --
>>> 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
>>> [EMAIL PROTECTED]
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>>> Nevada.
>>> 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
>>>
>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>>>
>>
>
>
> --
> 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
> [EMAIL PROTECTED]
>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
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
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users