[Dspace-tech] Sword V2 403 error

2012-06-20 Thread Ben Ryan
Hi,
I am changing to use Sword V2 and have attempted to upload a ZIP using the 
following command
CURL

E:\dev\utils\curl-7.23.1-win64\curl -i --data-binary @example.zip -H 
Content-Disposition: filename=myDSpaceMETSItem.zip -H Content-Type: 
application/zip -H X-Packaging: 
http://purl.org/net/sword-types/METSDSpaceSIP; -H X-No-Op: false -H 
X-Verbose: true 
http://ben.ryan%40hotmail.co.uk:@localhost:8080/swordv2/collection/123456789/634

This gives a 403 error

Output

HTTP/1.1 403 Forbidden
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 964
Date: Wed, 20 Jun 2012 05:58:12 GMT

The config is listed below, all I have chnaged is the upload temp dir, do I 
need to do any other config or is this a Tomcat issue?


Regards,
Ben

Sword V2 Config

#---#
#SWORD 2.0 SERVER CONFIGURATIONS#
#---#
# These configs are only used by the SWORD Server interface,#
# version 2.0 (used by DSpace to accept ingest packages via #
# SWORD 2.0 protocol)   #
#---#

# the base url of the sword 2.0  system
#
# the default if {dspace.url}/swordv2
#
#url = http://www.myu.ac.uk/swordv2

# The base URL of the SWORD collection.  This is the URL from
# which DSpace will construct the deposit location urls for
# collections.
#
# The default is {dspace.url}/swordv2/collection
#
# In the event that you are not deploying DSpace as the ROOT
# application in the servlet container, this will generate
# incorrect URLs, and you should override the functionality
# by specifying in full as below:
#
# collection.url = http://www.myu.ac.uk/swordv2/collection

# The base URL of the SWORD service document.  This is the
# URL from which DSpace will construct the service document
# location urls for the site, and for individual collections
#
# The default is {dspace.url}/swordv2/servicedocument
#
# In the event that you are not deploying DSpace as the ROOT
# application in the servlet container, this will generate
# incorrect URLs, and you should override the functionality
# by specifying in full as below:
#
# servicedocument.url = http://www.myu.ac.uk/swordv2/servicedocument

# The accept packaging properties, along with their associated
# quality values where appropriate.
#
# Global settings; these will be used on all DSpace collections
#
accept-packaging.collection.METSDSpaceSIP = 
http://purl.org/net/sword/package/METSDSpaceSIP
accept-packaging.collection.SimpleZip = 
http://purl.org/net/sword/package/SimpleZip
accept-packaging.collection.Binary = http://purl.org/net/sword/package/Binary

# The accept packaging properties for items.  This is used to determine
# which package types are acceptable to deposit into an existing item,
# either adding to or replacing the media resource
#
accept-packaging.item.METSDSpaceSIP = 
http://purl.org/net/sword/package/METSDSpaceSIP
accept-packaging.item.SimpleZip = http://purl.org/net/sword/package/SimpleZip
accept-packaging.item.Binary = http://purl.org/net/sword/package/Binary

# A comma separated list of MIME types that SWORD will accept
accepts = application/zip, image/jpeg

# Collection Specific settings: these will be used on the collections
# with the given handles
#
#accept-packaging.collection.[handle].METSDSpaceSIP = 
http://purl.org/net/sword-types/METSDSpaceSIP

# Should the server offer as the default the list of all Communities
# to a Service Document request.  If false, the server will offer
# the list of all collections, which is the default and recommended
# behaviour at this stage.
#
# NOTE: a service document for Communities will not offer any viable
# deposit targets, and the client will need to request the list of
# Collections in the target before deposit can continue
#
expose-communities = false
allow-community-deposit = false

# The maximum upload size of a package through the sword interface,
# in bytes
#
# This will be the combined size of all the files, the metadata and
# any manifest data.  It is NOT the same as the maximum size set
# for an individual file upload through the user interface.  If not
# set, or set to 0, the sword service will default to no limit.
#
max-upload-size = 0

