Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-24 Thread James Rutherford
On Tue, Jan 22, 2008 at 11:45:55PM +, 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/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-24 Thread Mark Diggory

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% 
22version=1.1operation=searchRetrievemaximumRecords=10startRecord=1 
resultSetTTL=300recordPacking=xml


-Mark

On Jan 24, 2008, at 7:03 AM, James Rutherford wrote:


On Tue, Jan 22, 2008 at 11:45:55PM +, 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/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
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/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-23 Thread Feng Wang
Hi robin,
thanks!
i have seen the website for OAI-PMH Testing of the DSpace Libaries.
But i have 2 questionen still:

1.how can i use the DC-Format to build a request for searching a document? Like 
dc:creator=feng,wang and dc:titel=master thesis? I must build a DSpace by 
myself. Problem is, whether the Syntax of Request for all DSpace Server are 
same. If same ,then i can just test the request for my DSpace in the Website


2. OAI-PMH ist just designed for Metadaten. The Response of the Request is the 
Metadaten sets. Can i use the OAI-PMH as a search-engine for getting the Links 
of the Docs what i wanted? 
How can i get the Links of The Docs in DSpace?
Maybe the OAIster is the right one. Does the DSpace support the OAIster?

Regards
Feng



 Original-Nachricht 
 Datum: Wed, 23 Jan 2008 09:21:27 -
 Von: Robin Taylor [EMAIL PROTECTED]
 An: \'Feng Wang\' [EMAIL PROTECTED]
 Betreff: RE: RE: [Dspace-tech] How to get the connection to DSpace(how to 
 build the DSpace request in Application)

 Hi Feng,
 
 Have a look at a website http://re.cs.uct.ac.za/ which can be used for
 testing OAI sites and shows the form of the requests.
 
 Cheers, Robin.
  
 
 -Original Message-
 From: Feng Wang [mailto:[EMAIL PROTECTED] 
 Sent: 22 January 2008 23:46
 To: [EMAIL PROTECTED]
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: RE: [Dspace-tech] How to get the connection to DSpace(how to
 build the DSpace request in Application)
 
 Thans for your Support. It is very useful 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
 
 Regards!
 Feng
 
 
  Original-Nachricht 
  Datum: Mon, 21 Jan 2008 09:33:39 -
  Von: Robin Taylor [EMAIL PROTECTED]
  An: \'Feng Wang\' [EMAIL PROTECTED]
  Betreff: RE: [Dspace-tech] How to get the connection to DSpace(how to 
  build the DSpace request in Application)
 
  There are two APIs for Dspace that I know of - OIA and SRW. This site 
  may help  
  https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/oai_srw
  
  Cheers, Robin.
   
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Feng 
  Wang
  Sent: 20 January 2008 23:29
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] How to get the connection to DSpace(how to 
  build the DSpace request in Application)
  
  Hi everyone,
  
  Does someone know how I can take the communication between the DSpace 
  DL and Application?
  
  I want to know, how can I write the application to get the connection 
  to DSpace? Like use the OAI-PHM or something else? How can I build the 
  URL-Request in my Application to DSpace? I mean, the Syntax of the 
  Request?
  
  E.g. I want to search a paper about the Bill Gates with Microsoft 
  something in DSpace Server. How can I write the URL of the HTTP GET in 
  my Application about the author”Bill Gates” and the title
 “Microsoft”.
  Regards
  Feng
  
   
  
  
  
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
  
  --
  --- This SF.net email is sponsored by: Microsoft Defy all challenges.
  Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-22 Thread Feng Wang
Thans for your Support. It is very useful
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

Regards!
Feng


 Original-Nachricht 
 Datum: Mon, 21 Jan 2008 09:33:39 -
 Von: Robin Taylor [EMAIL PROTECTED]
 An: \'Feng Wang\' [EMAIL PROTECTED]
 Betreff: RE: [Dspace-tech] How to get the connection to DSpace(how to build 
 the DSpace request in Application)

 There are two APIs for Dspace that I know of - OIA and SRW. This site may
 help  https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/oai_srw
 
 Cheers, Robin.
  
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Feng Wang
 Sent: 20 January 2008 23:29
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] How to get the connection to DSpace(how to build
 the
 DSpace request in Application)
 
 Hi everyone,
 
 Does someone know how I can take the communication between the DSpace DL
 and
 Application?
 
 I want to know, how can I write the application to get the connection to
 DSpace? Like use the OAI-PHM or something else? How can I build the
 URL-Request in my Application to DSpace? I mean, the Syntax of the
 Request?
 
 E.g. I want to search a paper about the Bill Gates with Microsoft
 something
 in DSpace Server. How can I write the URL of the HTTP GET in my
 Application
 about the author”Bill Gates” and the title “Microsoft”.
 Regards
 Feng
 
  
 
 
 
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
 -
 This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] How to get the connection to DSpace (how to build the DSpace request in Application )

2008-01-20 Thread Feng Wang
Hi everyone,

Does someone know how I can take the communication between the DSpace DL and 
Application?

I want to know, how can I write the application to get the connection to 
DSpace? Like use the OAI-PHM or something else? How can I build the URL-Request 
in my Application to DSpace? I mean, the Syntax of the Request?  
E.g. I want to search a paper about the Bill Gates with Microsoft something in 
DSpace Server. How can I write the URL of the HTTP GET in my Application about 
the author”Bill Gates” and the title “Microsoft”.
Regards
Feng

 



-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech