Andrew Bai | 1 Jun 2009 07:36
Picon

SWORD: Polling for Handle Availibility When a "accept/reject'' Workflow Process Required for the Collection Deposit

Hi All,

 

My apology if you received this post the second time. This is a resend of the previous post since I didn’t see my email coming to myself or showing up in the forum. I just joined the community and not yet familiar with the posting rules.

 

Thanks

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

 

From: Andrew Bai
Sent: Monday, 1 June 2009 9:23 AM
To: 'dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org'
Subject: SWORD: Polling for Handle Availibility When a "accept/reject'' Workflow Process Required for the Collection Deposit

 

Hi all,

 

I’m trying to write code to enable DSpace deposit from our research software. I can successfully deposit to DSpace using SWORD. However if the COLLECTION in DSpace requires an “accept/reject” workflow step, I can’t get the handle immediately in the SWORD response. I’ve looked into SWORD and ATOMPUB profile carefully and found no support for status polling. To discourage me more, I found that in the response I received from the deposit, the “atom entry” doesn’t even have a unique id. Instead it just has the following url that points to the homepage of the DSpace JSP user interface: http://vm:12:8080/jspui. It also doesn’t have a “atom:content” entry which is required according to SWORD profile 1.3.1. By the way, I’m testing agaist the latest DSpace 1.5.2 release. Could anyone help me to point out a direction on how to poll the status of a deposit from a third party product pragmatically? Thank you. The following xml code is the response I got with my test deposit.

 

<?xml version="1.0" encoding="UTF-8" ?>

- <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sword="http://purl.org/net/sword/">

  <atom:id>http://vm12:8080/jspui</atom:id>

- <atom:author>

  <atom:name>abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org</atom:name>

  </atom:author>

  <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1" version="1.3" />

  <atom:published>2001-02</atom:published>

  <atom:summary type="text">Dispersed repeat elements contribute to genome instability by de novo insertion and unequal recombination between repeats. To study the dynamics of these processes, we have developed single DNA molecule approaches to detect de novo insertions at a single locus and Alu-mediated deletions at two different loci in human genomic DNA. Validation experiments showed these approaches could detect insertions and deletions at frequencies below 10(-6) per cell. However, bulk analysis of germline (sperm) and somatic DNA showed no evidence for genuine mutant molecules, placing an upper limit of insertion and deletion rates of 2 x 10(-7) and 3 x 10(-7), respectively, in the individuals tested. Such re-arrangements at these loci therefore occur at a rate lower than that detectable by the most sensitive methods currently available.</atom:summary>

  <atom:title type="text">Attempts to detect retrotransposition and de novo deletion of Alus and other dispersed repeats at specific loci in the human genome</atom:title>

  <atom:updated>2009-05-28T02:35:02Z</atom:updated>

  <sword:treatment>The package has been deposited into DSpace. Each file has been unpacked and provided with a unique identifier. The metadata in the manifest has been extracted and attached to the DSpace item, which has been provided with an identifier leading to an HTML splash page.</sword:treatment>

  <sword:verboseDescription>[2009-05-28 12:34:50.796] Initialising verbose deposit; [2009-05-28 12:34:50.812] Performing deposit using location: http://vm12:8080/sword/deposit/123456789/2; [2009-05-28 12:34:50.812] Location resolves to collection with handle: 123456789/2 and name: First Collection; [2009-05-28 12:34:50.812] User is authorised to submit to collection; [2009-05-28 12:34:50.812] Authenticated user: abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org; [2009-05-28 12:34:50.812] Initialising depositor for an Item in a Collection; [2009-05-28 12:34:50.812] DSpace will store an original copy of the deposit, as well as ingesting the item into the archive; [2009-05-28 12:34:50.812] Loaded ingester: org.dspace.sword.SWORDMETSIngester; [2009-05-28 12:34:50.812] Using package manifest format: METS; [2009-05-28 12:34:50.812] Loaded package ingester: org.dspace.content.packager.DSpaceMETSIngester; [2009-05-28 12:35:02.875] Workflow process started; [2009-05-28 12:35:02.875] Updated date added to response from item metadata where available; [2009-05-28 12:35:02.953] Ingest successful; [2009-05-28 12:35:02.953] Item created with internal identifier: 11; [2009-05-28 12:35:02.953] No external identifier available at this stage (item in workflow); [2009-05-28 12:35:02.953] Archive ingest completed successfully; [2009-05-28 12:35:03.125] Original package stored as sword-2009-05-28.original, in item bundle org.dspace.content.Bundle <at> 11a20af; [2009-05-28 12:35:03.125] Initialising ATOM entry generator for an Item; [2009-05-28 12:35:03.140] Total time for deposit processing: 12344 ms;</sword:verboseDescription>

  <sword:noOp>false</sword:noOp>

  <sword:packaging>http://purl.org/net/sword-types/METSDSpaceSIP</sword:packaging>

  </atom:entry>

 

 