# Should DSpace store a copy of the original sword deposit package?
#
# NOTE: this will cause the deposit process to run slightly slower,
# and will accelerate the rate at which the repository consumes disk
# space.  BUT, it will also mean that the deposited packages are
# recoverable in their original form.  It is strongly recommended,
# therefore, to leave this option turned on
#
keep-original-package = true

# The bundle name that SWORD should store incoming packages under if
# keep-original-package is set to true.  The default is SWORD
# if not value is set
#
# bundle.name = SWORD

# In the event of 

[Dspace-tech] Customizing DRI2XHTML-ALT based themes via overlays

2012-06-20 Thread Kariuki, Mark (FAOSO)
Hi all,

Please bear with me If this question has been asked, I am in a fix and I 
haven't found a conclusive way to search through email archives but how can I 
customize a theme (I am using Mirage currently as I find it easier to the eye), 
via overlays and add a simple pdf icon to pdf files that are linked to an item 
as Tim Donohue did in his presentation 
(www.slideshare.net/tdonohue/making-dspace-15-your-own-customizations-via-overlayshttp://www.slideshare.net/tdonohue/making-dspace-15-your-own-customizations-via-overlays),
 though this was back in the day and he was using the default manakin theme and 
as we know the xsls are now split into different sections all over, in the new 
dri2xhtml-alt based theme.

Thanks
Mark
--
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] epub

2012-06-20 Thread Alain Tschanz
Hello,
Is there any way to display .epub documents in DSpace? I added the mimetype to 
DSpace and uploaded a sample book. I can download it to my laptop and view it 
in Adobe Digital Editions, but I'm wondering if it's possible to read a .epub 
document in DSpace like I can view YouTube videos in DSpace.

Thank you for your help.

Alain

--
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] epub

2012-06-20 Thread helix84
On Wed, Jun 20, 2012 at 4:45 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Is there any way to display .epub documents in DSpace? I added the mimetype
 to DSpace and uploaded a sample book. I can download it to my laptop and
 view it in Adobe Digital Editions, but I’m wondering if it’s possible to
 read a .epub document in DSpace like I can view YouTube videos in DSpace.

Hi Alain,

DSpace currently doesn't understand the ePub format and cannot render it.
However, with some work, it should be possible to implement an online
ePub renderer and integrate it into your DSpace.

Example:

http://www.magicscroll.net

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


[Dspace-tech] Slideshow

2012-06-20 Thread Alain Tschanz
Hello,
I'm looking for a way to display a slideshow in DSpace.  I know that you can 
integrate Nivo Slider into DSpace, but you have to hard code the URIs of the 
images in an html file. Has anybody developed a template that can grab a 
handle, automatically resize the image and display it using Nivo Slider?

We're running DSpace ver. 1.8.2 with the XMLUI interface. The theme is based on 
REFERENCE.

Thank you for your help.


Alain
--
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] Slideshow

2012-06-20 Thread helix84
On Wed, Jun 20, 2012 at 5:39 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 I’m looking for a way to display a slideshow in DSpace.  I know that you can
 integrate Nivo Slider into DSpace, but you have to hard code the URIs of the
 images in an html file. Has anybody developed a template that can grab a
 handle, automatically resize the image and display it using Nivo Slider?

Hi Alain,

do I understand it correctly that you have multiple image bitstreams
attached to an item and you want to make a slideshow of these
bitstreams on the item page?

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] Slideshow

2012-06-20 Thread helix84
On Wed, Jun 20, 2012 at 5:54 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Sorry I wasn't more precise in my question, but I have hundreds of postcards 
 in DSpace each with a separate handle. The community called Postcards is 
 separated into collections of postcards from specific towns.

 Community: POSTCARDS
 Collections in community
 Town A Postcards:
 Items: School House, Boardwalk, etc. etc.

 Town B Postcards
 Items: park, church, beach, etc. etc.
 ...

 Alain

Please, always include a CC to dspace-tech.

