Re: [Dspace-tech] thumbnails to url

2013-06-06 Thread helix84
Link to an example item?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Thu, Jun 6, 2013 at 11:06 AM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 Hi All



 On dsapce 3.1/xmlui version.Previosuly  thanks for heliex,we have done
 thumbnails to be linked to their corresponding pdf files.

 But now we need to make thumbnail  without pdf to be clickable to url
 (http://www.slideshare.net/ILRI/spvcd-uganda-zachary).





 Can anyone assists on this





 From: Webshet, Sisay (ILRI)
 Sent: Tuesday, May 28, 2013 12:03 PM
 To: 'heli...@centrum.sk'
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] thumbnails to pdf



 Thanks Helix,



 It works !





 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: Tuesday, May 28, 2013 11:39 AM
 To: Webshet, Sisay (ILRI)
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] thumbnails to pdf



 On Tue, May 28, 2013 at 10:15 AM, Webshet, Sisay (ILRI)
 s.webs...@cgiar.org wrote:
 Or I want to hide the thumbnails info like ( Files  SizeFormat
 ViewDescription)
 But I want the thumbnails to be linkable to pdf file

 https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L40



 To hide the Files in this item section, remove the xsl:choose block.



 Adding the JPG thumbnail image linking to the PDF file is easy, just add the
 following code to the top of the template:



 a

 xsl:attribute name=href

 xsl:value-of
 select=./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
 @USE='ORIGINAL']/mets:file[@MIMETYPE='application/pdf']/mets:FLocat/@xlink:href
 /

 /xsl:attribute

 img

 xsl:attribute name=src

 xsl:value-of
 select=./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
 @USE='ORIGINAL']/mets:file[@MIMETYPE='image/jpeg']/mets:FLocat/@xlink:href
 /

 /xsl:attribute

 /img

 /a


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 How ServiceNow helps IT people transform IT departments:
 1. A cloud service to automate IT design, transition and operations
 2. Dashboards that offer high-level views of enterprise services
 3. A single system of record for all IT processes
 http://p.sf.net/sfu/servicenow-d2d-j
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] thumbnails to url

2013-06-06 Thread helix84
On Thu, Jun 6, 2013 at 12:11 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org
wrote:
 Yes, link to URL:of an item (as an example to)
http://www.slideshare.net/ILRI/spvcd-uganda-zachary

No, this is what I asked for: http://cgspace.cgiar.org/handle/10568/28986

It's a simple modification of what I sent you before. Study the difference
and you should be able to make such modifications yourself, too.

a
xsl:attribute name=href
xsl:choose
xsl:when
test=./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='application/pdf']
xsl:value-of
select=./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='application/pdf']/mets:FLocat/@xlink:href
/
/xsl:when
xsl:otherwise
xsl:value-of
select=mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim/dim:field[@element='identifier'][@qualifier='uri']
/
/xsl:otherwise
/xsl:choose
/xsl:attribute
img
xsl:attribute name=src
xsl:value-of
select=./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='image/gif']/mets:FLocat/@xlink:href
/
/xsl:attribute
/img
/a


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] thumbnails to url

2013-06-06 Thread helix84
On Thu, Jun 6, 2013 at 1:06 PM, Webshet, Sisay (ILRI)
s.webs...@cgiar.org wrote:
 This is what we used for testing purpose,

 http://dspacetest.cgiar.org/handle/10568/27696

This still has the older snippet I sent you.

 Anyways I tried it on my local server but it hides the thumbnails as viewed 
 on the image

 I don't understand what you mean. This new snippet does nothing to
the image compared to the previous snippet. It only changes the link's
href attribute.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Not send the message submit_archive

2013-06-06 Thread helix84
On Thu, Jun 6, 2013 at 12:38 PM, M. Àngels Pulido
m.angels.pul...@uvic.cat wrote:
 I need the DSpace does not send the message submit_archive.

Comment out this line and rebuild DSpace:
https://github.com/DSpace/DSpace/blob/dspace-1_7_x/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L654


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Editing dspace-api and compiling

