<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
<link href="chrome://translator/skin/popup.css" type="text/css"
rel="stylesheet">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Thanks a lot, Ian.<br>
These files will be of a great help.<br>
<br>
But I often get rather long response times from romeo API.<br>
<blockquote>>>>>>
<a class="moz-txt-link-freetext" href="http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts">http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts</a><br>
real 0m1.464s<br>
<br>
>>>>>
<a class="moz-txt-link-freetext" href="http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts">http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts</a><br>
real 0m5.893s<br>
<br>
>>>>>
<a class="moz-txt-link-freetext" href="http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=journal&qtype=starts">http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=journal&qtype=starts</a><br>
Failed to look up <i>Zetoc</i> publisher in RoMEO.
MySQL error: MySQL server has gone away<br>
real 0m25.030s<br>
</blockquote>
<div class="moz-cite-prefix">That makes the Ajax autocomplete not so
useful.<br>
Did you noticed the same problems ?<br>
<br>
Thanks again.<br>
<br>
<br>
Le 11/04/2014 09:38, Ian Stuart a écrit :<br>
</div>
<blockquote
cite="mid:EMEW3|1164188347f605e1994d73e17e1dabeeq3A8dJ14eprints-tech-bounces|ecs.soton.ac.uk|53479BFA.4080406@ed.ac.uk"
type="cite">On 10/04/14 18:05, Gilles Fournié wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
We would like to add an autocompletion for the journal fields.
<br>
<br>
As explained in the Wiki page
<br>
<a class="moz-txt-link-freetext" href="http://wiki.eprints.org/w/Autocompletion_and_Authority_Files_%28Romeo_Autocomplete%29">http://wiki.eprints.org/w/Autocompletion_and_Authority_Files_%28Romeo_Autocomplete%29</a>
<br>
we have downloaded and used the file found at
<br>
<a class="moz-txt-link-freetext" href="http://romeo.eprints.org/romeo_journals.autocomplete">http://romeo.eprints.org/romeo_journals.autocomplete</a>.
<br>
<br>
The solution works well.
<br>
<br>
But we realized that the file romeo_journals.autocomplete is
old. Its
<br>
date is Jan 19, 2009. Of course, we checked its content and we
noticed
<br>
that journals we can find on the Sherpa/RoMEO website are not in
the
<br>
file. So, it seems it has not been updated for a while.
<br>
<br>
Does anybody know if there is a plan to update it ? Or if we can
find
<br>
another one elsewhere ?
<br>
</blockquote>
<br>
I have two files for you, which relate to the wiki page
<a class="moz-txt-link-freetext" href="http://wiki.eprints.org/w/Adding_an_Auto-Completer_to_a_non-workflow_page">http://wiki.eprints.org/w/Adding_an_Auto-Completer_to_a_non-workflow_page</a><br>
<br>
update_romeo_publishers lives in eprints/~~/bin and should be run
daily - it creates a set of lookup files
<br>
<br>
get_journals lives in eprints/~~/cgi and is the bit that does the
AJAX response stuff, using the files created above
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
<div style="bottom: auto; left: 403px; right: auto; top: 276px;
display: none;" class="translator-theme-default"
id="translator-floating-panel">
<div title="Cliquer pour traduire"
id="translator-floating-panel-button"></div>
</div>
<div style="top: auto; max-width: 400px; max-height: 376px; bottom:
0px; left: auto; right: 0px; display: none;"
class="translator-theme-default" id="translator-popup">
<div id="translator-popup-toolbar">
<div id="translator-popup-title">
<div id="translator-popup-source-languages-wrapper">
<ul style="margin-top: 0px;"
id="translator-popup-source-languages">
<li id="translator-popup-source-language-auto" code="auto">Anglais
- détecté</li>
<li code="en">Anglais</li>
<li code="fr">Français</li>
<li code="es">Espagnol</li>
</ul>
<div id="translator-popup-source-languages-scroller"></div>
</div>
<div id="translator-popup-languages-direction"></div>
<div id="translator-popup-target-languages-wrapper">
<ul style="margin-top: -18px;"
id="translator-popup-target-languages">
<li code="en">Anglais</li>
<li code="fr">Français</li>
<li code="es">Espagnol</li>
</ul>
<div id="translator-popup-target-languages-scroller"></div>
</div>
</div>
<div class="translator-popup-toolbar-spring"></div>
<a title="Copier le texte sélectionné dans le presse-papiers"
href="javascript:void(0);" id="translator-popup-button-copy"></a></div>
<div style="max-height: 326px; opacity: 1;"
class="translator-message-type-normal"
id="translator-popup-message"></div>
<div style="display: none;" id="translator-popup-notice"></div>
<textarea style="display: none;" id="translator-popup-textarea"></textarea></div>
<div style="bottom: 0px; left: auto; right: 0px; top: auto; display:
none;" title="Traduction en cours..."
class="translator-theme-default" id="translator-popup-loading"></div>
</body>
</html>