[EP-tech] Re: Edit 'Latest Additions' page

John Salter J.Salter at leeds.ac.uk
Tue Jul 7 10:00:08 BST 2015

Hi Mike,
The code that is called is ~/cgi/latest

Instead of editing the copy there, make a copy:

Look for the line:
my $date = time() - 86400 * 7; # 7 days
you can change that to suit.
You’ll also need to change the line that starts:
for( my $d=0; $d<7; ++$d )
- which steps through the number of days and creates a section for each one.

There is also the ~/cgi/latest_tool script.
This reads the ‘latest_tool_modes’ from the archive config, which my default is in ~/archives/ARCHIVEID/cfg/cfg.d/latest_tool.pl
You can do some useful things with this – as it allows you to specify a specific citation style to use, and to create a named mode that can be a filtered subset of items – e.g. you could create a subject- or division-specific ‘latest’ list – and create a citation style that embeds Altmetrics in it.


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Michael Street
Sent: 06 July 2015 21:55
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Edit 'Latest Additions' page


Can someone point me to where I can edit the 'Latest Additions' to configure it go back further in time?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150707/c050ccd7/attachment-0001.html 

More information about the Eprints-tech mailing list