[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Set category on deposited files using Atom XML
- Subject: [EP-tech] Set category on deposited files using Atom XML
- From: sebastian at semiodesk.com (Sebastian Faubel)
- Date: Mon, 29 Aug 2016 14:31:47 +0200
I am working on behalf of the University of the Arts, London on the
Artivity project  . We are curently trying to implement a feature which
allows our users to easily deposit image files and corresponding Artivity
data sets to EPrints repositories. I managed to implement a basic deposit
using Atom XML Multipart  to the EPrints API endpoint '/id/contents' as
described here .
Since I am not very savy with Perl, I did not implement a own import
plugin, but instead I am trying to use the existing AtomMultipart importer
to send a Atom entry for metadata + file to the repository. This basically
works, however, the category id I have set in the Atom entry does not seem
to be recognized. Is this not supported by the importer or am I doing
something wrong here? Here's my Atom XML entry that is being posted to
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
<summary>Some test content.</summary>
<email>test at localhost</email>
term="artefact" label="Artefact" />
I am running EPrints 3.3.15 on a Ubuntu 14.04 virtual machine for testing.
Any help would be very much appreciated!
*Semiodesk GmbH | *Werner-von-Siemens-Str. 6 Geb. 15k, 86159 Augsburg,
Germany | Phone: +49 821 8854401 | Fax: +49 821 8854410 | www.semiodesk.com
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Semiodesk GmbH is
not responsible for errors or omissions in this message and denies any
responsibility for any damage arising from the use of e-mail. Any opinion
and other statement contained in this message and any attachment are solely
those of the author and do not necessarily represent those of the company.
-------------- next part --------------
An HTML attachment was scrubbed...