EPrints Technical Mailing List Archive
Message: #03223
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: OAI-PMH
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: OAI-PMH
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Fri, 04 Jul 2014 16:12:08 +0100
Couldn't you achieve something similar by: 1- running an advanced search with your project code, 2- exporting it to the format of interest to you,3- keeping track of the generated URL (in (2)) and use that to retrieve further data, with another project code?
Remember that OAI is an harvesting interface:1- it will page stuff (resumptionToken) so your code will have to support pagination of results
2- available formats are "Open Access" friendly (dc, mets, ...) Just a suggestion :) Seb. On 04/07/14 15:59, Andrew Beeken wrote:
Actually, this is quite handy - one of the things we¹re looking to do would require us being able to search for outputs using a given project code; with this I can define the project code and add it to the endpoint! Thanks for this! On 04/07/2014 14:34, "Ian Stuart" <Ian.Stuart@ed.ac.uk> wrote:On 04/07/14 14:20, Andrew Beeken wrote:Hello all! Right, I¹m stepping into the murky waters of using our OAI-PMH endpoint to doŠ stuff! Basically a bit experimental at the moment. I can get it to return a list of records as well as a specific record based on a record ID, however, what I would like to be able to do is some kind of rudimentary query, say, pass in a user ID in the query string to return a list of records associated with that author?As Seb says, OAI-PMH is a harvesting system, not a query system In essence, what you have is a set of canned searches that return a list of results. You can certainly search for authors - in cfg/cfgd/oai.pl $oai->{sets} = [ .... { id=>"creators", allow_null=>0, fields=>"creators_name"}, .... ]; But have a good look at what the http://<your.server.address/cgi/oai2?verb=ListSets returns (and there's a reason for those bloody horrible SetNames) -- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. *** 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/The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research. The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies. Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions. The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal. *** 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/
- References:
- [EP-tech] OAI-PMH
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: OAI-PMH
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: OAI-PMH
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] OAI-PMH
- Prev by Date: [EP-tech] Re: OAI-PMH
- Next by Date: [EP-tech] Re: OAI-PMH
- Previous by thread: [EP-tech] Re: OAI-PMH
- Next by thread: [EP-tech] Re: OAI-PMH
- Index(es):