EPrints Technical Mailing List Archive

Message: #02672


< 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


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.

 

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 )