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
Config Options by File
(section)
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!
== M == === [[make_orderkey.pl]] === * '''make_orderkey_ignore_extras''' - Defines a generic function for order keys that removes any not alphanumeric characters (except underscore). * '''make_name_orderkey''' - Defines a function for an order key that order based on <code>family</code> name, then <code>given</code> name and finally <code>honourific</code> of a <code>name</code> type metadata field. (Uses <code>make_orderkey_ignore_extras</code> to remove non-alphanumeric characters). * '''make_title_orderkey''' - Defines a function for an order key that strips out titles that start with a definite or indefinite article (i.e. <code>the</code>, <code>a</code> and <code>an</code>). * '''make_sanitised_value_orderkey''' - Defines a function to sanitise the value for an order key by just applying the generic <code>make_orderkey_ignore_extras</code> function. === [[media_info.pl]] === * '''guess_doc_type''' - Defines a function that tries to determine the type of document (e.g. <code>text</code>, <code>image</code>, <code>audio</code>, <code>video</code>) by evaluating it MIME type or file extension. Also contains four [[Triggers#EP_TRIGGER_MEDIA_INFO|<code>EP_TRIGGER_MEDIA_INFO</code> trigger functions]]. # Tries to set the <code>mime_type</code> metadata field for the document, if it can be determined using GNU's <code>file</code> # If an audio or video file tries to determine values for the following document metadata fields: <code>media_duration, media_audio_codec, media_video_codec, media_width, media_height, media_aspect_ratio</code> # Tries to set the <code>mime_type</code> metadata field for the document, if it can be determined by its file extension (and not already determined by GNU <code>file</code> trigger function. # Tries to set the <code>format</code> metadata field for the document using the <code>guess_doc_type</code> function. === [[mime_types.pl]] === * '''mimemap''' - A hash reference mapping file extension to MIME type. Loaded from <code>EPRINTS_PATH/lib/mime.types</code>. Used by <code>guess_doc_type</code> configuration function and a <code>EP_TRIGGER_MEDIA_INFO</code> trigger function used to determine a document's <code>mime_type</code> metadata field value, if cannot otherwise be determined. === [[misc.pl]] === * '''use_mimetex''' - Use the <code>mimetex.cgi</code> script rather than <code>/cgi/latex2png</code> script for <code>EPrints::Latex::render_string</code>. (Default is <code>0</code>, do not use mimetex.cgi as it is not present by default). * '''cookie_auth''' - Whether to used cookie-based or basic authentication for maintaining user sessions. (Default is <code>1</code> use cookie-based authentication as more modern/secure than basic authentication). * '''skip_buffer''' - Whether deposited eprint items should be moved straight to the live archive or first moved to the review buffer. (Default is <code>0</code>. Items should be first moved to the review buffer). * '''skip_buffer_owners''' - Whether deposited eprint items for specific users, (based on their <code>userid</code> should be moved straight to the live archive or first moved to the review buffer. (Default is an empty array reference. No user's items should be moved straight to the live archive). * '''cookie_domain''' - The domain used for the any EPrints specific cookies, (e.g. <code>eprints_session</code>, <code>secure_eprints_session</code>, <code>eprints_lang</code> etc.). (By default the same as <code>host</code> and/or <code>securehost</code> depending on which is/are set). * '''cookie_auth_set_user''' - Set user in requests to the <code>username</code> of logged in user, so this appears in Apache access logs. (By default <code>0</code>, do not set user in requests). * '''pin_timeout''' - Number of hours before pin for resetting user password expires. (By default <code>24*7</code>, i.e. 7 days). * '''cache_timeout''' - Number of minutes a cache table (of search results) must be unused before it is scheduled for deletion. (By default <code>10</code>, i.e. 10 minutes). * '''cache_maxlife''' - Number of hours a cache table (of search results) can exists before it is scheduled for deletion (unused or otherwise). (By default <code>12</code>, i.e. 12 hours). * '''cache_max''' - Maximum number of persistent cache tables (of search results) that can exist in the repository archive's database. If exceeded, oldest table is deleted. (By default <code>100</code>, i.e. 100 tables). Also commented out[[Triggers#EP_TRIGGER_LOCAL_SITEMAP_URLS|<code>EP_TRIGGER_LOCAL_SITEMAP_URLS</code> trigger function]] which can be used to add extra entries to the repository archive's sitemap file, if you are NOT using the <code>generate_sitemap</code> script to generate the sitemap.
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)