EPrints Technical Mailing List Archive
Message: #02406
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] adding link to eprint in phrase
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] adding link to eprint in phrase
- From: "stof999@cmdt.ch" <stof999@cmdt.ch>
- Date: Thu, 14 Nov 2013 15:45:16 +0100
hello we add a duplication check whenimporting DOI publications. would be nice for the user, when in the message window a link to the existing eprint is showed. the phrase with absolute path to the already existing eprint works fine: <epp:phrase id="Plugin/Import/DOI:doiDuplicate">doi:<epc:pin name="doi"/> is already stored in Eprint <a href='boris.stof003-vb-ub124/id/eprint/19'>19</a> <br/><br/> The following authors from the University of Bern are connected with this publication:<br/><epc:pin name="contrib"/><br/><br/> If an author is missing, please contact <a href="mailto:{$config{adminemail}}"><epc:print expr="$config{adminemail}" /></a> </epp:phrase> does someone know how to add the link as pin? assembling the link in the plugin code: my $eprintlink = "<a href='" . $plugin->{session}->get_repository->get_conf("host") . "/id/eprint/" . $values[0] . "'>" . $values[0] . "</a>"; and use the string as pin gives an error: ###Unhandled warning in Import::DOI: parameter "eprintlink" is not an XML node when making phrase "Plugin/Import/DOI:doiDuplicate" thanks for your help. stof
- Follow-Ups:
- [EP-tech] Re: adding link to eprint in phrase
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: adding link to eprint in phrase
- Prev by Date: [EP-tech] Re: Eprints 3.1 and document embargo
- Next by Date: [EP-tech] Re: adding link to eprint in phrase
- Previous by thread: [EP-tech] Eprints 3.1 and document embargo
- Next by thread: [EP-tech] Re: adding link to eprint in phrase
- Index(es):