With this structure, it would not be so simple to do. Probably the
best solution would be to create a separate aspect (Java code) for the
postcard browser. All it would need to do is put all the bitstream
links from the collection on one page. The rest is trivial - just
include the link to the Nivo javascript.

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] Customizing DRI2XHTML-ALT based themes via overlays

2012-06-20 Thread helix84
On Wed, Jun 20, 2012 at 9:31 AM, Kariuki, Mark (FAOSO)
mark.kari...@fao.org wrote:
 Please bear with me If this question has been asked, I am in a fix and I
 haven’t found a conclusive way to search through email archives but how can

The best way is to start with Google search. But you can also use the
searchable archives of our mailing list on mail-archive.com or
nabble.com, e.g.:

http://dspace.2283337.n4.nabble.com/DSpace-Tech-f3276945.html
http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/

 I customize a theme (I am using Mirage currently as I find it easier to the
 eye), via overlays and add a simple pdf icon to pdf files that are linked to
 an item as Tim Donohue did in his presentation
 (www.slideshare.net/tdonohue/making-dspace-15-your-own-customizations-via-overlays),
 though this was back in the day and he was using the default manakin theme
 and as we know the xsls are now split into different sections all over, in
 the new dri2xhtml-alt based theme.

The template you're looking for is still called xsl:template
match=mets:file, only now it's in
dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl
Override this template in your theme and just replace img
alt=Thumbnail with the desired image. To display a different icon
for each filetype, you can branch the code based on MIME type
contained in the @MIMETYPE attribute.

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] dc.date.issued

2012-06-20 Thread DSpace @ Lyncode
Hi,

required fields are defined at dspace/config/input-forms.xml if
dc.date.issued related field has the element:

 required/required

It will be required at the UI (XMLUI and JSPUI). A simple workaround that
could solve your problem, would be to create a specific form for a specific
collection without dc.date.issued as a required field or simply remove the
required element and allow all submissions without dc.date.issued.

DSpace 1.8.2 submission system does not allow (by default) to have required
fields depending on metadata values (like dc.format=POSTCARDS).

On 20 June 2012 16:12, Alain Tschanz atsch...@njstatelib.org wrote:

 We're running DSpace 1.8.2 and use the XMLUI interface.  We've developed
 our own theme but it is strongly based on REFERENCE. As for the postcards,
 we use dc.format=POSTCARDS to identify an item as such.

 Thank you for your help.

 Alain

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Wednesday, June 20, 2012 11:01 AM
 To: Alain Tschanz
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] dc.date.issued

 Hi Alain,

 I can't give you advice on the submission process because I don't have
 much experience with it, so I don't know if dc.date.issued must be a
 required field. Maybe someone else on this list can help.

 But it definitely is possible to hide issue date for certain item type
 (e.g. if dc.format = postcard) if that's what you want.
 What DSpace version, interface (JSPUI/XMLUI) and in case of which XMLUI
 theme are you using?

 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

--
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] dc.date.issued

2012-06-20 Thread Alain Tschanz
Thanks for the code. It worked, but the date is still displaying in Recent 
Submissions. How can I suppress it?

Thank you.

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Wednesday, June 20, 2012 11:38 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] dc.date.issued

On Wed, Jun 20, 2012 at 5:12 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 We're running DSpace 1.8.2 and use the XMLUI interface.  We've developed our 
 own theme but it is strongly based on REFERENCE. As for the postcards, we use 
 dc.format=POSTCARDS to identify an item as such.

OK, it's easy. From dri2xhtml/DIM-Handler.xsl, copy the 
itemSummaryView-DIM-fields template to your theme's XSL. Find this
line:
xsl:when test=$clause = 6 and (dim:field[@element='date' and 
@qualifier='issued']) and change it to this xsl:when test=$clause = 6 and 
(dim:field[@element='date' and
@qualifier='issued']) and (dim:field[@element='format'] != 'POSTCARD')

That's all that's needed.

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] dc.date.issued

2012-06-20 Thread helix84
On Wed, Jun 20, 2012 at 8:50 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 Thanks for the code. It worked, but the date is still displaying in Recent 
 Submissions. How can I suppress it?

It would be best if you follow LynCode's advice and not store the
metadata at all.

But here's how you can do it: copy this template:
xsl:template match=dim:dim mode=itemSummaryList-DIM-metadata

and replace these lines

  xsl:text, /xsl:text
/xsl:if
span class=date
  xsl:value-of select=substring(dim:field[@element='date' and
@qualifier='issued']/node(),1,10)/
/span

with this line:
/xsl:if

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


[Dspace-tech] SWORD issue when sending a file whose name includes diacritics

2012-06-20 Thread Sandoval, Álvaro
Hi Dspace community:

We are using a SWORD v1 server to receive items from a .NET web application.
When the SWORD client application sends a file whose name includes 
diacritics, it receives a 500 error as response.

This is part of dspace log file:

2012-06-19 09:42:39,599 ERROR org.purl.sword.server.DepositServlet @ 
X_NO_OP value is false
2012-06-19 09:42:39,669 INFO  org.dspace.sword.SWORDAuthenticator @ 
anonymous:session_id=0:ip_addr=172.20.122.31:sword_authenticate:username=administra...@domain.com,on_behalf_of=u...@domain.com
2012-06-19 09:42:39,669 INFO  
org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=0:ip_addr=172.20.122.31:authenticate:attempting 
password auth of user=administra...@domain.com
2012-06-19 09:42:39,708 INFO  
org.dspace.authenticate.PasswordAuthentication @ 
administra...@domain.com:session_id=0:ip_addr=172.20.122.31:authenticate:type=PasswordAuthentication
2012-06-19 09:42:39,712 INFO  org.dspace.sword.DSpaceSWORDServer @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:sword_deposit_request:username=administra...@domain.com,on_behalf_of=u...@domain.com
2012-06-19 09:42:39,713 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.713] Initialising verbose deposit;
2012-06-19 09:42:39,750 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.750] Performing deposit using location: 
http://dspace.domain.com/sword/deposit/10221/68;
2012-06-19 09:42:39,750 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.750] Location resolves to collection with handle: 
10221/68 and name: Desarrollo Económico;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] User is authorised to submit to collection;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Authenticated user: administra...@domain.com;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Depositing on behalf of: u...@domain.com;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Initialising depositor for an Item in a 
Collection;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Loaded ingester: 
org.dspace.sword.SWORDMETSIngester;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Using package manifest format: METS;
2012-06-19 09:42:39,898 INFO  org.dspace.sword.SWORDService @ 
[2012-06-19 09:42:39.898] Loaded package ingester: 
org.dspace.content.packager.DSpaceMETSIngester;

2012-06-19 09:42:39,899 INFO  
org.dspace.content.packager.AbstractMETSIngester @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:package_parse:Parsing 
package for ingest, file=SWORD-172.20.122.31-3
2012-06-19 09:42:40,807 INFO  org.dspace.content.Item @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:update_item:item_id=18531
2012-06-19 09:42:40,953 INFO  org.dspace.content.Item @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:create_item:item_id=18531
2012-06-19 09:42:41,279 INFO  org.dspace.content.Item @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:update_item:item_id=18531
2012-06-19 09:42:41,292 INFO  org.dspace.content.WorkspaceItem @ 
u...@domain.com:session_id=0:ip_addr=172.20.122.31:create_workspace_item:workspace_item_id=-1item_id=18531collection_id=45
2012-06-19 09:42:41,511 ERROR org.dspace.sword.SWORDMETSIngester @ 
caught exception:
java.lang.NullPointerException
 at java.util.zip.ZipFile.getInputStream(ZipFile.java:193)
 at 
org.dspace.content.packager.AbstractMETSIngester.getFileInputStream(AbstractMETSIngester.java:1449)
 at 
org.dspace.content.packager.AbstractMETSIngester.addBitstreams(AbstractMETSIngester.java:774)
 at 
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:500)
 at 
org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
 at 
org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:93)
 at 
org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:112)
 at org.dspace.sword.DepositManager.deposit(DepositManager.java:148)
 at 
org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:120)
 at 
org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at 

Re: [Dspace-tech] XMLWorkflow in DSpace 1.8.x

2012-06-20 Thread Jason Stirnaman

  
  

  So turns out the one change I didnt make was to config/modules/workflow.cfg :

  ... and then run the java migration.
  

  Mark thanks for the help.
  

  Jason On 6/20/2012 at 09:01 AM in message CAMA9Da4JFTWw7TJenPNS0sXsfeBqKFJHJVuKYaCX9MN6qq...@mail.gmail.com Mark Diggory mdigg...@atmire.com wrote:

  

  

  Jason

  

  


  
The default configuration has steps and roles similar to the original workflow. The data migration scripting should migrate your existing roles to the new workflow tables the UI will not look very different at first. Did you run the java portion of the migration  





  

  


  https://wiki.duraspace.org/display/DSDOC18/ConfigurableWorkflowConfigurableWorkflow-DataMigration28Backwardscompatibility29

  

  


  
To further test if your have it properly configured:  


  

  


  
1. you might post the contents of the cws_ database tables so we can review the state if the migration.  


  
2. Try enabling one of the custom steps that are provided in a test collection and see if you can set roles on it in the administrative interface.  


  

  
  
  
  

  MarkOn Tuesday June 19 2012 Jason Stirnaman wrote:

  

  After thinking I had fully made the switch to XMLWorkflow after upgrading to 1.8 I discovered that I hadnt made all the necessary config changes. Now after updating to 1.8.2 and making the changes see below I no longer see any artifacts of OriginalWorkflow on the Submissions screen but I still dont think the assignment of roles is working properly. Im not entirely sure what its supposed to look like in the UI but Im not seeing the features for assigning roles that Ive seen in screenshots and videos out on the web. If I Edit Collection the options under the Assign Roles tab havent changed at all from the OriginalWorkflow. I dont see options anywhere for assigning users to Roles defined in xmlworkflow config.

  Heres a short screencast of me clicking through the Admin UI: http://screencast.com/t/CrD0Gz2LIWq1

  What should I be checking for

  
  

  Im using the Mirage theme. Ive upgraded my test site to 1.8.2 run the db migrations for workflow disabled OriginalWorkflow enabled XMLWorfklow in xmlui.xconf. I checked the xmlworkflow configuration to make sure there are some workflows and roles in there but I didnt make any changes there.

  
  

  Thanks

  Jason

  
  Jason StirnamanBiomedical Librarian Digital ProjectsA.R. Dykes Library University of Kansas Medical Centerjstirna...@kumc.edu913-588-7319
  

  


  
  
  --

  

  

  


  


  
Mark Diggory Schedule a Meeting2888 Loker Avenue East Suite 305 Carlsbad CA. 92010Esperantolaan 4 Heverlee 3001 Belgiumhttp://www.atmire.com  

  

  


  

  

  

  


Re: [Dspace-tech] Customizing DRI2XHTML-ALT based themes via overlays

2012-06-20 Thread Andrea Schweer
Hi Mark,

On 21/06/12 04:32, helix84 wrote:
 On Wed, Jun 20, 2012 at 9:31 AM, Kariuki, Mark (FAOSO)
 mark.kari...@fao.org wrote:
 I customize a theme (I am using Mirage currently as I find it easier to the
 eye), via overlays and add a simple pdf icon to pdf files that are linked to
 an item as Tim Donohue did in his presentation
 (www.slideshare.net/tdonohue/making-dspace-15-your-own-customizations-via-overlays),
 though this was back in the day and he was using the default manakin theme
 and as we know the xsls are now split into different sections all over, in
 the new dri2xhtml-alt based theme.
 The template you're looking for is still called xsl:template
 match=mets:file, only now it's in
 dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl
 Override this template in your theme and just replace img
 alt=Thumbnail with the desired image. To display a different icon
 for each filetype, you can branch the code based on MIME type
 contained in the @MIMETYPE attribute.

If you'd like to see an example -- https://gist.github.com/296 is
the mets:file template used for Otago University's DSpace instance, OUR
Archive: http://otago.ourarchive.ac.nz/

Either replace the mets:file template in your item-view.xsl with the one
in the gist, or copy the template from the gist into your Mirage.xsl
file (templates directly in Mirage.xsl override those in stylesheets
included by Mirage.xsl).

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
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] XMLWorkflow in DSpace 1.8.x

2012-06-20 Thread Mark Diggory
Jason,

It looks like the docs didn't emphasize that enough,  I altered tehm to
imporve the importance of those settings.

Thanks,
Mark

On Wed, Jun 20, 2012 at 1:52 PM, Jason Stirnaman jstirna...@kumc.eduwrote:

  So, turns out the one change I didn't make was to
 config/modules/workflow.cfg :)

 ... and then run the java migration.

  Mark, thanks for the help.

  Jason


  On 6/20/2012 at 09:01 AM, in message 
 cama9da4jftww7tjenpns0sxsfebqkfjhjvukyacx9+mn6q+...@mail.gmail.com, Mark
 Diggory mdigg...@atmire.com wrote:

Jason,


   The default configuration has steps and roles similar to the original
 workflow. The data migration scripting should migrate your existing roles
 to the new workflow tables, the UI will not look very different at first.
 Did you run the java portion of the migration?



 https://wiki.duraspace.org/display/DSDOC18/Configurable+Workflow#ConfigurableWorkflow-DataMigration%28Backwardscompatibility%29


   To further test if your have it properly configured:


   1. you might post the contents of the cws_ database tables so we can
 review the state if the migration.

 2. Try enabling one of the custom steps that are provided in a test
 collection and see if you can set roles on it in the administrative
 interface.


   Mark

 On Tuesday, June 19, 2012, Jason Stirnaman wrote:

  After thinking I had fully made the switch to XMLWorkflow after
 upgrading to 1.8, I discovered that I hadn't made all the necessary config
 changes. Now, after updating to 1.8.2 and making the changes (see below), I
 no longer see any artifacts of OriginalWorkflow on the Submissions
 screen, but I still don't think the assignment of roles is working
 properly. I'm not entirely sure what it's supposed to look like in the UI,
 but I'm not seeing the features for assigning roles that I've seen in
 screenshots and videos out on the web. If I Edit Collection, the options
 under the Assign Roles tab haven't changed at all from the
 OriginalWorkflow. I don't see options anywhere for assigning users to Roles
 defined in xmlworkflow config.

 Here's a short screencast of me clicking through the Admin UI: *
 http://screencast.com/t/CrD0Gz2LIWq1*

 What should I be checking for?


  I'm using the Mirage theme. I've upgraded my test site to 1.8.2, run
 the db migrations for workflow, disabled OriginalWorkflow, enabled
 XMLWorfklow in xmlui.xconf. I checked the xmlworkflow configuration to make
 sure there are some workflows and roles in there, but I didn't make any
 changes there.


  Thanks,

 Jason


 Jason Stirnaman
 Biomedical Librarian, Digital Projects
 A.R. Dykes Library, University of Kansas Medical Center
 jstirna...@kumc.edu
 913-588-7319





 --

 [image: @mire Inc.]

 *Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory)
 *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 http://www.atmire.com





-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
image/jpg--
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] epub

2012-06-20 Thread Panyarak Ngamsritragul


Hi,

For Firefox, ePub can be view if epubreader extension is installed.
https://addons.mozilla.org/firefox/downloads/latest/45281/addon-45281-latest.xpi?src=dp-btn-primary

Panyarak

On Wed, 20 Jun 2012, helix84 wrote:


On Wed, Jun 20, 2012 at 4:45 PM, Alain Tschanz atsch...@njstatelib.org wrote:

Is there any way to display .epub documents in DSpace? I added the mimetype
to DSpace and uploaded a sample book. I can download it to my laptop and
view it in Adobe Digital Editions, but I’m wondering if it’s possible to
read a .epub document in DSpace like I can view YouTube videos in DSpace.


Hi Alain,

DSpace currently doesn't understand the ePub format and cannot render it.
However, with some work, it should be possible to implement an online
ePub renderer and integrate it into your DSpace.

