EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05783
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Can EPrints provide a web service interface for other web servers?
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Can EPrints provide a web service interface for other web servers?
- From: Andy Reid <Andy.REID@lshtm.ac.uk>
- Date: Thu, 16 Jun 2016 10:50:35 +0000
Hi Andras,
If you look in the source of a search results page you will see a set of ‘alternate’ links that provide exports in all the formats available on the server. So this one for example,
following a search for type=video, gives a service endpoint for exporting that set of records as EprintsXML <link
rel="alternate"
href="?cache=&exp=0%7C1%7C-date%2Fcreators_name%2Ftitle%7Carchive%7C-%7Ctype%3Atype%3AANY%3AEQ%3Avideo%7C-%7Ceprint_status%3Aeprint_status%3AANY%3AEQ%3Aarchive%7Cmetadata_visibility%3Ametadata_visibility%3AANY%3AEQ%3Ashow&output=XML&_action_export_redir=1"
type="application/vnd.eprints.data+xml;
charset=utf-8"
title="EP3
XML" />
Something like that would give you a template for building your service requests, perhaps? There’s one for each of the export formats available in the dropdown on the
search results page Andy From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Liam Green-Hughes Hi Andras, One option could be to use the OAI-PMH interface?
https://[your repository]/cgi/oai2 You might have to harvest the data into some sort of index though. Another option could be to modify an RSS feed URL for a search query with the search you want. That would give you a fairly easy
XML format with the search results to read. Regards Liam Liam Green-Hughes Library Systems Developer Learning and Research Development University of Kent From:
eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Biczó András <biczo.andras@aki.gov.hu> Dear List Members, Do you know if there is a way an EPrints repository can be configured so that it can be used by another server to extract data from the repository automatically? (That other server might be a web server collecting search results for visitors from a couple of sources, one of them being the EPrints repository.) If the feature described above is not built into EPrints right away then is there a recommended way to implement this feature as a web service? (SOA) Thanks, Andras Biczo programmer |
- References:
- [EP-tech] Can EPrints provide a web service interface for other web servers?
- From: Biczó András <biczo.andras@aki.gov.hu>
- Re: [EP-tech] Can EPrints provide a web service interface for other web servers?
- From: Liam Green-Hughes <L.E.Green-Hughes@kent.ac.uk>
- [EP-tech] Can EPrints provide a web service interface for other web servers?
- Prev by Date: Re: [EP-tech] Can EPrints provide a web service interface for other web servers?
- Next by Date: Re: [EP-tech] Wiki file upload problem
- Previous by thread: Re: [EP-tech] Can EPrints provide a web service interface for other web servers?
- Next by thread: [EP-tech] workflow: show only year field for date
- Index(es):