EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05711
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] How often does the Latest Additions page refresh?
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] How often does the Latest Additions page refresh?
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Date: Mon, 16 May 2016 19:36:35 +0000
I think it "reuses" the "max" property set in latest_tool_modes in cfg/latest_tool.pl,
For example:
$c->{latest_tool_modes} = {
default => { citation => "result", max => 100}
};
If "max" is not set in that file, I think that it uses a default hard-set limit of 20; that number is set in EPrints/Plugin/Screen/Search.pm
Tomasz
-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Michael Street
Sent: May-16-16 3:07 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] How often does the Latest Additions page refresh?
Hi Tomasz,
Thanks, I appreciate the detailed answer. That's what I figured but it does not always seem to be true. There also seems to be a hard limit of how many it will add to the page.
I will investigate and see if I can figure out what's going on.
Thanks,
Mike
On 5/16/2016 2:17 PM, Tomasz Neugebauer wrote:
> I just realized that maybe I didn't answer your question directly: my understanding is that it regenerates that "latest" list "dynamically", every time it is requested.
>
> Tomasz
>
>
> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk
> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tomasz
> Neugebauer
> Sent: May-16-16 2:10 PM
> To: eprints-tech@ecs.soton.ac.uk
> Subject: Re: [EP-tech] How often does the Latest Additions page refresh?
>
> The script is in /cgi/ folder (http://wiki.eprints.org/w/Cgi/ ) the part of EPrints "handle the dynamic parts of the website".
> As an aside, we could really benefit from some more documentation of the CGI scripts :) I've been looking recently at the RSS (export plugins), latest_tool (in cfg.d), latest (in cgi/)... for my purposes, I think I'm going to end up sub-classing RSS to distinguish between the RSS export and the RSS Feed.
>
> For the "latest additions", there are some hard-coded numbers in that CGI script "/cgi/latest", like the 7 day time span.
>
> It looks like it uses "-datestamp" of the eprint for the search criteria to decide if something is "new".
> I believe "datestamp" means the moment that an item was first made live in the repository (so not a "publication date", and not a "modified date"), right?
>
> Tomasz
>
>
>
>
> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk
> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Michael
> Street
> Sent: May-16-16 1:32 PM
> To: eprints-tech@ecs.soton.ac.uk
> Subject: [EP-tech] How often does the Latest Additions page refresh?
>
> Hi,
>
> Can someone please tell me how often does the Latest Additions page refresh?
>
> Thanks,
> Mike Street
> IDIS, UIT, York University
> Toronto, Ontario, Canada
> www.yorku.ca
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Notification of embargo release?
- From: "Sheppard, Nick" <N.E.Sheppard@leedsbeckett.ac.uk>
- Re: [EP-tech] Notification of embargo release?
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] How often does the Latest Additions page refresh?
- From: Michael Street <mstreet@yorku.ca>
- Re: [EP-tech] How often does the Latest Additions page refresh?
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] How often does the Latest Additions page refresh?
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] How often does the Latest Additions page refresh?
- From: Michael Street <mstreet@yorku.ca>
- [EP-tech] Notification of embargo release?
- Prev by Date: Re: [EP-tech] How often does the Latest Additions page refresh?
- Next by Date: [EP-tech] How to customize creators_name in citations
- Previous by thread: Re: [EP-tech] How often does the Latest Additions page refresh?
- Next by thread: Re: [EP-tech] Notification of embargo release?
- Index(es):
