[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: OAI-PMH

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 at 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,
>The University of Edinburgh.
>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.