EPrints Technical Mailing List Archive
Message: #02674
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: IRStats 2 - altering the displayed titles
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: IRStats 2 - altering the displayed titles
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Thu, 27 Feb 2014 11:24:57 +0000
Hi both,
If during this process you find a nice way to be able to change the default (sometime hard-coded, shame on me) object rendering please feel free to suggest patches and I'll add this to the core stats2. Thank you! Seb. On 27/02/14 11:14, Matthew Brady wrote: Hi John. .. Thanks for the prompt reply. Will get into it first thing in the morning.. and will try running a series of load tests over the system before and after to see if there are any impacts. Will add this to my doco for the how to setup irstats2 guide I seem to be collating. Cheers Matt -------- Original message -------- From: John Salter <J.Salter@leeds.ac.uk> Date: 27/02/2014 20:16 (GMT+10:00) To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk> Subject: [EP-tech] Re: IRStats 2 - altering the displayed titles In: ~/lib/plugins/EPrints/Plugin/Stats/Data.pm #253 return (defined $eprint) ? $eprint->render_citation_link( 'brief' ) : $self->{session}->html_phrase( 'lib/irstats2/unknown:eprint', id => $self->{session}->make_text( $value ) ); If you change ‘brief’ to ‘default’ – or something else – it should render with that other citation style. (maybe this needs to be a config option..?) Also, if you’re looking at any of the filter options (e.g. EprintID), these use a title directly: ~/archives/ARCHIVEID/cgi/stats/set_finder #68 print STDOUT "<a href=''>".$eprint->value( 'title' )."</a>"; I’m not sure what tinkering with any of these things would to performance-wise… Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Matthew Brady Sent: 27 February 2014 03:37 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] IRStats 2 - altering the displayed titles Hi, Within the default summary report (in IRStats2), there is a block ‘Most Downloaded Items’ which displays the title and download counts., I am looking at expanding it, to make it look more like QUT’s version, where the citation is displayed, rather than just the title. [cid:image001.png@01CF339E.09627310] Source (http://eprints.qut.edu.au/statistics/most_popular_works) I am wondering if anyone has done this? Or is there a reason for title to be used rather than a full citation?, page load times etc? Cheers Matt _____________________________________________________________ This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email. The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt. The University of Southern Queensland is a registered provider of education with the Australian Government. (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 ) _____________________________________________________________ This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email. The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt. The University of Southern Queensland is a registered provider of education with the Australian Government. (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 ) |
- References:
- [EP-tech] IRStats 2 - altering the displayed titles
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- [EP-tech] Re: IRStats 2 - altering the displayed titles
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: IRStats 2 - altering the displayed titles
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- [EP-tech] IRStats 2 - altering the displayed titles
- Prev by Date: [EP-tech] Re: IRStats 2 - altering the displayed titles
- Next by Date: [EP-tech] error -> Use of uninitialized value $match
- Previous by thread: [EP-tech] Re: IRStats 2 - altering the displayed titles
- Next by thread: [EP-tech] error -> Use of uninitialized value $match
- Index(es):