RE: [EP-underground] How to add a new format?
"Peter Tass" <[email protected]> Wed, 17 Sep 2003 10:00:08 -0400
| Newsgroups | gmane.comp.web.eprints.general |
|---|---|
| Message-ID | <C6EBE33BC3786A43868AEDB149A2CB7F03F94A@elmer> |
Thanks Mike. It worked, and I found it in the documentation, but I never know, when do I have to run generate_abstracts? What are the changes require running generate_abstracts, generate_static, or restarting the apache server? Peter > -----Original Message----- > From: Mike Gardner [mailto:[email protected]] > Sent: Wednesday, September 17, 2003 4:10 AM > To: [email protected] > Cc: Peter Tass > Subject: Re: [EP-underground] How to add a new format? > > >I need to add a new format to the default HTML,ASCII,PDF,.... Can anyone > >tell me what the procedure is? > > This is covered in the eprints documentation chapter 8.6: > > 8.6 HOW TO: Add a new document type > Add it to metadata-types.xml. This does not need any fields. > Add the name of the document type to the phrase file. > Add a citation for this document to the citations file. > If you want this to be one of the must-have-one-of document types then add > it's id to the list in ArchiveConfig.pm > If you want to do something "clever" on the abstract page then edit the > ArchiveRenderConfig.pm file. If you don't then it will use the citiation > you > created to render it in the list, as with PDF, HTML etc. > > This is also explained in my eprints blog which describes the > configuration of eprints at Nottingham: > http://www.nottingham.ac.uk/~uazmjg/eprints/archives/000041.html > > regards, > mike > > -- > Dr Mike Gardner. http://www.nottingham.ac.uk/~uazmjg/ > Web Developer, Portal Services Section, IT Systems, Information Services. > Mail: Hallward Library, University of Nottingham, Nottingham. NG7 2RD. >