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
OAI
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:Howto]] [[Category:OpenAccess]] We would also encourage you to configure the OAI support for your archive and register it. ====Configuring==== The setting for OAI are held in the <tt>oai.pl</tt> file, in the <tt>eprints3/archives/<archive id>/cfg/cfg.d/</tt> directory. This is a perl file, but don't let that daunt you. Some of the settings are set to sensible defaults. This guide covers the essentials. Feel free to use your favourite text editor instead of pico. At the command prompt, backup then open the file: >cd /opt/eprints3/archive/<archive id>/cfg/cfg.d >cp oai.pl oai.backup >pico oai.pl The following need to be changed: <strong>The archive ID</strong>. This needs to be unique, so check that it doesn't already exist at http://www.openarchives.org/. Find the following line in oai.pl: $oai->{v2}->{archive_id} = "generic.eprints.org"; And change generic.eprints.org to something which identifies your repository. <strong>Content Description</strong>. What does your repository contain? Write a description, then find the lines: $oai->{content}->{"text"} = latin1( <<END ); OAI Site description has not been configured. END Do not modify the first or last line in any way. Simply put your new text in the place of the middle line. This text can be as many lines as you wish, but it <em>must not</em> contain the word "END" at the start of a line. <strong>Policies</strong> Next you need to define a number of policies which will define how your repository may be used. It may be helpful for you to visit http://www.opendoar.org/tools/en/policies.php, which has a step-by-step process to create these policies. It will even output EPrints 3 configuration code, which you can then copy and paste into the oai.pl file. These policies are: * Metadata Policy * Data Policy * Submission Policy These are updated in exactly the same way as the <strong>Content Description</strong> section. Just look for the following lines: *$oai->{metadata_policy}->{"text"} = latin1( <<END ); *$oai->{data_policy}->{"text"} = latin1( <<END ); *$oai->{submission_policy}->{"text"} = latin1( <<END ); ====Registering==== Once you register your archive (at http://www.openarchives.org) various search systems will be able to collect the metadata (titles, authors, abstract etc.) and allow more people to find records in your archive. See http://www.openarchives.org/ for more information on the OAI protocol. For more information setting up the OAI interface archive see the section in this documentation about Configuring an Archive.
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)