Difference between revisions of "API"

From EPrints Documentation
Jump to: navigation, search
Line 11: Line 11:
 
We've broken the API down by subject, rather than by library or object. We hope this will make the reference more useful.
 
We've broken the API down by subject, rather than by library or object. We hope this will make the reference more useful.
  
* getting started
+
* [[Core API]]
 
* DataObjects + metafields
 
* DataObjects + metafields
 
* session+repository+config(?)
 
* session+repository+config(?)

Revision as of 17:24, 11 January 2007

Template:Api

EPrints is written in Perl. Sometimes you may need to write your own perl code using the EPrints API.

Reasons to write some EPrints perl code:

  • customising the way the eprints summary pages are rendered
  • writing your own script to control EPrints in some way
  • writing a new CGI script (dynamic web page)
  • writing a plugin

We've broken the API down by subject, rather than by library or object. We hope this will make the reference more useful.

  • Core API
  • DataObjects + metafields
  • session+repository+config(?)
  • Search + List
  • XML DOM, XHTML
  • misc(database, time, utils, platform)
  • metadata fields
  • Plugins
    • Screen (screen processor)

More Information

To get more detailed documentation on an eprints module, you can try using perldoc. Many (but not all) of the subroutines are documented inside the code.

eg.

perldoc /opt/eprints3/perl_lib/EPrints/MetaField.pm