Re: [Dspace-tech] Log into DSpace with curl

2012-08-02 Thread Brown, Simon Contractor, Digital Consulting Services
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 you do an advanced query with the API?  Can you 
search by author and then limit to a certain publication year??? Probably not, 
but I can do that with screen scraping.  I would love it if the API could do a 
/search?author=Simon+Brownpubyear=2012 but I don't think it does that?


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, August 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 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] 
https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issues#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Log into DSpace with curl

2012-08-02 Thread Brown, Simon Contractor, Digital Consulting Services
My use for this is making a tool for generating/extracting metadata reports 
(e.g. a bibliography based on a advanced search query) into a useable data 
format (.csv) for the staff at my library.  DSpace lacks functions that allow 
saving lists and exporting citations so this is kind of a work around.  Also, 
you can extract metadata by collection for batch editing and mapping, but not 
by query.  What if you want to map an author's publications to a new collection 
for that author but the author's publications are spread across many different 
collections?  I should be able to generate the metadata spreadsheet for batch 
editing not just based on collection, but based on any query that I can think 
of doing based on the metadata and full text.  I already have a good start to 
doing this with screen scraping, but I'm just lacking the item IDs -- hence the 
login with RCurl.  This tool is for library staff (and anyone else who is 
willing), not for the administrator of the website who can do SQL queries if 
they wanted.  People who need to access the data, not just the documents.  This 
is what I have so far (also contains some scripts for making SIPs from a 
spreadsheet):  
https://wiki.nps.edu/display/CIR/CalhounTools+--+An+R+Package+for+Common+Repository+Tasks



-Original Message-
From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
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 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 Library 
Systems http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
And remember, also added the Princesss of Sweet Rhyme, that many places you 
would like to see are just off the Map and many things you want to know are 
just out of sight or a little beyond your reach. But someday you'll reach them 
after all, for what you learn today, for no reason at all, will help you 
discover all the wonderful secrets of tomorrow.

--Norton Juster, The Phantom Tollbooth






On 8/2/12 3:37 AM, Bram Luyten b...@mire.be wrote:




Hi Simon,

this is new to me as well, I got it to work using:

curl --data login_email=myname%40gmail.com 
http://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 which shouldn't have happened 
to make it work.

If you debug your query, following bit in the return html is interesting:

input id=aspect_eperson_PasswordLogin_field_login_email
class=ds-text-field error name=login_email type=text
value=contents of your query title=The email address and/or password 
supplied were not valid. / span class=error* The email address 
and/or password supplied were not valid./span

because I saw that all my parameters ended up in that field, I realized 
there was something wrong with the ampersand encoding.

On a sidenote, if you play around with forms, encoding and parameters, 
Tamper Data is a nice little firefox add-on that allows you to see and 
tamper with the requests you make  responses you get.

https://addons.mozilla.org/en-us/firefox/addon/tamper-data/

cheers,

Bram

--
 
Bram Luyten@mire
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4, 
Heverlee 3001, Belgium
  http://www.atmire.com/www.atmire.com
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_mediu
m=e
mailutm_campaign=braml


On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital 
Consulting Services scbr...@nps.edu wrote:

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², login_email=²user²,
login_password=²password²)
 
It basically always returns ³The e-mail address and password you 
supplied were not valid²
 
Is it not possible to log in using curl?  If it is possible I¹ll figure 
it out eventually, but if it¹s not I would rather not spend the time on 
it.
 
Simon Brown
Digital Consulting Services
Supporting the Dudley Knox Library, Naval postgraduate School 
scbr...@nps.edu
831.656.3574 Phone
831.656.3238 Fax
 



---
---

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. 
Discussions will include endpoint security, mobile security and the 
latest in malware threats

[Dspace-tech] Log into DSpace with curl

2012-08-01 Thread Brown, Simon Contractor, Digital Consulting Services
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, login_email=user, 
login_password=password)



It basically always returns The e-mail address and password you supplied were 
not valid



Is it not possible to log in using curl?  If it is possible I'll figure it out 
eventually, but if it's not I would rather not spend the time on it.



Simon Brown

Digital Consulting Services

Supporting the Dudley Knox Library, Naval postgraduate School

scbr...@nps.edu

831.656.3574 Phone

831.656.3238 Fax



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SWORD, REST API, OAI QDC Questions and a script for SIPs

2012-03-14 Thread Brown, Simon Contractor, Digital Consulting Services
Good morning!

 

I have two conceptual ideas about our DSpace repository that I am not sure
are correct.  I am basically struggling with questions of interoperability
- we want our detailed metadata to appear in VuFind and we want to create
detailed OCLC records with Digital Gateway.  

 

First, I am hoping with all hope that the detailed metadata we have worked
very hard to create for our DSpace repository can somehow be exposed through
OAI (I know that the default OAI only provides the basic DC elements).  I
have gone through the documentation and it looks like the qdc crosswalk can
be configured to show additional metadata - but what files do you have to
configure to add a new metadata field to be displayed by the OAI qdc (i.e.
to create a new crosswalk)?  I'm kind of confused by the language in the
documentation:

 

Qualified Dublin Core, produced by the configurable QDC crosswalk. Note
that this QDC does not include all of the DSpace dublin core metadata
fields, since the XML standard for QDC is defined for a different set of
elements and qualifiers. (My emphasis)

 

Second, because we can't use the XMLUI admin interface on our live site and
for other reasons, I would like to use SWORD in order to perform all of our
batch importing and batch metadata editing/curation on a dev site and then
have the collection pushed into the live site via SWORD to avoid doing all
this work with live records - is it possible to use SWORD to transfer many
items at a time?  Or is this just not a good idea - what is the practice for
setting up a new community with multiple collections and thousands of items
imported as batches, checking them, making corrections and without doing it
in public view?

 

Thanks so much in advance for your time and patience!  Also - I have written
an R script which will make a SIP from a spreadsheet of metadata -- if
anyone wants it email me! 

 

Simon Brown

 



smime.p7s
Description: S/MIME cryptographic signature
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] REST API Content Searching error

2011-09-15 Thread Brown, Simon Contractor, Digital Consulting Services
I can't find any pattern in terms that I try with the REST API content 
searching that cause it to return results versus this error:

The server encountered an internal error (Failure processing entity request 
(/search.xml): null) that prevented it from fulfilling this request.

Does anyone know the specific cause of this?

Thank you,
Simon

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Adding Google search box to DSpace

2011-08-22 Thread Brown, Simon Contractor, Digital Consulting Services
I know that DSpace can be configured to be indexed for searching with Google 
Scholar, but has anyone attempted to put a Google Scholar search box inside a 
DSpace theme?
Thanks,
-Simon
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding Google search box to DSpace

2011-08-22 Thread Brown, Simon Contractor, Digital Consulting Services
Thank you Bram and Peter.  From your response, I'm now contemplating the value 
of a simple Didn't find what you're looking for? Try Google Scholar [search 
box] type line somewhere that makes sense.

From: Peter Dietz [pdiet...@gmail.com]
Sent: Monday, August 22, 2011 2:29 PM
To: Bram Luyten
Cc: Brown, Simon Contractor, Digital Consulting Services; 
dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Adding Google search box to DSpace

There doesn't appear to be a scholar API, so you're either bound to 
screen-scraping the requests, or showing an iframe of scholar.

But Bram is spot on with passing site: to your search to get just your 
content.
Peter Dietz



On Mon, Aug 22, 2011 at 4:07 PM, Bram Luyten 
b...@mire.bemailto:b...@mire.be wrote:
Haven't tried it myself, but should be definitely doable.

Here's a service where you can generate a google scholar search box:
https://services.google.com/inquiry/scholar_email?hl=en

If you want to limit the search to the content of your own site, you'll have to 
pass the argument site:domain name

with kindest regards,

Bram Luyten

@mire

Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA

atmire.comhttp://atmire.com/ - Institutional Repository Solutions


On Mon, Aug 22, 2011 at 7:57 PM, Brown, Simon Contractor, Digital Consulting 
Services scbr...@nps.edumailto:scbr...@nps.edu wrote:
I know that DSpace can be configured to be indexed for searching with Google 
Scholar, but has anyone attempted to put a Google Scholar search box inside a 
DSpace theme?
Thanks,
-Simon

--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] css/html bug in Mirage theme

2011-08-03 Thread Brown, Simon Contractor, Digital Consulting Services
Thank you Tim.  The fix provided does work.

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Monday, August 01, 2011 9:43 AM
To: Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] css/html bug in Mirage theme

Hi Simon,

It looks like others have found the same issue in the Mirage Theme. I 
just saw this ticket in JIRA:

https://jira.duraspace.org/browse/DS-967

There's a suggested fix in the comments of that JIRA ticket. You could 
see if that fix also works for you, and report back.

Developers, we still need a volunteer to 'claim' this ticket  fix it 
(or verify the suggested fix).

- Tim

On 8/1/2011 11:30 AM, Brown, Simon Contractor, Digital Consulting 
Services wrote:
 Hi,

 We've noticed in the item view (for the Mirage theme), that when there
 is an empty Abstract, the ds-options-wrapper gets stuck inside the
 ds-body so that it gets shoved down below the item description. It looks
 like a /div tag is being miswritten somewhere but I can't figure out
 where. I know that ideally, you wouldn't have an empty Abstract, but
 still this seems like an error that could be fixed if we knew what was
 causing it?

 Thanks,

 Simon Brown



 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] css/html bug in Mirage theme

2011-08-01 Thread Brown, Simon Contractor, Digital Consulting Services
Hi,

We've noticed in the item view (for the Mirage theme), that when there is an 
empty Abstract, the ds-options-wrapper gets stuck inside the ds-body so that it 
gets shoved down below the item description.  It looks like a /div tag is 
being miswritten somewhere but I can't figure out where.  I know that ideally, 
you wouldn't have an empty Abstract, but still this seems like an error that 
could be fixed if we knew what was causing it?
Thanks,
Simon Brown

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse by Title failure in 1.7.2

2011-07-18 Thread Brown, Simon Contractor, Digital Consulting Services
We found the problem - it generated from an item on the same results page but 
much lower down on the list and had to do with XML encoding. Thanks!
-Simon

From: Brown, Simon Contractor, Digital Consulting Services
Sent: Monday, July 18, 2011 3:06 PM
To: 'dspace-tech@lists.sourceforge.net'
Subject: Browse by Title failure in 1.7.2

Hi,

Having a confusing problem with the Browse by Title.  Works perfectly in the 
XMLUI, but in the JSP it chokes and fails on the record I give below.  I should 
say the record comes up fine on Browse by Issue Date.  Also weird, is that this 
is the HTML produced for where the title should appear in the the broken table 
of results: td cl=  headers=t3/tr

Why does it choke and fail to even finish writing the word class and just puts 
cl ?  Anyone encounter this before???


Full metadata record
DC Field

Value

Language

dc.contributor.author

Paschal, Joe Bennett.

en_US

dc.date.accessioned

2011-07-18T17:29:03Z

-

dc.date.available

2011-07-18T17:29:03Z

-

dc.date.issued

1947

en_US

dc.identifier.uri

http://hdl.handle.net/123/258

-

dc.description.uri

http://www.archive.org/details/administeringpro00pasc

en_US

dc.language.iso

en_US

en_US

dc.publisher

Stanford University

en_US

dc.rights

Approved for public release, distribution unlimited

en_US

dc.subject.lcsh

Management

en_US

dc.title

Administering the program of welfare and recreation for United States naval 
personnel.

en_US

dc.type

Thesis

en_US

etd.thesisdegree.name

M.A.

en_US

etd.thesisdegree.level

master's

en_US

etd.thesisdegree.grantor

Stanford University

en_US

dc.identifier.oclc

ocm25463927

en_US

dc.description.service

U.S. Navy (U.S.N.) author.

en_US



Simon
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Application Profile for DSpace

2011-06-02 Thread Brown, Simon Contractor, Digital Consulting Services
Is there an application profile in existence for the out-of-the-box DSpace 
metadata terms?  Something like this:  
http://www.dublincore.org/documents/profile-guidelines/

Thanks!

Simon Brown

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace-tech Digest, Vol 61, Issue 25

2011-05-12 Thread Brown, Simon Contractor, Digital Consulting Services
How do I locate the reference DS-534?  My confusion with mixing metadata 
schemas actually stems from my consufusion about the 'name' of namespaces being 
the prefix for metadata elements in a schema despite the same xml tags 
(Dublin_core and dvvalue) in every schema.  Because they all say Dublin 
core, I assumed you could used Dublin core in multiple schemas.
Thanks,
-Simon

-Original Message-
From: dspace-tech-requ...@lists.sourceforge.net 
[mailto:dspace-tech-requ...@lists.sourceforge.net] 
Sent: Thursday, May 12, 2011 12:49 AM
To: dspace-tech@lists.sourceforge.net
Subject: DSpace-tech Digest, Vol 61, Issue 25

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Conflict with mixing metadata schemas and batch   ingest
  (Graham Triggs)
   2. Sidebar search box broken? (Zafrin, Vika)
   3. Handle Server Problem (Cameron, Jacob)
   4. Re: Sidebar search box broken? (Bram Luyten)
   5. Index creation (Webshet, Sisay (ILRI))


--

Message: 1
Date: Tue, 10 May 2011 20:10:25 +0100
From: Graham Triggs grahamtri...@gmail.com
Subject: Re: [Dspace-tech] Conflict with mixing metadata schemas and
batch   ingest
To: dspace-tech@lists.sourceforge.net
Message-ID: banlkting_m7srhp2tggcugj571ndeyq...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

On 10 May 2011 16:44, Mark H. Wood mw...@iupui.edu wrote:


 http://www.dspace.org/1_7_0Documentation/System%20Administration.html#SystemAdministration-Configuringmetadata\prefix\.xmlforDifferentSchemahttp://www.dspace.org/1_7_0Documentation/System%20Administration.html#SystemAdministration-Configuringmetadata%5Cprefix%5C.xmlforDifferentSchema

 DS-534 addressed the documentation of this feature.  How could we
 improve it further?


I said IIRC!! I didn't actually look at the current docs :)
-- next part --
An HTML attachment was scrubbed...

--

Message: 2
Date: Wed, 11 May 2011 13:26:32 -0400
From: Zafrin, Vika vzaf...@bu.edu
Subject: [Dspace-tech] Sidebar search box broken?
To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Message-ID: 671ec635-e0a8-48ff-a6bd-3b0a7f8d6...@bu.edu
Content-Type: text/plain; charset=us-ascii

The search box in our Mirage install's sidebar appears to be broken in the same 
way it's broken on the demo site:

http://demo.dspace.org/xmlui/handle/10673/9528
http://dcommon-test.bu.edu/xmlui/handle/2144/999

Searching This Collection (which should be This Community) on either of 
those pages produces Page not found.  I can't find any documentation of this; 
is this known?  Is there a solution?

Thanks,

Vika Zafrin
Institutional Repository Librarian
Boston University
+1.617.358.6370




--

Message: 3
Date: Wed, 11 May 2011 15:55:01 -0600
From: Cameron, Jacob jacob.came...@uleth.ca
Subject: [Dspace-tech] Handle Server Problem
To: dspace-tech@lists.sourceforge.net
Message-ID:
03af7903f10bb64ca22cdf89ee5d80ba0223d...@exchcl2.uleth.ca
Content-Type: text/plain;   charset=us-ascii

I can not get our handle server to run on Windows 7.  I am getting the
following error (found in the handle-server directory error.txt file).
Any help would be appreciated.

2011/05/11 10:26:15 MDT 25 Started new run.
Saving global values to: C:\Users\dspace\.handle\root_info
Saving global values to: C:\Users\dspace\.handle\root_info
2011/05/11 10:26:23 MDT 50 unspecified max_handlers count, using
default: 200
2011/05/11 10:26:23 MDT 50 unspecified max_handlers count, using
default: 200
2011/05/11 10:26:23 MDT 50 unspecified max_handlers count, using
default: 200
2011/05/11 10:26:23 MDT 25 Shutting down server at Wed May 11 10:26:23
MDT 2011
2011/05/11 10:26:23 MDT 75 class net.handle.server.HdlUdpInterface:
Error handling request: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
at java.net.DatagramSocket.receive(Unknown Source)
at
net.handle.server.HdlUdpInterface.serveRequests(HdlUdpInterface.java:156
)
at
net.handle.server.NetworkInterface.run(NetworkInterface.java:150)
at java.lang.Thread.run(Unknown Source)
2011/05/11 10:26:23 MDT 75 class net.handle.server.HdlTcpInterface:
Error handling request: java.net.SocketException: socket closed

Re: [Dspace-tech] Conflict with mixing metadata schemas and batch ingest

2011-05-09 Thread Brown, Simon Contractor, Digital Consulting Services
Thank you Graham - I have not tried creating two metadata.xml files for a 
single item from two different schemas but I will and will report the results.
-Simon

From: Graham Triggs [mailto:grahamtri...@gmail.com]
Sent: Monday, May 09, 2011 2:45 AM
To: Robin Taylor
Cc: Brown, Simon Contractor, Digital Consulting Services; 
dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Conflict with mixing metadata schemas and batch 
ingest

On 9 May 2011 09:31, Robin Taylor 
robin.tay...@ed.ac.ukmailto:robin.tay...@ed.ac.uk wrote:
 2) While you can mix metadata elements for an item from multiple
 schemas in manual submission, for the batch ingest you can only
 specify a single schema for the batch.
I haven't used this in recent times but I thought you could mix schema.
I know there are lots of references to the 'Dublin Core metadata' in the
code but I thought that was just a hangover from the days when only
Dublin Core was used, and in fact you could mix metadata schema. have
you tried this out ?

IIRC, this isn't particularly well documented. But it is possible to create 
import packages using multiple metadata schemas.

The trick is to have separate metadata files for each schema. 'dc' goes into 
the standard dublin_core.xml, But for any other schema, you need to create a 
file called:

metadata_prefix.xml

The contents of which is structured just like dublin_core.xml, except on the 
dublin_core element, you need to include a schema=prefix attribute.

G
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Conflict with mixing metadata schemas and batch ingest

2011-05-09 Thread Brown, Simon Contractor, Digital Consulting Services
Hi Robin,

Thank you for your insight into this.  Does qualified DC terms not count 
strictly as DC?  For example, does 'contributor.corporate' for a corporate 
author not strictly count as DC for 'contributor'?  This is something that's 
not clear to me from dublincore.org.

Thanks again,
-Simon 

-Original Message-
From: Robin Taylor [mailto:robin.tay...@ed.ac.uk] 
Sent: Monday, May 09, 2011 1:32 AM
To: Brown, Simon Contractor, Digital Consulting Services
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Conflict with mixing metadata schemas and batch 
ingest

Hi Simon,


 1) That DSpace uses the unique name of the metadata schema as the
 prefix for metadata elements but we would rather have the ‘dc’ prefix
 for any Dublin Core metadata whether from the default or custom
 metadata schemas.
 

The short answer is, don't do it :) The prefix 'dc' represents the
Dublin Core namespace in DSpace. Its impossible to have 'dc' represent 2
different namespaces. In addition, Dublin Core is a published standard
with a fixed set of terms. Over the years DSpace's metadata registry has
become a little polluted with terms that are not strictly DC but if
anything the intention would be to tidy that up and encourage people to
use other schema for non DC terms. I would strongly urge you to use
something other than DC for non-DC terms. Its always nice if you can
find another published standard that fits your needs but you can always
define a local one if none are available. Probably not what you wanted
to hear, sorry. 

 2) While you can mix metadata elements for an item from multiple
 schemas in manual submission, for the batch ingest you can only
 specify a single schema for the batch.

I haven't used this in recent times but I thought you could mix schema.
I know there are lots of references to the 'Dublin Core metadata' in the
code but I thought that was just a hangover from the days when only
Dublin Core was used, and in fact you could mix metadata schema. have
you tried this out ?

Cheers, Robin.



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Conflict with mixing metadata schemas and batch ingest

2011-05-06 Thread Brown, Simon Contractor, Digital Consulting Services
I am using version 1.7.

I hope I can convey the specifics of this complication correctly, please bare 
with me.

I am helping to set up a DSpace repository to initially contain a Thesis 
collection, but then in the future to contain many collections of different 
types with their own metadata needs.  We would really like to use custom 
metadata schemas to separate out the metadata specific to certain collections 
but also use qualified Dublin Core for all metadata.  For, example for theses 
we would like to have a 'dc.thesis.degree', but you can only have the 'dc' 
prefix if you use the default metadata schema!!!

Here are the specifics of the project:

We are planning to use the batch ingest tool to load the retrospective thesis 
content (~20,000 items) into DSpace.

We  have decided upon using a specific standard set of Dublin Core metadata 
elements as defined by the NDLTD for ETDs 
(http://www.ndltd.org/standards/metadata/etd-ms-v1.00-rev2.html)

Although these are Dublin Core elements, some are specific only to theses and 
we would therefore prefer to use a custom metadata schema to keep them separate 
from the default schema.

The complication is 2 fold:


1)  That DSpace uses the unique name of the metadata schema as the prefix 
for metadata elements but we would rather have the 'dc' prefix for any Dublin 
Core metadata whether from the default or custom metadata schemas.

2)  While you can mix metadata elements for an item from multiple schemas 
in manual submission, for the batch ingest you can only specify a single schema 
for the batch.

Ideally, I want to have a few custom DC metadata elements for theses in a 
custom metadata schema and mix these with the main DC elements for things like 
author and title, but have all metadata prefixed with 'dc'.

Is there any way you can make DSpace to allow the 'name' of two different 
schemas to be 'dc'

Thank you for any input you have into this.

Simon Brown
Digital Consulting Services
Supporting the Dudley Knox Library, Naval postgraduate School
scbr...@nps.edu
831.656.3574 Phone
831.656.3238 Fax

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech