EPrints Technical Mailing List Archive
Message: #04906
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: citation modification
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: citation modification
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Mon, 12 Oct 2015 10:58:40 +0100
To debug, write a script that looks something like this: #!/usr/bin/perl -I/opt/eprints3/perl_lib use strict; use warnings; use EPrints; my $ep = EPrints->new; my $repo = $ep->repository('archiveid'); my $eprint = $repo->dataset('eprint')->dataobj(1234); #where 1234 is a valid eprint id for an exiting record with creators set print STDERR EPrints::Utils::tree_to_utf8($eprint->render_value('creators')); Note that in your code, all debug code should output to STDERR. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 12 Oct 2015, at 10:50, Thomas Lauke wrote: >> I'm sorry, I can't find an attached file. > my fault, sorry :( > >> how to debug my implementation (using the attached file) following your advice? > <eprint_render_single.pl>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: http://www.eprints.org/tech.php/ > *** EPrints community wiki: http://wiki.eprints.org/ > *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Re: citation modification
- From: Thomas Lauke <th.lauke@arcor.de>
- [EP-tech] Re: citation modification
- Prev by Date: [EP-tech] Re: citation modification
- Next by Date: [EP-tech] Re: [SOLVED] Re: How to set a field to be multilang (search)
- Previous by thread: [EP-tech] Re: citation modification
- Next by thread: [EP-tech] Re: citation modification
- Index(es):