EPrints Technical Mailing List Archive

Message: #02879


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: RoMEO autocomplete



Thanks a lot, Ian.
These files will be of a great help.

But I often get rather long response times from romeo API.
>>>>> http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts
real    0m1.464s

>>>>> http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=african&qtype=starts
real    0m5.893s

>>>>> http://www.sherpa.ac.uk/romeo/api29.php?ak=xxxxxxxx&jtitle=journal&qtype=starts
Failed to look up <i>Zetoc</i> publisher in RoMEO. MySQL error: MySQL server has gone away
real    0m25.030s
That makes the Ajax autocomplete not so useful.
Did you noticed the same problems ?

Thanks again.


Le 11/04/2014 09:38, Ian Stuart a écrit :
On 10/04/14 18:05, Gilles Fournié wrote:
Hi,

We would like to add an autocompletion for the journal fields.

As explained in the Wiki page
http://wiki.eprints.org/w/Autocompletion_and_Authority_Files_%28Romeo_Autocomplete%29
we have downloaded and used the file found at
http://romeo.eprints.org/romeo_journals.autocomplete.

The solution works well.

But we realized that the file romeo_journals.autocomplete is old. Its
date is Jan 19, 2009. Of course, we checked its content and we noticed
that journals we can find on the Sherpa/RoMEO website are not in the
file. So, it seems it has not been updated for a while.

Does anybody know if there is a plan to update it ? Or if we can find
another one elsewhere ?

I have two files for you, which relate to the wiki page http://wiki.eprints.org/w/Adding_an_Auto-Completer_to_a_non-workflow_page

update_romeo_publishers lives in eprints/~~/bin and should be run daily - it creates a set of lookup files

get_journals lives in eprints/~~/cgi and is the bit that does the AJAX response stuff, using the files created above



*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/