Difference between revisions of "Getting Started with EPrints 3"

From EPrints Documentation
Jump to: navigation, search
m (Removed graffiti/spam.)
m
Line 1: Line 1:
==Creating an Archive==
+
[http://chaba.info/batteria-ipod/ batteria ipod] [http://ustall.org/web/ds-flash.htm d70s flash nikon] [http://psisemiya.com/images/small/shout/ shout] [http://davte.info/library/html/fiat-stilo.htm fiat stilo jtd sw] [http://bloprofeldi.info/lib/massawa.htm massawa] [http://psisemiya.com/images/small/download-nikotini/ download nikotini] [http://helmed.info/topic/mature-con/ mature con ragazzi] [http://ustall.org/web/non-piangere.htm non piangere stasera] [http://psisemiya.com/images/small/stilo-per/ stilo per qtek] [http://chaba.info/los-suaves/ los suaves] [http://amohseni.info/img/styles/www-super/ www super porno xxx it] [http://saibso.org/america-live.htm america live] [http://ustall.org/web/testamento-di.htm testamento di tito] [http://davte.info/library/html/charter-barca.htm charter barca] [http://chaba.info/clarins-lift/ clarins lift minceur] [http://psisemiya.com/images/small/fiat-marea/ fiat marea 125 td] [http://ustall.org/web/famiglie-nobili.htm famiglie nobili di acireale] [http://davte.info/library/html/sfratto-per.htm sfratto per morosita] [http://ustall.org/web/www-comin.htm www comin com] [http://amohseni.info/img/styles/masterizzatore-mac/ masterizzatore mac esterno] [http://kinunia.cn/casse-acustiche.htm casse acustiche infinity primus] [http://psisemiya.com/images/small/plasma-/ plasma 42 1600x1200] [http://psisemiya.com/images/small/frasi-di/ frasi di buon compleanno] [http://bloprofeldi.info/lib/sacco-a.htm sacco a pelo a tre piazze] [http://ashythro.info/library/html/portatile-fujitsu/ portatile fujitsu siemens amilo] [http://nobinters.org/kodak-dx.htm kodak dx7630 easyshare 6 1 megapixel] [http://kinunia.cn/inor-srl.htm in-or s.r.l.] [http://saibso.org/giardinieri.htm giardinieri] [http://kinunia.cn/fas-ping.htm fas ping pong] [http://ashythro.info/library/html/samsung-/ samsung 80 gb] [http://saibso.org/no-we.htm no we are free] [http://kinunia.cn/soluzione-logistica.htm soluzione logistica] [http://ashythro.info/library/html/gestore-telefonia/ gestore telefonia fissa] [http://chaba.info/frigorifero-/ frigorifero 150 l] [http://kinunia.cn/palla-avvelenata.htm palla avvelenata] [http://kinunia.cn/pocket-kingdom.htm pocket kingdom] [http://chaba.info/fine-pix/ fine pix s7000] [http://nobinters.org/l-avventura.htm l avventura magica] [http://kinunia.cn/lettore-mp.htm lettore mp3 con altoparlante] [http://bloprofeldi.info/lib/kuypers-karel.htm kuypers, karel] [http://ustall.org/web/incontri-friuli.htm incontri friuli] [http://ustall.org/web/trasferimento-a.htm trasferimento a caldo] [http://amohseni.info/img/styles/acer-notebook/ acer notebook amd] [http://ashythro.info/library/html/assasini/ assasini] [http://amohseni.info/img/styles/daimler-gottlieb/ daimler, gottlieb] [http://ustall.org/web/afs-dx.htm af-s dx zoom-nikkor 18-70mm] [http://helmed.info/topic/mariadefilippi-it/ mariadefilippi it amici] [http://helmed.info/topic/radio-dee/ radio dee jay] [http://ustall.org/web/carolina-desnuda.htm carolina desnuda su visto] [http://davte.info/library/html/monitor-samsung.htm monitor samsung lcd 17 710mp] [http://saibso.org/bmw.htm bmw 525] [http://kinunia.cn/webcam-con.htm webcam con microfono incorporato] [http://ustall.org/web/lavastoviglie-larghezza.htm lavastoviglie larghezza 50] [http://kinunia.cn/dcrhc-sony.htm dcr-hc40 sony] [http://davte.info/library/html/fiat-scudo.htm fiat scudo jtd] [http://ustall.org/web/volo-abbiategrasso.htm volo abbiategrasso] [http://nobinters.org/nervio-trigemino.htm nervio trigemino] [http://nobinters.org/windows-mobile.htm windows mobile 2003 pocket pc gps] [http://psisemiya.com/images/small/anziane-e/ anziane e ditalini] [http://chaba.info/panico-a/ panico a echo park] [http://chaba.info/irc-napolo/ irc napolo chat] [http://psisemiya.com/images/small/telecomando-universale/ telecomando universale samsung] [http://nobinters.org/crack-aatools.htm crack aatools] [http://helmed.info/topic/cradle-acer/ cradle acer] [http://nobinters.org/alexandra-streap.htm alexandra streap poker] [http://nobinters.org/hely-.htm hely  attac] [http://davte.info/library/html/duca-enrico.htm duca enrico] [http://chaba.info/visiondtv-sat/ visiondtv sat] [http://bloprofeldi.info/lib/american-graffiti.htm american graffiti 2] [http://helmed.info/topic/cd-musicali/ cd musicali renato zero] [http://helmed.info/topic/cinema-di/ cinema di avellino] [http://nobinters.org/thalia-nude.htm thalia nude] [http://bloprofeldi.info/lib/estados-unidos.htm estados unidos] [http://nobinters.org/i-ll.htm i ll fly with you tanzen remix] [http://bloprofeldi.info/lib/cuore-di.htm cuore di campione] [http://kinunia.cn/mehsana.htm mehsana] [http://ustall.org/web/msi.htm msi] [http://bloprofeldi.info/lib/stampante-laser.htm stampante laser hp colori] [http://bloprofeldi.info/lib/parodontopatie.htm parodontopatie] [http://amohseni.info/img/styles/sterilizzatore-a/ sterilizzatore a vapore per biberon] [http://saibso.org/star-ocean.htm star ocean till the end of time] [http://nobinters.org/ety.htm ety] [http://saibso.org/lg-lcd.htm lg lcd 32 rz-32lz50] [http://davte.info/library/html/il-casco.htm il casco salva la vita] [http://nobinters.org/vino-falanghina.htm vino falanghina] [http://amohseni.info/img/styles/www-cowlist/ www cowlist com] [http://ustall.org/web/bartolomeo-della.htm bartolomeo della gatta] [http://davte.info/library/html/clockwise.htm clockwise] [http://davte.info/library/html/britnei.htm britnei] [http://kinunia.cn/indesit-witl.htm indesit witl 86] [http://saibso.org/tose.htm tose] [http://helmed.info/topic/antenna-digitale/ antenna digitale] [http://nobinters.org/montale-il.htm montale il fascismo] [http://ustall.org/web/liceo-scientifico.htm liceo scientifico primo levi] [http://kinunia.cn/sindacato-del.htm sindacato del lavoro] [http://psisemiya.com/images/small/lindalovelace/ lindalovelace] [http://helmed.info/topic/concessionario-audi/ concessionario audi milano] [http://ustall.org/web/storie-vere.htm storie vere] [http://ustall.org/web/xdpicture-card.htm xd-picture card 512 mb] [http://bloprofeldi.info/lib/install-institut.htm install institut] [http://nobinters.org/benni-satisfaction.htm benni satisfaction] [http://bloprofeldi.info/lib/rv-insurance.htm rv insurance] [http://chaba.info/crack-registry/ crack registry repair pro] [http://psisemiya.com/images/small/serenata-amara/ serenata amara] [http://ashythro.info/library/html/bersaglio-eccellente/ bersaglio eccellente] [http://chaba.info/the-rock/ the rock protagonista di doom] [http://nobinters.org/citroen-c.htm citroen c4 hdi] [http://ustall.org/web/croacia.htm croacia] [http://ustall.org/web/brazil.htm brazil] [http://psisemiya.com/images/small/meg-ryan/ meg ryan nuda] [http://bloprofeldi.info/lib/t-batteria.htm t10 batteria ericsson] [http://ustall.org/web/psone.htm psone] [http://ustall.org/web/salemme.htm salemme] [http://helmed.info/topic/mis-read/ mis read] [http://helmed.info/topic/maxtor-maxline/ maxtor maxline ii plus sata] [http://helmed.info/topic/canon-lbp/ canon lbp-5200 stampante laser lbp5200] [http://chaba.info/republica-del/ republica del peru] [http://amohseni.info/img/styles/monitor-tft/ monitor tft nero] [http://saibso.org/queer-folk.htm queer folk] [http://helmed.info/topic/forno-a/ forno a micro onde samsung] [http://kinunia.cn/dvd-vergini.htm dvd vergini vendita] [http://ustall.org/web/via-margutta.htm via margutta] [http://amohseni.info/img/styles/department-of/ department of public instruction in wi] [http://nobinters.org/pro-evolution.htm pro evolution soccer 4 scontato a fine mese] [http://saibso.org/comunita-di.htm comunita di farneta] [http://kinunia.cn/trivellazioni.htm trivellazioni] [http://bloprofeldi.info/lib/body-detoxification.htm body detoxification via an ionizing footbath] [http://ustall.org/web/mischka.htm mischka] [http://davte.info/library/html/galleria-immagini.htm galleria immagini] [http://helmed.info/topic/midi-canzoni/ midi canzoni napoletane] [http://nobinters.org/boogieman.htm boogieman] [http://kinunia.cn/pod.htm pod] [http://saibso.org/cd-zappa.htm cd zappa] [http://kinunia.cn/britney-spears.htm britney spears nude] [http://saibso.org/donne-bocchinare.htm donne bocchinare] [http://kinunia.cn/nike-air.htm nike air terra] [http://helmed.info/topic/gli-anni/ gli anni 96] [http://kinunia.cn/paperino-operazione.htm paperino operazione] [http://kinunia.cn/casio-exilim.htm casio exilim ex- z750] [http://davte.info/library/html/genero-suocera.htm genero suocera] [http://davte.info/library/html/la-cosa.htm la cosa da un altro mondo. special edition] [http://kinunia.cn/piedi-nudi.htm piedi nudi femminili] [http://helmed.info/topic/winap-ghost/ winap ghost] [http://amohseni.info/img/styles/battagli-aerea/ battagli aerea] [http://helmed.info/topic/mortal-kombat/ mortal kombat trilogy] [http://davte.info/library/html/autocad-upgrade.htm autocad upgrade] [http://chaba.info/cp/ cp 45] [http://helmed.info/topic/lcd-samsung/ lcd samsung le 26r51b] [http://davte.info/library/html/il-trailer.htm il trailer e3 di final fantasy advent children] [http://chaba.info/proview-lcd/ proview lcd] [http://kinunia.cn/scanner-siemens.htm scanner siemens] [http://ashythro.info/library/html/lobo-torna/ lobo torna nei videogiochi] [http://psisemiya.com/images/small/la-passione/ la passione org] [http://chaba.info/ssangyong-rexton/ ssangyong rexton] [http://ustall.org/web/these-words.htm these words natasha bedingfield] [http://bloprofeldi.info/lib/stampante-laser.htm stampante laser canon] [http://helmed.info/topic/espresso-polare/ espresso polare in arrivo] [http://davte.info/library/html/mondo-wrestling.htm mondo wrestling it] [http://kinunia.cn/sientelo-speedy.htm sientelo speedy feat lumidee] [http://ustall.org/web/peugeot-.htm peugeot 205 cabrio] [http://davte.info/library/html/mmc-.htm mmc 512 nokia 6630] [http://chaba.info/bubbles-trouble/ bubbles trouble 2] [http://nobinters.org/agriturismo-carrara.htm agriturismo carrara] [http://bloprofeldi.info/lib/maddalena-crippa.htm maddalena crippa] [http://davte.info/library/html/servizi-di.htm servizi di posizionamento sui motore di ricerca] [http://psisemiya.com/images/small/concerto-di/ concerto di capodanno a vienna 2001] [http://helmed.info/topic/trucchi-gta/ trucchi gta san andres ps2] [http://chaba.info/claudia-de/ claudia de falco] [http://ustall.org/web/la-tasha.htm la tasha marzolla] [http://psisemiya.com/images/small/inni-e/ inni e marce] [http://saibso.org/mercedes-classe.htm mercedes classe a istruzione uso it] [http://davte.info/library/html/jamo-dvr.htm jamo dvr 50] [http://bloprofeldi.info/lib/http-www.htm http www virgillio com] [http://helmed.info/topic/accessori-nikon/ accessori nikon caricabatteria] [http://chaba.info/www-bramkasms/ www bramkasms pl] [http://nobinters.org/sims-cuccioli.htm sims cuccioli che passione pc] [http://kinunia.cn/film-dvd.htm film dvd cristian de sica] [http://amohseni.info/img/styles/videogiochi/ videogiochi] [http://ustall.org/web/dibi.htm dibi] [http://amohseni.info/img/styles/porsche-/ porsche 996 4s nero] [http://helmed.info/topic/appartamento-vacanza/ appartamento vacanza ferrara] [http://helmed.info/topic/panasonic-hz/ panasonic 100hz] [http://chaba.info/vasco-rossi/ vasco rossi copertine] [http://bloprofeldi.info/lib/disegni-di.htm disegni di dei] [http://nobinters.org/creative-zen.htm creative zen micro 6gb bianco] [http://chaba.info/cartoline-net/ cartoline net] [http://davte.info/library/html/waddenzee.htm waddenzee] [http://bloprofeldi.info/lib/seat-arosa.htm seat arosa 1998] [http://bloprofeldi.info/lib/smashing.htm smashing] [http://davte.info/library/html/caterina-sylos.htm caterina sylos labini] [http://helmed.info/topic/calcio-lotto/ calcio lotto] [http://kinunia.cn/abit-ai.htm abit ai7] [http://nobinters.org/jak-e.htm jak e daxter ps2] [http://davte.info/library/html/diddlemania.htm diddlemania] [http://ustall.org/web/ricevitore-stereo.htm ricevitore stereo bluetooth] [http://ustall.org/web/navigatore-satellitare.htm navigatore satellitare palmare tomtom] [http://ustall.org/web/nelson-tavarez.htm nelson tavarez] [http://nobinters.org/tvc-lcd.htm tvc lcd 17] [http://nobinters.org/xdpicture-card.htm xd-picture card 512mb] [http://chaba.info/qualcosa-che/ qualcosa che scotta] ==Creating an Archive==
  
 
EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts.
 
EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts.

Revision as of 06:43, 17 August 2007

batteria ipod d70s flash nikon shout fiat stilo jtd sw massawa download nikotini mature con ragazzi non piangere stasera stilo per qtek los suaves www super porno xxx it america live testamento di tito charter barca clarins lift minceur fiat marea 125 td famiglie nobili di acireale sfratto per morosita www comin com masterizzatore mac esterno casse acustiche infinity primus plasma 42 1600x1200 frasi di buon compleanno sacco a pelo a tre piazze portatile fujitsu siemens amilo kodak dx7630 easyshare 6 1 megapixel in-or s.r.l. giardinieri fas ping pong samsung 80 gb no we are free soluzione logistica gestore telefonia fissa frigorifero 150 l palla avvelenata pocket kingdom fine pix s7000 l avventura magica lettore mp3 con altoparlante kuypers, karel incontri friuli trasferimento a caldo acer notebook amd assasini daimler, gottlieb af-s dx zoom-nikkor 18-70mm mariadefilippi it amici radio dee jay carolina desnuda su visto monitor samsung lcd 17 710mp bmw 525 webcam con microfono incorporato lavastoviglie larghezza 50 dcr-hc40 sony fiat scudo jtd volo abbiategrasso nervio trigemino windows mobile 2003 pocket pc gps anziane e ditalini panico a echo park irc napolo chat telecomando universale samsung crack aatools cradle acer alexandra streap poker hely attac duca enrico visiondtv sat american graffiti 2 cd musicali renato zero cinema di avellino thalia nude estados unidos i ll fly with you tanzen remix cuore di campione mehsana msi stampante laser hp colori parodontopatie sterilizzatore a vapore per biberon star ocean till the end of time ety lg lcd 32 rz-32lz50 il casco salva la vita vino falanghina www cowlist com bartolomeo della gatta clockwise britnei indesit witl 86 tose antenna digitale montale il fascismo liceo scientifico primo levi sindacato del lavoro lindalovelace concessionario audi milano storie vere xd-picture card 512 mb install institut benni satisfaction rv insurance crack registry repair pro serenata amara bersaglio eccellente the rock protagonista di doom citroen c4 hdi croacia brazil meg ryan nuda t10 batteria ericsson psone salemme mis read maxtor maxline ii plus sata canon lbp-5200 stampante laser lbp5200 republica del peru monitor tft nero queer folk forno a micro onde samsung dvd vergini vendita via margutta department of public instruction in wi pro evolution soccer 4 scontato a fine mese comunita di farneta trivellazioni body detoxification via an ionizing footbath mischka galleria immagini midi canzoni napoletane boogieman pod cd zappa britney spears nude donne bocchinare nike air terra gli anni 96 paperino operazione casio exilim ex- z750 genero suocera la cosa da un altro mondo. special edition piedi nudi femminili winap ghost battagli aerea mortal kombat trilogy autocad upgrade cp 45 lcd samsung le 26r51b il trailer e3 di final fantasy advent children proview lcd scanner siemens lobo torna nei videogiochi la passione org ssangyong rexton these words natasha bedingfield stampante laser canon espresso polare in arrivo mondo wrestling it sientelo speedy feat lumidee peugeot 205 cabrio mmc 512 nokia 6630 bubbles trouble 2 agriturismo carrara maddalena crippa servizi di posizionamento sui motore di ricerca concerto di capodanno a vienna 2001 trucchi gta san andres ps2 claudia de falco la tasha marzolla inni e marce mercedes classe a istruzione uso it jamo dvr 50 http www virgillio com accessori nikon caricabatteria www bramkasms pl sims cuccioli che passione pc film dvd cristian de sica videogiochi dibi porsche 996 4s nero appartamento vacanza ferrara panasonic 100hz vasco rossi copertine disegni di dei creative zen micro 6gb bianco cartoline net waddenzee seat arosa 1998 smashing caterina sylos labini calcio lotto abit ai7 jak e daxter ps2 diddlemania ricevitore stereo bluetooth navigatore satellitare palmare tomtom nelson tavarez tvc lcd 17 xd-picture card 512mb qualcosa che scotta ==Creating an Archive==

EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts.

Running epadmin

Make sure MySQL is actually running.

Change to your eprints user (probably "eprints").

Change directory to the eprints directory (/opt/eprints3 by default) and run

bin/epadmin create

You will get the following prompts (note that when you see something in [square brackets], it's the default value and can be selected by simply hitting enter)

  • Archive ID - the system name for your archive. It's probably a good idea to think of something short and memorable. Once entered, an archive/<archive_id> directory will be created, and the standard configuration files will be copied in.
  • Configure vital settings - Hit enter to say 'yes'. This will lead to more prompting about core settings:
    • Hostname - What someone will type into a web browser to get to your archive. Make sure that your systems team have a DNS alias pointing to your server for this.
    • Webserver Port - Which port to you want to serve the archive on? The default is 80, so unless you can think of a good reason not to, just hit enter to accept the default.
    • Alias - You can enter any number of aliases that will take users to this archive. Enter a '#' when you don't want to enter any more. You could have your archive served on eprints.myorganisation.org and eprints.myorg.org. As with the Hostname, your systems team need to be informed about these aliases too.
    • Administrator Email - Enter the email address of the repository administrator. This will allow your repository users to send email to the right person.
    • Archive Name - The full name of your archive. By default, this will be used on many of the pages, and in the title bar of the browser.
    • Write these core settings - If you don't say 'yes', then you entered all that data for nothing.
  • Configure database - EPrints makes extensive use of a MySQL database. Enter 'yes' to configure this.
    • Database Name - The internal name of your database. It makes sense to use the Archive ID for this, but you don't have to. You don't need to create this database, epadmin will do it for you.
    • MySQL Host - The address of the server that the database is running on. If the database is on the same machine as the EPrints installation, enter 'localhost'.
    • MySQL Port - You probably don't need to enter a value. If you have problems connecting to the database, talk to your systems team.
    • MySQL Socket - As with MySQL Port, it's unlikely that you need to enter anything.
    • Database User - The username with which to log into the MySQL Database. You don't need to create this user, epadmin will do it for you. If you enter a MySQL username that already exists, it will be overwritten by epstats.
    • Database Password - The password for the Database User.
    • Write these database settings - You should write them, or you'll lose them.
    • Create database <Database Name> - Say yes, and epadmin can create the database and populate it with all the right tables. If you've already created a database and a user for this archive, say no.
    • MySQL Root Password - To create the database and the user, epadmin needs the MySQL Root Password. This is not saved anywhere. It is used to log into mysql, create the database and create the user with the right access rights. The password is then forgotten.
    • Create database tables - say yes to have epadmin create all the database tables.
  • Create an initial user - It's a good idea to create a user account for yourself at this point.
    • Enter a username - The username you will use to log into EPrints in your browser.
    • Select a user type (user|editor|admin) - There are three levels of user in EPrints. You probably want to be an administrator, so enter 'admin'.
    • Enter Password - A password for this user. Remember to choose a password that will be hard for someone else to guess.
    • Email - Enter your email address so that administrators can get in contact with you.
    • Do you want to build the static web pages - There are a number of pages in EPrints which change very rarely. These are the static pages. The Home page and the About page are examples of static pages. Stylesheets are also static. These pages need to be built, so say 'yes'.
    • Do you want to import the LOC subjects - If you will be using the Library Of Congress subject hierarchy, say 'yes'. Otherwise you will need to create your own subject hierarchy.
  • Do you want to update the apache config files? (you still need to add the 'Include' line) - Your archive has a number of files which it uses to configure the web server. These should be updated, so say 'yes'.
  • Before exiting, epadmin will display information about configuring the webserver.

Open a browser, and enter the hostname in the address bar. You should see your new archive, ready to be branded.

If you want to add some more users, use the command epadmin add_user <repository id>

Modifying the Default

The default document types and metadata in have been optimised for a repository of research output. It is up to you if this is sufficient. Adding new document types and modifying the metadata are discussed elsewhere.

Running a Live Archive

Creating a crontab

When you create an archive it will start out as a development system while you learn how to set it up (and your manager keeps changing his mind) but at some point (hopefully) you will declare your archive open for business.

At this point you should schedule certain scripts to run periodically. The best way to do this is to use "cron" which is an integral part of most UNIX systems.

To set up cron, run (as the eprints user):

% crontab -e

Exactly what to add to the cron table is described in the following sections - "Browse Views" and "Subscriptions".

There should be one set of crontab entries per archive.

Backups

You should also have made sure that the system is being properly backed up. This is gone into in more detail elsewhere in the documentation.

OAI

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 oai.pl file, in the eprints3/archives/<archive id>/cfg/cfg.d/ directory. This is a perl file, but don't let that daunt you. Some of the settings are set to sensible defaults. This guide cover 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:

The archive ID. 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.

Content Description. 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 must not contain the word "END" at the start of a line.

Policies 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 Content Description 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.

Browse Views

Once every so often you should run the generate_views script on each archive in your system to regenerate the browse views section of the site.

This is a set of static pages. By default one per subject, and one per year (only years with papers in that year not EVERY year ever!). Some users prefer to browse the system than search it. This also gives search engines a way to reach, and index, the abstract pages.

See the views.pl config notes on how to edit the views it generates.

But I don't want this feature...

If you don't want to use this feature: don't, it's your archive. Remove the link from the template and front page. Don't run the generate_views script.

Setting it up

This is best done by using the UNIX "cron" command (as user "eprints"). Cron will email "eprints" on that machine with the output, so best use the --quiet option so it only bothers you with errors.

How often you want to run this depends on the size of your archive, and how fast the contents changes. This feature is roughly order "n". Which means if you double the number of items in your archive then you double the time it takes to run (ish).

Once an hour would seem a good starting point. If your archive gets real big, say more than 10000 records, then maybe once a day is more realistic - the one thing that you don't want to happen is for a new generate_views to start before the old one finishes as they will mess up each others output.

Run generate_views on the command line to find out how long it takes.

and add the line

23 * * * * /opt/eprints3/bin/generate_views <archiveid>

This runs at 23 minutes past each hour. If you have more than one archive, don't make them all start rebuilding stuff at the same time, stagger it. Otherwise once an hour everything will slow down as it fights to run several intensive scripts at once.

See the crontab man page for more information on using cron.

>man 5 crontab

Alerts

Alerts provide a way in which users of your system can receive regular updates, via email, when new items are added which match a search they specified.

To automate sending out these alerts you must add some entries in the crontab (as for views). You need one set of these per archive.

For example (with dookuprints being the name of the archive):

   # 00:15 every morning
   15 0 * * * /opt/eprints2/bin/send_alerts dookuprints daily
   # 00:30 every sunday morning
   30 0 * * 0 /opt/eprints2/bin/send_alerts dookuprints weekly
   # 00:45 every first of the month
   45 0 1 * * /opt/eprints2/bin/send_alerts dookuprints monthly

Note the spacing out so that all 3 don't start at once and hammer the database. You may wish to change the times, but we recommend early morning as the best time to send them (midnight-6am).