EPrints 2.2 Documentation - generate_views command |
generate_views - Generate static browse pages for an EPrint archive
generate_views archiveid [options]
This script renders static ``browse views'' for an EPrint Archive.
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 archives, 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.
This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.
EPrints Version: 2.2
For more information goto http://www.eprints.org/ which give information on mailing lists and the like.
Chris Gutteridge may be contacted at support@eprints.org
Should you need a real world address for some reason, EPrints can be contacted in the real world at
EPrints c/o Christopher Gutteridge Department of Electronics and Computer Science University of Southampton SO17 1BJ United Kingdom
This file is part of EPrints 2.
Copyright (c) 2000,2001,2002 University of Southampton, UK. SO17 1BJ.
EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
EPrints 2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
EPrints 2.2 Documentation - generate_views command |