2013-06-06 Thread helix84
I can see no obvious problem. canEditItemInWorkflow() is a new static
method both added and called by the patch. It's called as a static
method, too. First thing I'd try is clearing the Cocoon cache because
who knows how it caches old Flowscript files? If that doesn't help,
second thing I'd try is to run mvn clean package and see if it
starts working. If it still doesn't work, send us the full stack trace.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] thumbnails to url

2013-06-06 Thread Webshet, Sisay (ILRI)
Yes, but after I done the update using the latest snippet it  hides the 
thumbnails that was viewed before 

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, June 06, 2013 2:13 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] thumbnails to url

On Thu, Jun 6, 2013 at 1:06 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org 
wrote:
 This is what we used for testing purpose,

 http://dspacetest.cgiar.org/handle/10568/27696

This still has the older snippet I sent you.

 Anyways I tried it on my local server but it hides the thumbnails as 
 viewed on the image

 I don't understand what you mean. This new snippet does nothing to the image 
compared to the previous snippet. It only changes the link's href attribute.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] How to use google mail server with windows 7 for dspace

2013-06-06 Thread Tech Savvy
Dear all,

I am novice to DSpace. Pls help me, how to use google mail server with
windows 7 for dspace to register users and sending emails from dspace??
What are the requirements for it and how to configure it.

Thanks

with regards
Atul
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How to use google mail server with windows 7 for dspace

2013-06-06 Thread helix84
On Thu, Jun 6, 2013 at 1:29 PM, Tech Savvy technosavvy...@gmail.com wrote:
 I am novice to DSpace. Pls help me, how to use google mail server with
 windows 7 for dspace to register users and sending emails from dspace?? What
 are the requirements for it and how to configure it.

Hi Atul,

this article explains it:
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Improve metadata quality using Google Refine

2013-06-06 Thread Tiago Rodrigo Marçal Murakami
Hi,

We test in our database and the results are fine. We think is good to share
in this list:

First we use a PHPPGADMIN to generate a tsv list of metadata we want to
improve quality:

SELECT FROM public. Metadatavalue WHERE metadata_field_id = 'X'

For example: use the journal title in metadata dc.relation.ispartof whose
id 42. I replace the metadata_field_id = 'X' at the end of the
consultation metadata_field_id = '42 '

The next step is to download and run Google Refine:
https://code.google.com/p/google-refine/

He is a webservice that allows batch editing and optimal algorithms of
semantic large amounts of data. Use the tsv to create a new project (do not
forget to choose the UTF-8 character encoding)

Google Refine has two features that can greatly help in editing the
records. Text and Facet Cluster and Edit. The first facet of all results
and the second column has algorithms that create clusters of information it
estimated to be equivalent.

Use Google Refine to fix all the database records and then export the
results in tsv again.

Edit this file using Notepad + + and replace function. In what find, select
Regular expression:

^ ([^ \ T] *) \ t ([^ \ t] *) \ t ([^ \ t] *) \ t ([^ \ t] *) \ t ([^ \ t]
*) \ t ([^ \ t] *) \ t ([^ \ t] *) \ t ([^ \ t] *) $

and replace with:

update metadatavalue September TEXT_VALUE = '\ 4', text_lang = '\ 5' where
metadata_value_id = \ 1;

The result is that all the lines will be transformed into a SQL UPDATE,
changing values and text_lang and text_value when metadata_value_id find
the corresponding.

Save the file as SQL and apply this sql in Database

Sorry for bad english

Tiago R. M. Murakami
Librarian
Brazil
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Improve metadata quality using Google Refine

2013-06-06 Thread helix84
Hi Tiago,

thanks for sharing your procedure with us. I think it can save you
some time or effort to know that there's also a CSV export/import
feature in DSpace called Batch Metadata Editing:
https://wiki.duraspace.org/display/DSDOC3x/Batch+Metadata+Editing

I'd recommend you to try it instead of your SQL import/export. It
works both from web UI (for a limited number of items/rows) and from
command line (unlimited).


Another related thing is a commercial module from @mire. It's an
alternative to Google Refine that works as an addon to XMLUI:
http://atmire.com/website/?q=modules/mqm


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Dspace always crashing

2013-06-06 Thread Roeland Dillen
I have also noticed Tomcat 7 versions lower than or equal to version 7.29
requiring much more memory.  Tomcat versions 6.x and 7.30 or above don't
show that issue.


