EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04456
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Edit 'Latest Additions' page
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Edit 'Latest Additions' page
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 7 Jul 2015 09:00:08 +0000
Hi Mike, The code that is called is ~/cgi/latest Instead of editing the copy there, make a copy: ~/archives/ARCHIVEID/cgi/latest 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. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Michael Street Hi, Can someone point me to where I can edit the 'Latest Additions' to configure it go back further in time?
Mike |
- Follow-Ups:
- [EP-tech] Re: Edit 'Latest Additions' page
- From: Michael Street <mstreet@yorku.ca>
- [EP-tech] Re: Edit 'Latest Additions' page
- References:
- [EP-tech] Bulk export/import
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: Bulk export/import
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: Bulk export/import
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Bulk export/import
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Edit 'Latest Additions' page
- From: Michael Street <mstreet@yorku.ca>
- [EP-tech] Bulk export/import
- Prev by Date: [EP-tech] Re: Edit 'Latest Additions' page
- Next by Date: [EP-tech] Re: Bulk export/import
- Previous by thread: [EP-tech] Re: Edit 'Latest Additions' page
- Next by thread: [EP-tech] Re: Edit 'Latest Additions' page
- Index(es):