EPrints Technical Mailing List Archive

Message: #04778


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: enable-web-imports


hi george

the full xml for an eprint would include documents and look like:


*****************
<eprint id='https://ux-alex-prod.unisg.ch/id/eprint/239574'>
<eprintid>239574</eprintid>
<event_title>Arbeitsvermittlung zwischen Kunst und Kennziffer:
Ermessensspielräume in der managerialen Arbeitsverwaltung</event_title>
<event_location>Universität Potsdam (D)</event_location>
<date>2015-2-20</date>
<lastmod>2015-02-27 12:23:08</lastmod>
<datestamp>2015-02-27 12:21:14</datestamp>
<pres_type>speech</pres_type>
<type>conference_item</type>
<title>Verwaltungsermessen: Versuch einer Typologie aus juristischer
Sicht : unter besonderer Berücksichtigung der öffentlichen
Arbeitsverwaltung</title>
<eprint_status>archive</eprint_status>
<date_type>published</date_type>
<userid>2743</userid>
<documents>
<document>
<files>
<file>
<filename>Referat Schindler-Potsdam-Handout.pdf</filename>
<mime_type>application/pdf</mime_type>
<url>https://www.alexandria.unisg.ch/export/DL/239576.pdf</url>
</file>
</files>
<security>public</security>
</document>
</documents>
<note>title = Verwaltungsermessen: Versuch einer Typologie aus
juristischer Sicht
subtitle = unter besonderer Berücksichtigung der öffentlichen
Arbeitsverwaltung
updatetime = 2015-02-27 12:23:08
language = de
location_of_presentation = Universität Potsdam (D)
idPub = 239574
event = Arbeitsvermittlung zwischen Kunst und Kennziffer:
Ermessensspielräume in der managerialen Arbeitsverwaltung
createtime = 2015-02-27 12:21:14
date_of_publishing = 2015-2-20
owner_auth_user = 2643
id = 3
cod_language = de
type = presentation
research_area = 4
project = 60540
</note>
<projects>
<item>
<id>60540</id>
</item>
</projects>
<refereed>FALSE</refereed>
<subjects><item>4</item></subjects>
<divisions>
<item>FR</item>
</divisions>
<creators>
<item>
<name>
<family>Schindler</family>
<given>Benjamin</given>
</name>
<alex_user_id>2743</alex_user_id>
</item>
</creators>
</eprint>
*****************

thanks
stof







On 25.09.2015 07:20, George Mamalakis wrote:
> Hi Stof,
> 
> And since you've shown us your sample XML file, mind that the <files> 
> section should be enclosed within a 
> <documents><document></document></documents> section in order for your 
> files to be shown within each eprint. Otherwise they won't (if I'm not 
> mistaken).
> 
> The minimum XML syntax required is shown in this list's emai: 
> http://www.eprints.org/tech.php/20718.html that was -ironically- sent 
> one day before your last email (on the 23rd of Sept) :):).
> 
> Of course, don't forget --enable-file-imports when running your import 
> command, as Adam suggested (and as your error implied).
> 
> For more import options, run:
> 
> $ perldoc ./bin/import
> 
> within EPrints' home directory.
> 
> Good luck with your migration!