On 6 June 2013 13:41, helix84 heli...@centrum.sk wrote:

 On Thu, Jun 6, 2013 at 1:38 PM, Joseph Frank Rogani
 joseph.rog...@unical.it wrote:
  The problem we have been experimenting is that most of the times we try
 and
  do something (creating or deleting a user, sending a message via the
  feedback form, making a simple search and much more) the server goes down
  and we need to stop and start Tomcat. This happens continuously.

 Hi Joseph,

 you'll have to provide more information. How much memory did you give
 Tomcat (the JAVA_OPTS variable)? What is at the end of dspace.log and
 catalina.out when Tomcat crashes?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 How ServiceNow helps IT people transform IT departments:
 1. A cloud service to automate IT design, transition and operations
 2. Dashboards that offer high-level views of enterprise services
 3. A single system of record for all IT processes
 http://p.sf.net/sfu/servicenow-d2d-j
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Dspace always crashing

2013-06-06 Thread helix84
On Thu, Jun 6, 2013 at 3:31 PM, Roeland Dillen roel...@mire.be wrote:
 I have also noticed Tomcat 7 versions lower than or equal to version 7.29 
 requiring much more memory.  Tomcat versions 6.x and 7.30 or above don't show 
 that issue.

Roeland, you probably mean this:
https://jira.duraspace.org/browse/DS-1553

There is no reason not to run the latest version of JDK and Tomcat on
Windows since you're not bound by distribution repositories, so I
assumed Joseph did. Joseph, can you confirm that?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] DSpace 3.x configuration questions

2013-06-06 Thread Thornton, Susan M. (LARC-B702)[LITES]

Hello,
 We are gearing up to upgrade two of our production DSpace instances in the 
near future.  One instance is currently at DSpace version 1.5.1/JSPUI and the 
other is at 1.7.1/JSPUI.  As part of these upgrades, we are going to be making 
the following DSpace application configuration changes:


1.   Switch from using IPlanet web server to Apache Tomcat

2.   Implement a standalone server on which the PostgreSQL databases will 
reside (we're separating the database from the application)

 With these new configuration changes, we have some questions:

1.   In IPlanet, we've always used a single instance of the webserver, with 
multiple virtual servers running under it and we plan to continue this set-up.  
IPlanet has a nice GUI web interface and it's always been easy to set up and 
maintain these multiple instances.  Our question is this:  Is this approach 
going to work for us with Apache Tomcat?  Would it be better for us to use 
standalone Tomcat or the Apache webserver with a connector to Tomcat?  What do 
most DSpace installations use?  Any recommendations?  Also, is there a GUI 
interface for Tomcat?

2.   Since we first implemented DSpace back in 2005, we've made a considerable 
number of code customizations - most are presentation layer (look and feel) 
changes including mandates for things we must have on government web sites; and 
some are business logic changes. In the past, when we have finished testing a 
new version of DSpace and begin our Production implementation, we've always 
created a new directory for the source on the Production server and then copied 
the source directory from Test to Production.  We then make the dspace.cfg file 
changes, etc, etc., then assemble and compile the application. So basically we 
are reinstalling DSpace on the Production server.  I was asked if we could just 
copy over the executable files to the Production server, for security reasons, 
and somehow I'm thinking this would be difficult, if not impossible.  Has 
anyone done this?  Thoughts?

 One other thing...we will likely implement the JSPUI version of DSpace 3.x 
in the smaller of the two instances, and maybe bite the bullet and implement 
the XMLUI version of 3.x in our large instance (currently 195,673 Items and 
188,024 documents and growing daily).  It's making me a little nervous that 
we're still so far behind version-wise with the one DSpace instance AND that 
more and more folks seem to be implementing the XMLUI interface.  We don't like 
being left behind.  :)

Thanks in advance,
Sue

-
Sue Thornton
Software Developer/DBA
SGT, Inc. ~ LITES Contract
NASA Langley Research Center
130 Research Drive, Hampton, VA.  23666
Office: (757) 224-4130  Mobile: (757) 506-9903  Fax: (757) 224-4001
susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov
sthorn...@sgt-inc.commailto:sthorn...@sgt-inc.com

inline: image001.gif--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette