⧼vector-jumptocontent⧽

Contribute: Plugins/ImportPluginsCSV: Difference between revisions

From EPrints Documentation
Tom (talk | contribs)
Starting to document
 
Tom (talk | contribs)
Line 4: Line 4:


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.
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 [http://search.cpan.org/~erangel/Text-CSV/CSV.pm Text::CSV] module. The following command as root, or using sudo should work.
<pre>
cpan Text::CSV
</pre>


= CSV.pm =  
= CSV.pm =  
<pre>
<pre>
</pre>
</pre>

Revision as of 13:33, 14 September 2007

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