Thanks,

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
Stuart Lewis | 1 Jun 2009 08:54
Picon
Picon
Favicon
Gravatar

Re: SWORD: Polling for Handle Availibility When a"accept/reject'' Workflow Process Required for the CollectionDeposit

Hi Andrew,
 
Unfortunately you have hit one of the limitations with the current DSpace SWORD implementations. Due to the way DSpace currently works, it does not generate an item handle until the item has completed its journey through the workflow(s). And to compound this problem, the media link will not return anything for items that are due to go through a workflow. It is probably worth submitting this as a bug in JIRA (jira.dspace.org) so that we can assess it for future releases. The first of these issues (and therefore the second too) may get fixed in 1.6 if we can find the effort required to port some previous work on the identifier system to 1.6 to ensure that all items are given item identifiers. If this work does not get incoroporated in 1.6, we could look at adding a new DSpace table to associate a new SWORD deposit ID with the final ID and return that to the user via the media link.
 
We get around this issue at Auckland in one of two ways. 1) If our SWORD submission system *must* go through a workflow, we generate them an ID on the client side, and carry that through to DSpace and our internal workflows. We then link the items up once workflow has been completed via manual processes. 2) If a DSpace identifier is needed immediately, we don't set a workflow, and process the item a.s.a.p. once we get the email informing us that a new item has been submitted. Neither are great solutions, but they work for now.
 
Thanks,
 
 
Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

From: Andrew Bai [mailto:abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org]
Sent: Mon 01/06/2009 17:36
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Dspace-tech] SWORD: Polling for Handle Availibility When a"accept/reject'' Workflow Process Required for the CollectionDeposit

Hi All,

 

My apology if you received this post the second time. This is a resend of the previous post since I didn’t see my email coming to myself or showing up in the forum. I just joined the community and not yet familiar with the posting rules.

 

Thanks

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

 

From: Andrew Bai
Sent: Monday, 1 June 2009 9:23 AM
To: 'dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org'
Subject: SWORD: Polling for Handle Availibility When a "accept/reject'' Workflow Process Required for the Collection Deposit

 

Hi all,

 

I’m trying to write code to enable DSpace deposit from our research software. I can successfully deposit to DSpace using SWORD. However if the COLLECTION in DSpace requires an “accept/reject” workflow step, I can’t get the handle immediately in the SWORD response. I’ve looked into SWORD and ATOMPUB profile carefully and found no support for status polling. To discourage me more, I found that in the response I received from the deposit, the “atom entry” doesn’t even have a unique id. Instead it just has the following url that points to the homepage of the DSpace JSP user interface: http://vm:12:8080/jspui. It also doesn’t have a “atom:content” entry which is required according to SWORD profile 1.3.1. By the way, I’m testing agaist the latest DSpace 1.5.2 release. Could anyone help me to point out a direction on how to poll the status of a deposit from a third party product pragmatically? Thank you. The following xml code is the response I got with my test deposit.

 

<?xml version="1.0" encoding="UTF-8" ?>

- <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sword="http://purl.org/net/sword/">

  <atom:id>http://vm12:8080/jspui</atom:id>

