In SRW we have an example from our dome.mit.edu service
http://dome.mit.edu/dspace-srw/search/DSpace?query=dc.title+%3D+%
22David%22+and+dc.creator+%3D+%22Michelangelo%
22&version=1.1&operation=searchRetrieve&maximumRecords=10&startRecord=1&
resultSetTTL=300&recordPacking=xml
-Mark
On Jan 24, 2008, at 7:03 AM, James Rutherford wrote:
On Tue, Jan 22, 2008 at 11:45:55PM +0000, Feng Wang wrote:
I have a question still. Can u give me a example for OAI,like search
all the Papers about a person who named John, Smith. how whould the
request in OAI look like? You know, i just wanna know, thanks
You'd need something like OAI-SQ (http://scout.wisc.edu/Projects/
OAISQ/)
which DSpace doesn't support (it's an unofficial extension to the PMH
protocol). I performed some experiments with this a few months ago
where
I hooked the SQ queries up to DSpace searches. Most of the code for
doing this is available as part of the pf-dspace prototype project on
google code. The relevant file is:
http://dspace-sandbox.googlecode.com/svn/prototypes/pf-dspace/trunk/
dspace-oai/src/main/java/org/dspace/app/oai/DSpaceOAICatalog.java
see doRecordHarvest() and buildSet()
Note that parameters passed in the URL must correspond to indexed
metadata fields (ie: if you can't search for it using the basic /
advanced search utilities, you can't search for it with this
implementation of OAI-SQ).
If you want to use this code, you should download the files and
diff it
against your DSpaceOAICatalog.java. I'm not sure when the last time
the
pf-dspace branch was synced with trunk, but I think it was a long time
ago.
cheers,
Jim
--
James Rutherford | Hewlett-Packard Limited registered
Office:
Research Engineer | Cain Road,
HP Labs | Bracknell,
Bristol, UK | Berks
+44 117 312 7066 | RG12 1HN.
[EMAIL PROTECTED] | Registered No: 690597 England
The contents of this message and any attachments to it are
confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise
the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as "HP
CONFIDENTIAL".
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech