Contribute: Plugins/ImportPluginsCSV

From EPrints Documentation
Revision as of 13:33, 14 September 2007 by Tom (talk | contribs) (Before You Start)
Jump to: navigation, search

Import Plugin Tutorial 1: CSV

Before You Start

It is sensible to separate the plugins you create for EPrints from those included with it. Create a directory for your import plugins in the main plugin directory (usually /opt/eprints3/perl_lib/EPrints/Plugin/import) for example /opt/eprints3/perl_lib/EPrints/Plugin/import/MyPlugins.

To prepare for this tutorial you should install the Text::CSV module. The following command as root, or using sudo should work.

cpan Text::CSV

CSV.pm