- <atom:author>

  <atom:name>abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org</atom:name>

  </atom:author>

  <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1" version="1.3" />

  <atom:published>2001-02</atom:published>

  <atom:summary type="text">Dispersed repeat elements contribute to genome instability by de novo insertion and unequal recombination between repeats. To study the dynamics of these processes, we have developed single DNA molecule approaches to detect de novo insertions at a single locus and Alu-mediated deletions at two different loci in human genomic DNA. Validation experiments showed these approaches could detect insertions and deletions at frequencies below 10(-6) per cell. However, bulk analysis of germline (sperm) and somatic DNA showed no evidence for genuine mutant molecules, placing an upper limit of insertion and deletion rates of 2 x 10(-7) and 3 x 10(-7), respectively, in the individuals tested. Such re-arrangements at these loci therefore occur at a rate lower than that detectable by the most sensitive methods currently available.</atom:summary>

  <atom:title type="text">Attempts to detect retrotransposition and de novo deletion of Alus and other dispersed repeats at specific loci in the human genome</atom:title>

  <atom:updated>2009-05-28T02:35:02Z</atom:updated>

  <sword:treatment>The package has been deposited into DSpace. Each file has been unpacked and provided with a unique identifier. The metadata in the manifest has been extracted and attached to the DSpace item, which has been provided with an identifier leading to an HTML splash page.</sword:treatment>

  <sword:verboseDescription>[2009-05-28 12:34:50.796] Initialising verbose deposit; [2009-05-28 12:34:50.812] Performing deposit using location: http://vm12:8080/sword/deposit/123456789/2; [2009-05-28 12:34:50.812] Location resolves to collection with handle: 123456789/2 and name: First Collection; [2009-05-28 12:34:50.812] User is authorised to submit to collection; [2009-05-28 12:34:50.812] Authenticated user: abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org; [2009-05-28 12:34:50.812] Initialising depositor for an Item in a Collection; [2009-05-28 12:34:50.812] DSpace will store an original copy of the deposit, as well as ingesting the item into the archive; [2009-05-28 12:34:50.812] Loaded ingester: org.dspace.sword.SWORDMETSIngester; [2009-05-28 12:34:50.812] Using package manifest format: METS; [2009-05-28 12:34:50.812] Loaded package ingester: org.dspace.content.packager.DSpaceMETSIngester; [2009-05-28 12:35:02.875] Workflow process started; [2009-05-28 12:35:02.875] Updated date added to response from item metadata where available; [2009-05-28 12:35:02.953] Ingest successful; [2009-05-28 12:35:02.953] Item created with internal identifier: 11; [2009-05-28 12:35:02.953] No external identifier available at this stage (item in workflow); [2009-05-28 12:35:02.953] Archive ingest completed successfully; [2009-05-28 12:35:03.125] Original package stored as sword-2009-05-28.original, in item bundle org.dspace.content.Bundle <at> 11a20af; [2009-05-28 12:35:03.125] Initialising ATOM entry generator for an Item; [2009-05-28 12:35:03.140] Total time for deposit processing: 12344 ms;</sword:verboseDescription>

  <sword:noOp>false</sword:noOp>

  <sword:packaging>http://purl.org/net/sword-types/METSDSpaceSIP</sword:packaging>

  </atom:entry>

 

 

Thanks,

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
Anjo Ruth | 1 Jun 2009 10:10
Picon
Favicon

How can i edit My University address on the Dspace Repository List

Good day all,

Please, how can i edit My University address on the Dspace Repository List.

when i click on the link instead of taking me to my repository
(dspace.unijos.edu.ng) it opens www.dspace.org/dspace.unijos.edu.ng and
it gives me a 404 error (Not found error).

Thank you.

Ruth Anjo
System Analyst II
University of Jos Library

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4117 (20090530) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Attachment (anjor.vcf): text/x-vcard, 295 bytes
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
prathap nk | 1 Jun 2009 10:13
Picon
Favicon

Batch Import UI

Hi All,

Can anyone help me to implement Batch Import UI in DSpace please.

Thanks,
prthap

 

Explore and discover exciting holidays and getaways with Yahoo! India Travel Click here!
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
mikan.d.dspace listmail | 1 Jun 2009 11:30
Picon

Re: Sorting By Date

We have changed the default sort ortder to descending dates. This was
done by defining the following in dspace.cfg:

webui.browse.index.1 = dateissued:item:dateissued:desc
# Am not sure if the next line has any effect on this, but give it a try
webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date

Cheers,
Mika

2009/5/29 Davidson, Keli <kdavidson@...>:
> I am searching specific subject articles and they are listed from oldest
> date to the most recent date.  I want to be able organize the dates from
> ascending to descending within the specific subject that the user
> specifies.
>
> I have already tried Claudia's recommendation (Thank you by the way!)
>
> You can configure the browse index, see
> [dspace-source]/dspace/config/dspace.cfg
> Section ###### Browse Configuration ######
>
> # For compatibility with previous versions:
> #
> webui.browse.index.1 = dateissued:item:dateissued
>
> If you want to have the browse by date issued desc just change the line to:
> webui.browse.index.1 = dateissued:item:dateissued:desc
>
> But it still did not work. If any one has any ideas please email
> lmullan@..., just because she is the DSpace master at our institute.
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@...
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
Vika Zafrin | 1 Jun 2009 15:47
Favicon
Gravatar

(Resend) Manakin index page (and only that!) Java errors

(Sent this last Friday, but it doesn't seem to have shown up on the list.)

Dear all,

I'm way out of my depth here: I do xml/xsl/css but don't know Java.  If I'm giving too little or the wrong kind of information, please forgive me and let me know.

I've been changing a test install of DSpace 1.5.2 to look like the rest of my university's larger sites.  We're using Manakin, and I was mostly editing in xmlui/themes.  Because I was the only person doing this, and CSS/XSL is fiddly and requires a lot of reloading, I was working in the -inst directory instead of -src (still a pain, fiddling with Tomcat, but at least I didn't have to rebuild twenty times a day).

As far as I can see, I've changed:

- the text in the single paragraph in config/news-xmlui.xml
- the text of some messages in webapps/xmlui/i18n/messages.

xml
- the default theme pointer in config/xmlui.xconf
- webapps/xmlui/themes/[my_new_theme_dir]/style.css
- webapps/xmlui/themes/dri2xhtml/structural.xsl

At some point, I was changing the latter two files, stopping and restarting Tomcat and undeploying and redeploying the xmlui application on it.  The index page stopped displaying, and instead I got a bunch of Java errors.  They start out like this:

---
exception

javax.servlet.ServletException: Servlet execution threw an exception
    org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142)
    org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244)
    org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)

root cause

java.lang.NoSuchMethodError: javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
---

The rest is long, but visible at http://digilibtest.bu.edu:8080/xmlui/

But all the other pages are fine, for example:  http://digilibtest.bu.edu:8080/xmlui/community-list

We basically blew away the entire dspace1.5.2-inst directory and did a fresh rebuild from -src, but that's not helping.  Any advice?

Many thanks,
-Vika


--
Vika Zafrin
Digital Collections and Computing Support Librarian
Boston University School of Theology
745 Commonwealth Avenue
Boston, MA 02215
617.353.1317


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
Stuart Lewis | 1 Jun 2009 23:27
Picon
Picon
Favicon
Gravatar

Re: Error: This playlist is not a valid xml file

Hi Prathap,

 

You’ll probably have to dig around in the video player’s support forum to find this answer (http://www.longtailvideo.com/support/forum/).

 

Has the file name of your mp4 got any characters in it that might upset the URL and cause the player to think you are presenting it with a playlist? If so, you might have to ‘URLEncode’ the filename before adding to the page. Have you added mpeg files to the bitstream format with the correct mime type?

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

Ph: 64 9 373-7599 x81928

http://www.library.auckland.ac.nz/

 

 

 

From: prathap nk [mailto:prataphks <at> yahoo.co.in]
Sent: Friday, 29 May 2009 9:42 p.m.
To: dspace-tech <at> lists.sourceforge.net
Subject: [Dspace-tech] Error: This playlist is not a valid xml file

 

Hi All,
Its me again!!

I have implant flv video player in DSpace. It showing error like  "This playlist is not a valid xml file"
Video format is MPEG.

Thanks,

prathap



Bring your gang together. Do your thing. Find your favourite Yahoo! Group.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
Andrew Bai | 2 Jun 2009 00:45
Picon

Re: SWORD: Polling for Handle Availibility When a"accept/reject'' Workflow Process Required for the CollectionDeposit

Hi Stuart,

 

Thanks for your quick response. That’s a great reassurance to me that I’m looking into the right direction.

 

In my problem, getting a unique identifier back for the deposit is the first step towards the solution. Looking into SWORD AtomPub Profile version 1.3, section 9.6 clearly says “the atom:id element MUST contain a unique identifier for the deposit”, and “MUST contain an atom:content element with a src attribute containing a uri”. I’ll probably follow you suggest to submit a bug report in JIRA. Interestingly, if you look carefully into the verboseDescription section of the SWORD response, it actually does generate and associate some sort of internal ids to the deposit:

 

Ingest successful; [2009-05-28 12:35:02.953] Item created with internal identifier: 11; [2009-05-28 12:35:02.953] No external identifier available at this stage (item in workflow); [2009-05-28 12:35:02.953] Archive ingest completed successfully; [2009-05-28 12:35:03.125] Original package stored as sword-2009-05-28.original, in item bundle org.dspace.content.Bundle <at> 11a20af;”

 

However it doesn’t look like they have any link to the final id generated.

 

The second part of my problem is to use the returned identifier to query the SWORD server programmatically about the workflow status of the current deposit. Basically a demon process to keep asking “have you got a handle for the deposit?” This looks even harder to me since SWORD profile only interested in the deposit itself and hasn’t define any standard operation interface for status polling. Do you know if DSpace’s got any plan for this kind of support? What I’m asking hers is basically a B2B way of checking workflow status of the submission if it requires a review process.

 

Again thanks for you prompt help.

 

Cheers,

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

 

From: Stuart Lewis [mailto:s.lewis-1/NbpDiVQt6SYBAHRPvY1A@public.gmane.org]
Sent: Monday, 1 June 2009 4:54 PM
To: Andrew Bai; dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [Dspace-tech] SWORD: Polling for Handle Availibility When a"accept/reject'' Workflow Process Required for the CollectionDeposit

 

Hi Andrew,

 

Unfortunately you have hit one of the limitations with the current DSpace SWORD implementations. Due to the way DSpace currently works, it does not generate an item handle until the item has completed its journey through the workflow(s). And to compound this problem, the media link will not return anything for items that are due to go through a workflow. It is probably worth submitting this as a bug in JIRA (jira.dspace.org) so that we can assess it for future releases. The first of these issues (and therefore the second too) may get fixed in 1.6 if we can find the effort required to port some previous work on the identifier system to 1.6 to ensure that all items are given item identifiers. If this work does not get incoroporated in 1.6, we could look at adding a new DSpace table to associate a new SWORD deposit ID with the final ID and return that to the user via the media link.

 

We get around this issue at Auckland in one of two ways. 1) If our SWORD submission system *must* go through a workflow, we generate them an ID on the client side, and carry that through to DSpace and our internal workflows. We then link the items up once workflow has been completed via manual processes. 2) If a DSpace identifier is needed immediately, we don't set a workflow, and process the item a.s.a.p. once we get the email informing us that a new item has been submitted. Neither are great solutions, but they work for now.

 

Thanks,

 

 

Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

 

From: Andrew Bai [mailto:abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org]
Sent: Mon 01/06/2009 17:36
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Dspace-tech] SWORD: Polling for Handle Availibility When a"accept/reject'' Workflow Process Required for the CollectionDeposit

Hi All,

 

My apology if you received this post the second time. This is a resend of the previous post since I didn’t see my email coming to myself or showing up in the forum. I just joined the community and not yet familiar with the posting rules.

 

Thanks

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

 

From: Andrew Bai
Sent: Monday, 1 June 2009 9:23 AM
To: 'dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org'
Subject: SWORD: Polling for Handle Availibility When a "accept/reject'' Workflow Process Required for the Collection Deposit

 

Hi all,

 

I’m trying to write code to enable DSpace deposit from our research software. I can successfully deposit to DSpace using SWORD. However if the COLLECTION in DSpace requires an “accept/reject” workflow step, I can’t get the handle immediately in the SWORD response. I’ve looked into SWORD and ATOMPUB profile carefully and found no support for status polling. To discourage me more, I found that in the response I received from the deposit, the “atom entry” doesn’t even have a unique id. Instead it just has the following url that points to the homepage of the DSpace JSP user interface: http://vm:12:8080/jspui. It also doesn’t have a “atom:content” entry which is required according to SWORD profile 1.3.1. By the way, I’m testing agaist the latest DSpace 1.5.2 release. Could anyone help me to point out a direction on how to poll the status of a deposit from a third party product pragmatically? Thank you. The following xml code is the response I got with my test deposit.

 

<?xml version="1.0" encoding="UTF-8" ?>

- <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sword="http://purl.org/net/sword/">

  <atom:id>http://vm12:8080/jspui</atom:id>

- <atom:author>

  <atom:name>abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org</atom:name>

  </atom:author>

  <atom:generator uri="http://www.dspace.org/ns/sword/1.3.1" version="1.3" />

  <atom:published>2001-02</atom:published>

  <atom:summary type="text">Dispersed repeat elements contribute to genome instability by de novo insertion and unequal recombination between repeats. To study the dynamics of these processes, we have developed single DNA molecule approaches to detect de novo insertions at a single locus and Alu-mediated deletions at two different loci in human genomic DNA. Validation experiments showed these approaches could detect insertions and deletions at frequencies below 10(-6) per cell. However, bulk analysis of germline (sperm) and somatic DNA showed no evidence for genuine mutant molecules, placing an upper limit of insertion and deletion rates of 2 x 10(-7) and 3 x 10(-7), respectively, in the individuals tested. Such re-arrangements at these loci therefore occur at a rate lower than that detectable by the most sensitive methods currently available.</atom:summary>

  <atom:title type="text">Attempts to detect retrotransposition and de novo deletion of Alus and other dispersed repeats at specific loci in the human genome</atom:title>

  <atom:updated>2009-05-28T02:35:02Z</atom:updated>

  <sword:treatment>The package has been deposited into DSpace. Each file has been unpacked and provided with a unique identifier. The metadata in the manifest has been extracted and attached to the DSpace item, which has been provided with an identifier leading to an HTML splash page.</sword:treatment>

  <sword:verboseDescription>[2009-05-28 12:34:50.796] Initialising verbose deposit; [2009-05-28 12:34:50.812] Performing deposit using location: http://vm12:8080/sword/deposit/123456789/2; [2009-05-28 12:34:50.812] Location resolves to collection with handle: 123456789/2 and name: First Collection; [2009-05-28 12:34:50.812] User is authorised to submit to collection; [2009-05-28 12:34:50.812] Authenticated user: abai-7WuBAv+fczBGsCc+L4TfMSkBLnlaf3ui@public.gmane.org; [2009-05-28 12:34:50.812] Initialising depositor for an Item in a Collection; [2009-05-28 12:34:50.812] DSpace will store an original copy of the deposit, as well as ingesting the item into the archive; [2009-05-28 12:34:50.812] Loaded ingester: org.dspace.sword.SWORDMETSIngester; [2009-05-28 12:34:50.812] Using package manifest format: METS; [2009-05-28 12:34:50.812] Loaded package ingester: org.dspace.content.packager.DSpaceMETSIngester; [2009-05-28 12:35:02.875] Workflow process started; [2009-05-28 12:35:02.875] Updated date added to response from item metadata where available; [2009-05-28 12:35:02.953] Ingest successful; [2009-05-28 12:35:02.953] Item created with internal identifier: 11; [2009-05-28 12:35:02.953] No external identifier available at this stage (item in workflow); [2009-05-28 12:35:02.953] Archive ingest completed successfully; [2009-05-28 12:35:03.125] Original package stored as sword-2009-05-28.original, in item bundle org.dspace.content.Bundle <at> 11a20af; [2009-05-28 12:35:03.125] Initialising ATOM entry generator for an Item; [2009-05-28 12:35:03.140] Total time for deposit processing: 12344 ms;</sword:verboseDescription>

  <sword:noOp>false</sword:noOp>

  <sword:packaging>http://purl.org/net/sword-types/METSDSpaceSIP</sword:packaging>

  </atom:entry>

 

 

Thanks,

 

Andrew Bai

Senior Application Developer

ResearchMaster Pty Ltd

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
Stan Orlov | 2 Jun 2009 01:45
Picon

Re: Multiple languages at DSpace Communities and Collections

Greetings!

We would like to ask the same question as Ricardo (see below).  We can enable English and French interfaces in JSPUI (see screenshot attached), but not in XMLUI.  We could go with JSPUI, but we have a community that stores information from an external group and doesn't want to use the same look and feel as the rest of the repository, hence XMLUI.  And since we're in Canada, some of our users are French speaking so bilingualism is a deal-breaker for them.

Can we have a French/English switch in XMLUI 1.5.1 or 1.5.2?  Or, if that's not feasible yet, could we ask the DSpace gurus to consider this option?  And, finally, if having a choice between two languages in XMLUI is not going to be possible for the next while, what workaround could you recommend?

Cheers,
Stan
****************************
Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.orlov-fQbcAWJn1Q8@public.gmane.org


2009/2/23 Ricardo Beltrán <ricardobeltran-TXPVXDztUdU@public.gmane.orgg>
Dear DSpace community,
Is it possible to support multiple languages at Communities and Collection level?
It seems that the text that appears at this pages are stored at the database and thus are not properly externalized for the i18n module.
Is that correct?
Best regards
Ricardo Beltran
BIIACS

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
Jayan Kurian | 2 Jun 2009 08:15
Picon

Survey - Reporting Tool for DSpace - GSOC 2009

Hi! All,

As part of GSOC 2009, Ashly from the National University of Singapore is developing a reporting tool for DSpace. Please give your valuable input at this survey link if you have not participated previously. The survey won’t take more than 5 minutes.

Thanks for the 55 respondents who have given their valuable input.

http://www.surveymonkey.com/s.aspx?sm=hqlxR1A9SXqQQOGEOmWthg_3d_3d

Regards, Jayan

 

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

Gmane