Dear Oleg,

Il giorno lun, 19/09/2011 alle 12.16 +0200, Oleg Ruchayskiy ha scritto:
> We seemed to stumble upon a problem with getting information for many 
> records at a time from INVENIO. 
> 
> Namely, we have implemented a simple bibliography information export 
> within the ScienceWISE from INSPIRE/CDS. 
> 
> Since neither INSPIRE nor CDS provide API for this case, we extract the 
> bibliography information directly from the HTML pages via GET request. 
> Here's an example of extracting LaTeX(EU) bibliography for 2 articles:
> http://inspirebeta.net/search?p=arxiv:1009.0218+or+arxiv:1105.1075&rg=2&of=hlxe

Mmh.. What about using the MARCXML:

<http://inspirebeta.net/search?p=arxiv:1009.0218+or+arxiv:1105.1075&rg=2&of=xm>

this should contain all the bibliographic information on the desired
records.

> We tried to use the POST requests instead of GET but received an error
> "405 Method not allowed". 

Indeed, I was personally not aware of that when we suggest you to use
it. The blocking of POST request was explicitly introduced as part of
the commit:

<http://invenio-software.org/repo/invenio/commit/?id=7f25178b7da8202c5b85505da248c777db6dcc16>

I am not fully aware if this still needed today, maybe Tibor might wish
to comment on this.

> So far we cannot extract more than
> approximately 300 articles at a time due to the "414 Request URI too long"
> error. Since this problem occurs both in INSPIRE and CDS it seems to be an 
> INVENIO related.
> 
> Is there a possibility in INSPIRE to get bibliographic information for 
> hundreds of records at a time other than GET? According to Samuele, the 
> POST request should have worked but it does.
> 
> With the best regards,

So as part of the ticket:

<http://invenio-software.org/ticket/806>

we should be able to introduce in the future dedicated API keys. So that
in principle we can allow for granular authorization to use our APIs.

Regarding near future access via POST of data on INSPIRE I let Tibor and
the INSPIRE team to comment on it :-)

Cheers!
        Samuele

-- 
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to