EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08274
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "Stieneke, Dan" <dan.stieneke@usda.gov>
- Subject: Re: [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 30 Jul 2020 21:41:31 +0000
Hi Dan, The corresponding block in v3.3 is: - which doesn't have the 'export_as_xml=>0,' flag. One approach to solve this (entirely untested!) would be to replace the core field in an archive specific config file e.g.: push @{ $c->{fields}->{eprint} }, { ### a copy of the definition of the field in the first link above, and: export_as_xml => 1, replace_core=>1
}; >
I’m a sysadm, not a dev. I've put the following gist together which might be easier - incase the perl gets mangled in email form: https://gist.github.com/jesusbagpuss/b1720d3ea23ac1ff7201a3263a247713 Put that file in e.g. ~/archives/ARCHIVE/cfg/cfg.d/zz_export_item_issues.pl run bin/epadmin test ARCHIVEID try an export of one eprint - see if it's helped! Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Stieneke, Dan via Eprints-tech Old server: Ubuntu 16.04LTS with EP 3.3.15. Worked great for years. migrating to New server: Ubuntu 18.04LTS, apt installed EP 3.4.1 from
http://deb.eprints-hosting.org/3.4/stable/; manually downloaded & unzipped publication flavor v3.4.1.
After setup of the new server, to verify that all data came over, I compared a complete XML export from the 3.3.15 server to a complete XML export from the 3.4.1 server, both using the ~/bin/export CLI tool. The 3.3.15 export correctly contains <item_issues> tags & corresponding subtags. The 3.4.1 server correctly imports the <item_issues>, as they are visible on the 3.4.1 web pages, but it does not export any <item_issues>
tags / subtags at all. I’d like the 3.4.1 export to contain the <item_issues> tags, as next time I do a migration like this I’ll want that data to be moved over to the newer machine. I’m a sysadm, not a dev. I have basic perl skills, but looking at ~/perl_lib/EPrints/Plugin/Export/XML.pm, I don’t understand how XML export works or where the actual heavy lifting occurs. Suggestions? Thanks, Dan Stieneke IT Specialist AFM ITSD USDA - ARS - NWISRL 3793 N 3600 E Kimberly, ID 83341
|
- Follow-Ups:
- Re: [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- References:
- [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- From: "Stieneke, Dan" <dan.stieneke@usda.gov>
- Re: [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] EP 3.4.1 + pub flavour doesn't export <item_issues>
- Prev by Date: [EP-tech] Setting editorial scope by roles
- Next by Date: Re: [EP-tech] Setting editorial scope by roles
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):