Hi Simon,
this is new to me as well, I got it to work using:
curl --data
login_email=myname%40gmail.comlogin_password=passwordsubmit=Sign+in
http://www.mydspace.com/password-login
I had some issues first using the --data-urlencode parameter instead of
--data. This also encoded the ampersands
Hi Simon,
as an alternative to screen scraping, you may want to take a look at
the REST API [1] which is made exactly for tasks like this one.
Another alternative is a simple SQL query [2].
Just ask if you need more details.
[1] https://wiki.duraspace.org/display/DSPACE/REST+API
[2]
Yet another alternative could be using Solr directly. Info on how to
access Solr is here:
https://wiki.duraspace.org/display/DSPACE/Solr
The key you'd use is search.resourceid.
Regards,
~~helix84
--
Live Security
Hi, Simon, I know that I would be interested in hearing more about what it
is you're up to. :-) What's your use case for the item ID once you scrape
it? Is this something that the REST-API module might be able to do for you?
--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri
02, 2012 2:41 AM
To: Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Log into DSpace with curl
Hi Simon,
as an alternative to screen scraping, you may want to take a look at the REST
API [1] which is made exactly for tasks like
-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Log into DSpace with curl
Hi, Simon, I know that I would be interested in hearing more about what it is
you're up to. :-) What's your use case for the item ID once you scrape it? Is
this something that the REST-API module might be able to do
]
Sent: Thursday, August 02, 2012 7:27 AM
To: Bram Luyten; Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Log into DSpace with curl
Hi, Simon, I know that I would be interested in hearing more about what
it is you're up
On Thu, Aug 2, 2012 at 5:12 PM, Brown, Simon Contractor, Digital
Consulting Services scbr...@nps.edu wrote:
Have you successfully used the 'content searching' part of the API? Didn’t
work for me -- very basic queries would fail to return any results. It also
lacks any specificity -- how do
We are using DSpace 1.8.2 with the JSPUI admin interface. I would like to log
into DSpace using curl (or more precisely RCurl) because I want to be able to
scrape item IDs (not the handles, but the actual IDs). My code looks something
like this:
postForm(dspace//password-login,
9 matches
Mail list logo