Example:

http://www.magicscroll.net

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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] install Snoobi web analytics tool in DSpace 1.8.0 on Tomcat 6 webserver

2012-06-20 Thread Andrea Schweer

  
  
Hi,

On 20/06/12 17:50, Meijer, Rob wrote:

  
Thanks
for your prompt response. We use XMLUI, so I will have a
look at the templates involved!
  


For XMLUI, it depends on the theme you use. If your theme is based
on Mirage, look for the 
xsl:template name="addJavascript"

template in page-structure.xml. Paste in your HTML snippet at the
end of that template, underneath the Google Analytics bit. Note
though that browsers don't like self-closing script tags, but if you
just paste in the code you were given, that's what will be
generated. Put in a non-breaking space to force the closing tag,
like so:

 !-- BEGIN Snoobi v1.4 --
 script type="text/_javascript_" src=""http://eu1.snoobi.com/snoop.php?tili=??_??%22%3e%3c/script">http://eu1.snoobi.com/snoop.php?tili=??_??"#160;/script
 !-- END Snoobi v1.4 --
(note the #160;)

For non-Mirage based themes, insert that code at the bottom of the
xsl:template match="dri:document" template (before the
closing body tag).

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
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] epub

2012-06-20 Thread Mark Diggory
Alain,

Please excuse the shameless plug, but its relevant to the topic.  @mire's
Document Streaming module for DSpace is based on Scribd, which supports
page turning of many document and presentation formats, including epub.

http://atmire.com/website/?q=modules/ds

Cheers,
Mark
On Jun 20, 2012 6:51 PM, Panyarak Ngamsritragul pa...@me.psu.ac.th
wrote:


 Hi,

 For Firefox, ePub can be view if epubreader extension is installed.
 https://addons.mozilla.org/**firefox/downloads/latest/**
 45281/addon-45281-latest.xpi?**src=dp-btn-primaryhttps://addons.mozilla.org/firefox/downloads/latest/45281/addon-45281-latest.xpi?src=dp-btn-primary

 Panyarak

 On Wed, 20 Jun 2012, helix84 wrote:

  On Wed, Jun 20, 2012 at 4:45 PM, Alain Tschanz atsch...@njstatelib.org
 wrote:

 Is there any way to display .epub documents in DSpace? I added the
 mimetype
 to DSpace and uploaded a sample book. I can download it to my laptop and
 view it in Adobe Digital Editions, but I’m wondering if it’s possible to
 read a .epub document in DSpace like I can view YouTube videos in DSpace.


 Hi Alain,

 DSpace currently doesn't understand the ePub format and cannot render
 it.
 However, with some work, it should be possible to implement an online
 ePub renderer and integrate it into your DSpace.

 Example:

 http://www.magicscroll.net

 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/http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 __**_
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.**net DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/**lists/listinfo/dspace-techhttps://lists.sourceforge.net/lists/listinfo/dspace-tech

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.



 --
 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


--
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] Strange build behaviour

2012-06-20 Thread Gary Browne
Hello,

Across some of our DSpace instances, we are having a problem with building and 
deploying with regards to java code changes. We are running the JSPUI.

mvn package and ant update both run successfully, even when we deliberately put 
erroneous code into java files! We have only noticed this since upgrading to 
1.8.2 (from 1.6.2), but are not certain that it is a version issue (we would be 
very surprised). The application also runs without error, so it looks like 
compilation and deployment of the java files is not actually happening. How can 
I check this??

JSP files build and deploy correctly (ie. fail with errors, succeed without).

Anyone else experienced anything like this??

Thanks,
Gary


GARY BROWNE | Development Programmer 
Library IT Services | Fisher Library F03    

THE UNIVERSITY OF SYDNEY

T +61 2 9351 5946  | M +61 405 647 868  
E gary.bro...@sydney.edu.au  | W http://sydney.edu.au 
Sent from my plain old desktop computer.

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. If you receive this email in error, please delete it and 
any attachments.
Please think of our environment and only print this e-mail if necessary.



--
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