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
Authority Lists
(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!
=== Understanding Complex Authority Files === * An authority file is a set of lines. * Each single line represents one entry in the authority file. An entry consists of: * A lookup string (case insensitive) * A tab * A <nowiki><li>...</li></nowiki> chunk of XHTML The 'file' cgi script will take the fragment that a user has entered and match it to the lookup string. It will return the <nowiki><li></nowiki>. A <nowiki><li></nowiki> contains: * A piece of XHTML to display * A magic list items to insert into the form, inside the XHTML to display. Here is an example from the EPrints Romeo authority file. <pre> African Journal of Agricultural Research <li style='border-right: solid 50px #30FF30' >"African Journal of Agricultural Research" published by "Academic Publishers"<br /><small>(a Green publisher)</small>ISSN: 1991-637X<ul><li id="for:value:component:_publication">African Journal of Agricultural Research</li><li id="for:value:component:_publisher">Academic Publishers</li><li id="for:value:component:_issn">1991-637X</li></ul></li> </pre> The first two parts of this are simple. <pre> * String to Match = African Journal of Agricultural Research * <li> to display = <li style='border-right: solid 50px #30FF30' >"African Journal of Agricultural Research" published by "Academic Publishers"<br /><small>(a Green publisher)</small>ISSN: 1991-637X</li> </pre> The list is a little more complex: <pre> <ul> <li id="for:value:component:_publication">African Journal of Agricultural Research</li> <li id="for:value:component:_publisher">Academic Publishers</li> <li id="for:value:component:_issn">1991-637X</li> </ul> </pre> This contains the values which will be inserted into the 'publication', 'publisher' and 'issn' fields in this component. Note that even though this <nowiki><ul></nowiki> is inside the <nowiki><li></nowiki> which will be displayed, it will not be seen by the user. On [[Understanding_IDs_in_Workflow_Forms|Understanding IDs in Workflow Forms]] a detailed explanation of the ID generation is given.
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)