EPrints 2.3 Documentation - generate_views command



NAME

generate_views - Generate static browse pages for an EPrint repository


SYNOPSIS

generate_views repository_id [options]


DESCRIPTION

This script renders static ``browse views'' for an EPrint repository.

What this does is generate browse pages for each field configured as browsable in ArchiveConfig.pm. It creates a static web page for each value of that field, and index pages to navigate to them.

For example, if we make ``year'' browseable then this script will generate one page for each unique value of the year field. So a user can then view the 1995 page and see links to all the 1995 eprints.

Advantages of this are that this puts less load on the database than user searches. Assuming you pick two or three sensible fields to make browsable.

This script should be run every hour or so, but that should once a day or even once a week on large repositories, as the more eprints the longer it will take to run. The rough length of time to run this is of the order of O( languages * eprints * browsable fields ). You can automate running this with the cron system.


ARGUMENTS

repository_id

The ID of the eprint repository to use.


OPTIONS

--help

Print a brief help message and exit.

--man

Print the full manual page and then exit.

--quiet

Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose

Explain in detail what is going on. May be repeated for greater effect.

--version

Output version information and exit.

 EPrints 2.3 Documentation - generate_views command