Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Web Interface
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Manual]] The archive website can be split into four sections static, dynamic, views and abstracts. Each type of page is generated in a different way. When you change the style and want to relfect that change in the site you need to know how to get eprints to update the part of the site in question. Static Pages These are pages which do not change. They are built by the "generate_static" command which copies files from the directories /opt/eprints2/archives/myid/cfg/static/general/ and /opt/eprints2/archives/myid/cfg/static/en/ into the live website directory /opt/eprints2/archives/html/en The "en" indicates english language files. The /general/ contains non-language specific files like icons and the style sheet. Files in the cfg/static/en with the suffix .xpage are XML files containing only the contents of the page. Rather than just copy these, generate_static applies the site template to these and renames them to .html in the website dir. Dynamic Pages Everything on the website which starts with /perl/, such as the latest deposits page, all the submission pages and the search pages. These pages are created by mod_perl. The mod_perl part of eprints (the web server) only loads the config files once when you start apache. To force the webserver to reload the configuration, either stop and start it, or run "force_config_reload" (although this is inefficient, it's handy if you're making lots of little changes. "View" Pages Everything on the website which starts with /view/ These are the browse-by-subject, browse-by-year etc, pages. They are built by the script "generate_views" either on the command line or as an automated cron job. "Abstract" Pages The pages which describe a record. eg. http://eprints.soton.ac.uk/44/ These are generated by the webserver part of eprints (see dynamic pages, above) but can be generated on the command line using generate_abstracts.
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)