<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi folks,</p>
<p><br>
</p>
<p>I have created a import plugin which uses the eprints/bin/import command</p>
<p><br>
</p>
<p><a href="http://wiki.eprints.org/w/API:bin/import">http://wiki.eprints.org/w/API:bin/import</a><br>
</p>
<p><br>
</p>
<p>and have 2 problems with it.</p>
<p><br>
</p>
<p>1. in the doc it says you can pass arguments to the plugin by</p>
<p><br>
</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --argument key=value</p>
<p><br>
</p>
<p>this doesn't seem to be implemented in version EPrints 3.2.2 (Chocolate Cake)</p>
<p><br>
</p>
<p>2. the return value of the plugin seems to get hidden by the import command. If I test the return value of the import command in a shell script it seems to return success no matter what.</p>
<p><br>
</p>
<p>Is there any other way to pass in parameters to the plugin and any way to get the success/failure of the plugin back out.</p>
<p><br>
</p>
<p>Any thoughts appreciated.</p>
<p><br>
</p>
<p>Thanks,</p>
<p><br>
</p>
<p>Ray.</p>
<p><br>
</p>
</div>
</body>
</html>