Open drtjmb opened 9 years ago
Hi, I'm trying to interface with EPrints using xml over http, and have been trying to get multiple license_ref fields to be included in the deposit. I see that is now possible (thanks!), but can't manage to get my xml into a format EPrints is happy with.
I had assumed it used the
<creators>
<item>
<name>
<family>Name</family>
<given>T</given>
</name>
<id>T.Name@example.org</id>
</item>
</creators>
<date>2015-05-21</date>
<date_type>accepted</date_type>
<rioxx2_license_ref_input>
<item>
<start_date>2015-05-21</start_date>
<license_ref>http://rioxx.net/licenses/all-rights-reserved/</license_ref>
</item>
<item>
<start_date>2099-06-18</start_date>
<license_ref>http://test.example.com</license_ref>
</item>
</rioxx2_license_ref_input>
Hi Tom,
Can you try editing a record, manually inputting multiple license refs, then exporting the record as XML?
This will at least give you some XML for comparison; let me know what you find.
Thanks,
Tim
On 27 May 2015 11:11 am, Tom Renner notifications@github.com wrote:
Hi, I'm trying to interface with EPrints using xml over http, and have been trying to get multiple license_ref fields to be included in the deposit. I see that is now possible (thanks!), but can't manage to get my xml into a format EPrints is happy with.
I had assumed it used the child tag, as for other files (such as below), but it's not going through - can you tell me what I'm doing wrong? The relevant part of my xml currently looks like this:
— Reply to this email directly or view it on GitHubhttps://github.com/eprintsug/rioxx2/issues/26#issuecomment-105853026.
"Multiple ali:license_ref elements may be included."
http://rioxx.net/v2-0-final/