<div dir="ltr">There is an other strange thing.<div>Even if i made a voluntary error in: <a href="https://github.com/orazionelson/openaire-compliance/blob/master/cfg/plugins/EPrints/Plugin/Export/DC_Ext.pm#L20" rel="noreferrer" target="_blank" style="font-size:12.8px">https://github.com/<wbr>orazionelson/openaire-<wbr>compliance/blob/master/cfg/<wbr>plugins/EPrints/Plugin/Export/<wbr>DC_Ext.pm</a> </div><div><br></div><div>e.g. comment the if statement on line 20:</div><div>#<span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">if</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)">( </span><span class="gmail-pl-smi" style="box-sizing:border-box;color:rgb(51,51,51);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">$eprint</span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">-&gt;</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)">exists_and_set( </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span>eu_project<span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"> ) &amp;&amp; </span><span class="gmail-pl-smi" style="box-sizing:border-box;color:rgb(51,51,51);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">$eprint</span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">-&gt;</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)">get_value( </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span>eu_project<span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"> ) </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,134,179);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre">eq</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"> </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span>yes<span class="gmail-pl-pds" style="box-sizing:border-box">&quot;</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"> )</span></div><br>and I do NOT comment its closing bracket on line 58<div><br></div><div>I don&#39;t receive any error message on screen: where do I have to look to read errors?</div><div><br></div><div>Thanks,</div><div>Alfredo</div><div><br><div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;white-space:pre;background-color:rgb(248,238,199)"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-21 22:41 GMT+01:00 Alfredo Cosco <span dir="ltr">&lt;<a href="mailto:alfredo.cosco@gmail.com" target="_blank">alfredo.cosco@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Hello,<div>It was one of my first doubts.</div><div>I tried to comment the IF statement + reload configuration + restart apache</div><div><br></div><div>nothing happens :|</div><div><br></div><div>thanks,</div><div>Alfredo</div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2017-03-21 20:19 GMT+01:00 Alen Vodopijevec <span dir="ltr">&lt;<a href="mailto:alen@irb.hr" target="_blank">alen@irb.hr</a>&gt;</span>:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
Are sure that this IF statment passes?<br>
<a href="https://github.com/orazionelson/openaire-compliance/blob/master/cfg/plugins/EPrints/Plugin/Export/DC_Ext.pm#L20" rel="noreferrer" target="_blank">https://github.com/orazionelso<wbr>n/openaire-compliance/blob/<wbr>master/cfg/plugins/EPrints/<wbr>Plugin/Export/DC_Ext.pm#L20</a><br>
<br>
We are OpenAIRE 3.0 compliant and I will publish the code tomorrow. It&#39;s<br>
a bit different solution but you will be able to compare the output part.<br>
<br>
Best,<br>
Alen<br>
<div><div class="m_1140670148267298380h5"><br>
<br>
On 03/21/2017 05:56 PM, Alfredo Cosco wrote:<br>
&gt; Hi All,<br>
&gt; my organization asked me to implement OpenAire plugin:<br>
&gt;<br>
&gt; <a href="https://github.com/eprintsug/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/eprintsug/o<wbr>penaire-compliance</a><br>
&gt;<br>
&gt; then they asked me:<br>
&gt; 1) to upgrade the compliance to the level 2.0 or 3.0 of OpenAire Guidelines<br>
&gt; see:<br>
&gt; <a href="https://guidelines.openaire.eu/en/latest/index.html" rel="noreferrer" target="_blank">https://guidelines.openaire.eu<wbr>/en/latest/index.html</a><br>
&gt;<br>
&gt; 2) to have a more user friendly interface<br>
&gt;<br>
&gt; So I forked the github repo and did it:<br>
&gt;<br>
&gt; <a href="https://github.com/orazionelson/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/orazionelso<wbr>n/openaire-compliance</a><br>
&gt;<br>
&gt; But there is a problem, everything works fine except the OAI push.<br>
&gt;<br>
&gt; I made a test archive with one record, as you can see there are the<br>
&gt; metadata for EU Projects:<br>
&gt;<br>
&gt; <a href="http://www.fedoaempty.unina.it/1/" rel="noreferrer" target="_blank">http://www.fedoaempty.unina.it<wbr>/1/</a><br>
&gt;<br>
&gt; But if you look at OAI-PMH file EU Projects metadata are not displayed:<br>
&gt;<br>
&gt; <a href="http://www.fedoaempty.unina.it/cgi/oai2?verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=openaire" rel="noreferrer" target="_blank">http://www.fedoaempty.unina.it<wbr>/cgi/oai2?verb=ListRecords&amp;met<wbr>adataPrefix=oai_dc&amp;set=openair<wbr>e</a><br>
&gt;<br>
&gt; It seems that:<br>
&gt; cfg/plugins/EPrints/Plugin/Exp<wbr>ort/DC_Ext.pm<br>
&gt;<br>
&gt; doesn&#39;t work ... but I don&#39;t know why and how to debug it.<br>
&gt;<br>
&gt; any help is appreciated, thanks,<br>
&gt; Alfredo<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ----------------------------- Upozorenje -----------------------------<br>
&gt;<br>
&gt; Automatskom detekcijom utvrdjeno je da tekst ove poruke<br>
&gt; podsjeca na tzv. phishing poruku.<br>
&gt;<br>
&gt; AKO SE U PORUCI TRAZI DA POSALJETE VASU IRB LOZINKU ILI<br>
&gt; DA UNESETE IRB PODATKE NA NAVEDENOM LINKU, RADI SE O<br>
&gt; NAPADU S CILJEM KRADJE I ZLOUPOTREBE PODATAKA.<br>
&gt;<br>
&gt; Centar za informatiku i racunarstvo,<br>
&gt; Institut Rudjer Boskovic<br>
&gt;<br>
&gt; ----------------------------- Upozorenje -----------------------------<br>
&gt;<br>
&gt;<br>
&gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk<wbr>/mailman/listinfo/eprints-tech</a><br>
&gt; *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.ph<wbr>p/</a><br>
&gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
&gt; *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
&gt;<br>
<br>
--<br>
Alen Vodopijevec<br>
<br>
Odsjek za informacijske tehnologije<br>
Centar za znanstvene informacije<br>
Institut Ruđer Bošković<br>
------------------------------<wbr>------------------<br>
IT Section<br>
Centre for Scientific Information<br>
Rudjer Boskovic Institute<br>
------------------------------<wbr>------------------<br>
Addr: Bijenicka cesta 54, Zagreb, HR<br>
Email: <a href="mailto:alen@irb.hr" target="_blank">alen@irb.hr</a><br>
Web: <a href="http://www.lib.irb.hr" rel="noreferrer" target="_blank">www.lib.irb.hr</a> | <a href="http://www.irb.hr" rel="noreferrer" target="_blank">www.irb.hr</a><br>
Tel: <a href="tel:%2B%20385%201%204560%20929%2C%20x1243" value="+38514560929" target="_blank">+ 385 1 4560 929, x1243</a><br>
Mob: <a href="tel:%2B%20385%2098%20584%20045" value="+38598584045" target="_blank">+ 385 98 584 045</a><br>
<br>
Skype: vodopijevec<br>
GTalk: alen.vodopijevec<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk<wbr>/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.ph<wbr>p/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
</blockquote></div></div></div><br></div>
<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br></div>