EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02359
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 31 Oct 2013 13:54:06 +0000
I should be using ~/archives/<id>/cfg/citations/eprint/default.xml I think. The citations are read in from: ~/archives/ARCHIVEID/cfg/citations/… and if it doesn’t exist in there, ~/lib/citations/… Looking at the code for ~/cfg/latest_tool, it checks for my $citation = $session->config( "latest_tool_citation" ); - but ‘latest_tool_citation’ isn’t actually defined anywhere in the defaultcfg (commented out or not), which I guess (haven’t traced it through the code) means it will use ‘default’. If you wanted *all* latest_tool citations (except modes where it’s explicitly defined) to use e.g. result.xml, you could define $c-{ latest_tool_citation} = ‘result’; somewhere in a cfg.d/ file (latest_tool.pl perhaps). Does that get you further down the line? If you look at the source of the html output from latest_tool, you should be able to see the comments that are included inside the <cite:citation> node. On a dev server you might want to add e.g. <!-- from: citations/eprint/result.xml --> to help you work out what comes from where. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Derek Lawrie Hi Seb, That makes sense but my current page isn't outputting the "default" citation (lib/citations/eprint/result.xml) because that file does not exist. I do have a result.xml in archives/<id>/cfg/citations/eprint/result.xml but it can't be using that one either as it iterates out as tables cells and my page is div and span based. So id my page isn't using either of those citations, what is it using (the mode in latest_tool.pl is exactly as you said)? Again I'm not sure if I'm making sense? Thanks Derek Derek Lawrie
From: Sebastien Francois <sf2@ecs.soton.ac.uk> Hello,
|
- References:
- [EP-tech] {Disarmed} Re: Re: last additions rather than latest
- From: Derek Lawrie <d.lawrie@nua.ac.uk>
- [EP-tech] {Disarmed} Re: Re: last additions rather than latest
- Prev by Date: [EP-tech] {Disarmed} Re: Re: last additions rather than latest
- Next by Date: [EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- Previous by thread: [EP-tech] {Disarmed} Re: Re: last additions rather than latest
- Next by thread: [EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- Index(es):