<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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">if</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">-></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">"</span>eu_project<span class="gmail-pl-pds" style="box-sizing:border-box">"</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">-></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">"</span>eu_project<span class="gmail-pl-pds" style="box-sizing:border-box">"</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">eq</span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">"</span>yes<span class="gmail-pl-pds" style="box-sizing:border-box">"</span></span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",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'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,"liberation mono",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"><<a href="mailto:alfredo.cosco@gmail.com" target="_blank">alfredo.cosco@gmail.com</a>></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"><<a href="mailto:alen@irb.hr" target="_blank">alen@irb.hr</a>></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'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>
> Hi All,<br>
> my organization asked me to implement OpenAire plugin:<br>
><br>
> <a href="https://github.com/eprintsug/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/eprintsug/o<wbr>penaire-compliance</a><br>
><br>
> then they asked me:<br>
> 1) to upgrade the compliance to the level 2.0 or 3.0 of OpenAire Guidelines<br>
> see:<br>
> <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>
><br>
> 2) to have a more user friendly interface<br>
><br>
> So I forked the github repo and did it:<br>
><br>
> <a href="https://github.com/orazionelson/openaire-compliance" rel="noreferrer" target="_blank">https://github.com/orazionelso<wbr>n/openaire-compliance</a><br>
><br>
> But there is a problem, everything works fine except the OAI push.<br>
><br>
> I made a test archive with one record, as you can see there are the<br>
> metadata for EU Projects:<br>
><br>
> <a href="http://www.fedoaempty.unina.it/1/" rel="noreferrer" target="_blank">http://www.fedoaempty.unina.it<wbr>/1/</a><br>
><br>
> But if you look at OAI-PMH file EU Projects metadata are not displayed:<br>
><br>
> <a href="http://www.fedoaempty.unina.it/cgi/oai2?verb=ListRecords&metadataPrefix=oai_dc&set=openaire" rel="noreferrer" target="_blank">http://www.fedoaempty.unina.it<wbr>/cgi/oai2?verb=ListRecords&met<wbr>adataPrefix=oai_dc&set=openair<wbr>e</a><br>
><br>
> It seems that:<br>
> cfg/plugins/EPrints/Plugin/Exp<wbr>ort/DC_Ext.pm<br>
><br>
> doesn't work ... but I don't know why and how to debug it.<br>
><br>
> any help is appreciated, thanks,<br>
> Alfredo<br>
><br>
><br>
</div></div>> ----------------------------- Upozorenje -----------------------------<br>
><br>
> Automatskom detekcijom utvrdjeno je da tekst ove poruke<br>
> podsjeca na tzv. phishing poruku.<br>
><br>
> AKO SE U PORUCI TRAZI DA POSALJETE VASU IRB LOZINKU ILI<br>
> DA UNESETE IRB PODATKE NA NAVEDENOM LINKU, RADI SE O<br>
> NAPADU S CILJEM KRADJE I ZLOUPOTREBE PODATAKA.<br>
><br>
> Centar za informatiku i racunarstvo,<br>
> Institut Rudjer Boskovic<br>
><br>
> ----------------------------- Upozorenje -----------------------------<br>
><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>
><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>