Re: [Dspace-tech] Export of Statistics Reports In Excel

2009-10-07 Thread Hardik Mishra
Hello Sanjib

As far as i know currently there is no options available to generate
statistics reports in varios
formats like excel, pdf etc.


-- 
Best Regards
Hardik Mishra
Software Engineer

http://bit.ly/uJ60P - Join Us on Facebook
http://www.twitter.com/webinito - Follow us on Twitter

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.



Message: 1
Date: Tue, 6 Oct 2009 19:35:05 +0530
From: sanjib mondal sanjib.sa...@gmail.com
Subject: [Dspace-tech] export to excel for dspace statistical report
To: dspace-tech@lists.sourceforge.net
Message-ID:
   5162d0910910060705w2ce6bb91uc27965682bec8...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi All,

  I want to export statistical report of dspace in excel sheet from Dspace
UI.
Please help me if any body has done this before.

Regards
Sanjeev
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] displayed-values in search and browse results

2009-10-07 Thread Claudia Jürgen

Hello Virginia,


there is no straightforward way to recycle the value-pair lists in 
order to change the item display, browse etc.


As for the display of the iso language in the item display, that's just 
a small change in the ItemTag.java (supposing you are referring to the 
jspui).


Here is an example test installation, is it this what you want?

https://eldorado2.uni-dortmund.de/dspace151cj/handle/2003/3

Hope that helps

Claudia Jürgen


Virginia Knight schrieb:
I have customised my DSpace input form to show the user different values 
for certain fields from what is stored, using stored-value and 
displayed-value pairs. So the cataloguer sees 'English' for the language 
but 'en' is stored.


Is there a straightforward way to get 'displayed' rather than 'stored' 
values to come out in search/browse results as well as on the input form? 
(I don't mind if the 'stored value' appears on the full record - I'm 
thinking of the previous screen). Has anyone an example of how they did it 
which they would be willing to show me? It would be helpful not only for my 
own use of DSpace but also because I may in due course be advising others 
on setup.


Jessica Lindholm raised this problem at:
http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg02444.html
but she was using DSpace 1.4.1 not 1.5.2.

Virginia Knight
--
Virginia Knight, Institute for Learning and Research Technology
Tel: +44 (0)117 331 4369  Fax:  +44 (0)117 331 4396
University of Bristol, 8-10 Berkeley Square, Bristol BS8 1HH
virginia.kni...@bristol.ac.uk
Official homepage: http://www.ilrt.bris.ac.uk/aboutus/staff?search=cmvhk
Personal homepage: http://www.ilrt.bris.ac.uk/~cmvhk/virginia.html
ILRT homepage: http://www.ilrt.bristol.ac.uk


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;

http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
attachment: Claudia_Juergen.vcf--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Item level statistics for XMLUI

2009-10-07 Thread Federico Lazcano

Hi everyone!

I'm looking to implement some kind of item level stats for Dspace 1.5.2, using 
XMLUI, Ubuntu 8.04.3 LTS.

My first shot was to try Minho RepositoriUM Statistics, but as far as i know 
it only works for JSPUI, using the info facility.

Then I thought about University of Rochester's Dspace statistics package, 
Nathan Sarr gently told me that it's no longer supported, so there is little 
chance for it to work with Dspace 1.5.2.

I'm already using Google Analytics, but you already know it's not enough.

Any advice on this topic will be really appreciated.
Thanks.
-- 

Federico Lazcano

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] two theme modification questions

2009-10-07 Thread Keith Gilbertson
On Tue, Oct 6, 2009 at 10:57 AM, Platt, Alice a.pl...@snhu.edu wrote:



 I’d like to make the Author and Subject clickable links in the simple item
 view. The instructions on the Manakin HOWTO page of the DSpace wiki says
 that “The XSLT that creates author listings is in
 themes/dri2xhtml/DS-METS-1.0-DIM.xsl”. However, I do not have a file called
 DS-METS-1.0-DIM.xsl. Has this code moved to a different xsl file, and where
 would I find it? I did try looking in “structural.xsl,” but it wasn’t there.


Hi Alice.  In the 1.5 version of Manakin, there is a file called
DIM-Handler.xsl.  The metadata in the simple item view is formatted in
the template that starts with this line:
xsl:template match=dim:dim mode=itemSummaryView-DIM

Does this match what you're looking for?

-- keith

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] two theme modification questions

2009-10-07 Thread Keith Gilbertson

 My other question: I’d also like to add some text below the “go” button on
 the Advanced Search page. I’ve added what I want to say to messages.xml, but
 now I’m having trouble finding the code for where the Advanced Search page
 comes from. I figured if I searched in the structural.xsl file for some of
 the other messages.xml text that is present on the Advanced Search page, I
 would find it, but… no luck.


In the 1.5 version of Manakin, the Advanced Search form is built in
the Java code, in the AdvancedSearch.java file of the artifactbrowser
aspect.  If you don't want to touch the Java file, it's still possible
to override this form at the theme level by using a new template in
your theme that starts with this line:

xsl:template match=dri:d...@n='advanced-search']

-- keith

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Change the item preview

2009-10-07 Thread Héctor Garcia Peris

Hi Stuart,

I was working with the dspace-1.5.2-release, but if I want to modify
this behaviour I must work with dspace-1.5.2-src-release. Is it possible
only recompile the jar file and use it in the dspace-1.5.2-release?

Thanks.


Stuart Lewis escribió:
 Hi Héctor,

   
 I want to change the full metadata view of an item. Looking into the
 files the org.dspace.app.webui.servlet.HandleServlet servlet calls
 /display-item.jsp file to show an item.
 Looking this file I think that the command that shows the full  
 metadata
 view is:

dspace:item-preview item=%= item % /
dspace:item item=%= item % collections=%= collections %
 style=%= displayStyle % /

 In the full view there are three columns: the first one is the dc  
 field,
 the second is the value and the third is the language. I want to  
 remove
 this third column, but I don't know how remove it. I think it could be
 related with those previous dspace directives, but I don't know  
 how it
 works. Can anybody help me to remove the language column?
 

 When tags begin with 'dspace:' it means that they are part of the  
 DSpace tag library. You can match up the name (e.g. 'item') with the  
 relevant class by looking in [dspace-src]/dspace-jpui/dspace-jspui- 
 webapp/src/main/webapp/WEB-INF/dspace-tags.tld

 You should see this:

tag
  nameitem/name
  tagclassorg.dspace.app.webui.jsptag.ItemTag/tagclass
  info
Tag for displaying an item.  item must always be an
org.dspace.content.Item.  style should be default or  
 full, or can
be omitted to use default.  collections should be the array  
 of
collections the item is in, worked out beforehand to avoid the  
 chance
of an error occurring during display.  If collections is null,  
 the
collections the item is in aren't listed.
  /info
  attribute
nameitem/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
  /attribute
  attribute
namestyle/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
  /attribute
  attribute
namecollections/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
  /attribute
/tag

 So you'll need to look in the Java class [dspace-src]/dspace-jspui/ 
 dspace-jspui-api/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java

 Look for the renderFull() method, and edit as required.

 I hope this helps,


 Stuart Lewis
 IT Innovations Analyst and Developer
 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/


 P.S. - you may get quicker answers to technical questions if they are  
 posted to the dspace-tech email list 
 (https://lists.sourceforge.net/lists/listinfo/dspace-tech 
 )

-- 

-
Héctor Garcia Peris
Dpto. Informática
Instituto Valenciano de Investigaciones Económicas S.A. (Ivie)
C/ Guardia Civil, 22 esc-2 1º 46020 - Valencia (Spain)
Tfno.: +34 - 963190050 / +34 - 963930816
Fax.: +34 - 963190055 / +34 - 963930856
e-mail: hector.gar...@ivie.es
Web: http://www.ivie.es
--



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] which web.xml -file to edit

2009-10-07 Thread Claudia Jürgen

Hello Mikan,

the file can be found at:
[dspace-source]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/WEB-INF

Hope that helps

Claudia Jürgen


mikan.d.dspace listmail schrieb:

I need to modify web.xml found under
/dspace/webapps/xmlui/WEB-INF/web.xml. Where can I find the source for
this file under /dspace-src/modules/ in order to save the changes for
my future installations?

Thanks,
Mika

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;

http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
attachment: Claudia_Juergen.vcf--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] two theme modification questions: linking author

2009-10-07 Thread Platt, Alice
Hi Keith,

Thank you, yes, that does exactly match what I am looking for. Unfortunately, 
now my link doesn't go anywhere!

I used the code in the wiki for the link, shown below (I've changed the html 
brackets to different brackets for email transmission), but apparently the 
value-of select has also changed in 1.5. Methinks we need to update the wiki! 
;-)

[a]
[xsl:attribute name=href]
[xsl:value-of
select=concat($context-path,'/browse-author-items?author=')/]
[xsl:copy-of select=./]
[/xsl:attribute]
[xsl:value-of select=text()/]
[/a]

Does anyone know what this link should be for 1.5? I compared the HTML code of 
the link I just created to the link that displays in the Author Browse 
(assuming they would be the same) and they are definitely different, but now 
I'm having trouble figuring out where the code comes from that created the 
browse link. Grrr.

I had also planned to link the Subject... I imagine the links would be very 
similar.

Alice

-Original Message-
From: Keith Gilbertson [mailto:keith.gilbert...@gmail.com]
Sent: Wednesday, October 07, 2009 7:53 AM
To: Platt, Alice
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] two theme modification questions

On Tue, Oct 6, 2009 at 10:57 AM, Platt, Alice a.pl...@snhu.edu wrote:



 I'd like to make the Author and Subject clickable links in the simple item
 view. The instructions on the Manakin HOWTO page of the DSpace wiki says
 that The XSLT that creates author listings is in
 themes/dri2xhtml/DS-METS-1.0-DIM.xsl. However, I do not have a file called
 DS-METS-1.0-DIM.xsl. Has this code moved to a different xsl file, and where
 would I find it? I did try looking in structural.xsl, but it wasn't there.


Hi Alice.  In the 1.5 version of Manakin, there is a file called
DIM-Handler.xsl.  The metadata in the simple item view is formatted in
the template that starts with this line:
xsl:template match=dim:dim mode=itemSummaryView-DIM

Does this match what you're looking for?

-- keith

Please consider the environment before printing this e-mail.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with DSpace-1.5.2 on Ubuntu linux

2009-10-07 Thread Wynne, David
Read all the FAQ's  documentation I can find. Googled the error, but I
can't find a solution so I'd appreciate any help.
 
I've recently installed DSpace. Build  install went without a single
error.
 
I then copied the jspui directory to where Tomcat 6 is looking:
 
/var/lib/tomcat6/webapps
 
Stopped  restarted Tomcat6, but the following error is in
localhost.2009-10-07.log:
 
DSpace has failed to initialize, during stage 2. Error while attempting
to read 
the 
DSpace configuration file (Path:
'/usr/local/dspace-1.5.2/config/dspace.cfg'). 
This has likely occurred because either the file does not exist, or it's
permiss
ions 
are set incorrectly, or the path to the configuration file is incorrect.
The pat
h to 
the DSpace configuration file is stored in a context variable,
'dspace-config', 
in 
either the local servlet or global context.
 
The file is there:
 
-rw-r--r-- 1 tomcat6 tomcat6 68726 2009-10-06 17:19
/usr/local/dspace-1.5.2/config/dspace.cfg
 
Checked the web.xml in the jspui/WEB-INF to make sure there wasn't any
hidden chars ( like ^M that can happen with PC files ).
 
Thanks
 
Dave Wynne
Senior Technical Officer
School of Computing and Maths
Liverpool John Moores University
Byrom Street
Liverpool L2 2AF
E-Mail: d.wy...@ljmu.ac.uk
Tel:0151-231-2108 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OfficeSWORD

2009-10-07 Thread Debashree Pati

Hi Stuart,

I made the suggested changes to my dspace.cfg, restarted Tomcat and 
retried a deposit. But still get the same error:


Unacceptable content type in deposit request: 
application/vnd.openxmlformats-officedocument.wordprocessingml.document


I have attached the SWORD specific configuration part of my 
dspace.cfg. Please let me know if anything is missing/wrong.


Thanks,
Deb



---
Have you set the following options in your dspace.cfg?

plugin.named.org.dspace.sword.SWORDIngester = \
  org.dspace.sword.SWORDMETSIngester = 
http://purl.org/net/sword-types/METSDSpaceSIPhttp://purl.org/net/sword-types/METSDSpaceSIP 
\

  org.dspace.sword.SimpleFileIngester = SimpleFileIngester \
  org.dspace.sword.DocxIngester = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document


sword.accept-packaging.Docx.identifier = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document

sword.accept-packaging.Docx.q = 1.0

sword.accepts = application/zip, 
application/vnd.openxmlformats-officedocument.wordprocessingml.document


Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
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/http://www.library.auckland.ac.nz/
#---#
#--SWORD SPECIFIC CONFIGURATIONS#
#---#
# These configs are only used by the SWORD interface#
#---#

# tell the SWORD METS implementation which package ingester to use
# to install deposited content.  This should refer to one of the
# classes configured for:
#
# plugin.named.org.dspace.content.packager.PackageIngester
#
# The value of sword.mets-ingester.package-ingester tells the
# system which named plugin for this interface should be used
# to ingest SWORD METS packages
#
# The default is METS
#
# sword.mets-ingester.package-ingester = METS

# Define the metadata type EPDCX (EPrints DC XML)
# to be handled by the SWORD crosswalk configuration
#
mets.submission.crosswalk.EPDCX = SWORD

# define the stylesheet which will be used by the self-named
# XSLTIngestionCrosswalk class when asked to load the SWORD
# configuration (as specified above).  This will use the
# specified stylesheet to crosswalk the incoming SWAP metadata
# to the DIM format for ingestion
#
crosswalk.submission.SWORD.stylesheet = crosswalks/sword-swap-ingest.xsl

# The base URL of the SWORD deposit.  This is the URL from
# which DSpace will construct the deposit location urls for
# collections.
#
# The default is {dspace.url}/sword/deposit
#
# 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:
#
 sword.deposit.url = http://75.101.130.190:8080/sword/deposit

# 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}/sword/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:
#
sword.servicedocument.url = http://75.101.130.190:8080/sword/servicedocument

# The base URL of the SWORD media links.  This is the URL
# which DSpace will use to construct the media link urls
# for items which are deposited via sword
#
# The default is {dspace.url}/sword/media-link
#
# 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:
#
# sword.media-link.url = http://www.myu.ac.uk/sword/media-link

# The URL which identifies the sword software which provides
# the sword interface.  This is the URL which DSpace will use
# to fill out the atom:generator element of its atom documents.
#
# The default is:
#
# http://www.dspace.org/ns/sword/1.3.1
#
# If you have modified your sword software, you should change
# this URI to identify your own version.  If you are using the
# standard dspace-sword module you will not, in general, need
# to change this setting
#
# sword.generator.url = http://www.dspace.org/ns/sword/1.3.1

# The metadata field in which to store the updated date for
# items deposited via SWORD.
#
sword.updated.field = dc.date.updated

# The metadata field in which to store the value of the slug
# header if it is 

[Dspace-tech] How do I override a message key in a theme?

2009-10-07 Thread Jizba, Richard
Hello,

Within a theme, is there a way to override a message key from
messages.xml

For example, what if I want to change this:
  message
key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleTitle/message
To this:
   message
key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleRecipient/message


Richard
Creighton University


I originally asked this question as:

Can someone tell me how to change the text/labels on the Advanced
Search - Search Type options for a particular collection or community?
This community does have its own theme. I want to change the text, not
the search itself. 

Example:
I want to keep a title search but change the label to Recipient
because in this community are collections of personal letters and the
Recipient is the logical equivalent of the title in other collections.
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How do I override a message key in a theme?

2009-10-07 Thread Walker, David
Hi Richard,

Try this.  In your theme XSLT add:

xsl:template match=i18n:text
  xsl:choose
   xsl:when test=text() = 'xmlui.ArtifactBrowser.AdvancedSearch.type_title'
xsl:textRecipient/xsl:text
   /xsl:when
   xsl:otherwise
xsl:copy-of select=./
   /xsl:otherwise
  /xsl:choose
/xsl:template

This is untested, but I think this (or something like it) should work.

--Dave


==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu


From: Jizba, Richard [richardji...@creighton.edu]
Sent: Wednesday, October 07, 2009 9:37 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] How do I override a message key in a theme?


Hello,
Within a theme, is there a way to override a message key from messages.xml
For example, what if I want to change this:
  message key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleTitle/message
To this:
   message 
key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleRecipient/message
Richard
Creighton University
I originally asked this question as:
Can someone tell me how to change the text/labels on the Advanced
Search - Search Type options for a particular collection or community?
This community does have its own theme. I want to change the text, not
the search itself. 
Example:
I want to keep a title search but change the label to Recipient
because in this community are collections of personal letters and the
Recipient is the logical equivalent of the title in other collections.
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How do I override a message key in a theme?

2009-10-07 Thread Jizba, Richard
David,

Thank you. This worked.

Richard


-Original Message-
From: Walker, David [mailto:dwal...@calstate.edu] 
Sent: Wednesday, October 07, 2009 11:54 AM
To: Jizba, Richard; dspace-tech@lists.sourceforge.net
Subject: RE: How do I override a message key in a theme?

Hi Richard,

Try this.  In your theme XSLT add:

xsl:template match=i18n:text
  xsl:choose
   xsl:when test=text() =
'xmlui.ArtifactBrowser.AdvancedSearch.type_title'
xsl:textRecipient/xsl:text
   /xsl:when
   xsl:otherwise
xsl:copy-of select=./
   /xsl:otherwise
  /xsl:choose
/xsl:template

This is untested, but I think this (or something like it) should work.

--Dave


==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu


From: Jizba, Richard [richardji...@creighton.edu]
Sent: Wednesday, October 07, 2009 9:37 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] How do I override a message key in a theme?


Hello,
Within a theme, is there a way to override a message key from
messages.xml
For example, what if I want to change this:
  message
key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleTitle/message
To this:
   message
key=xmlui.ArtifactBrowser.AdvancedSearch.type_titleRecipient/message

Richard
Creighton University
I originally asked this question as:
Can someone tell me how to change the text/labels on the Advanced
Search - Search Type options for a particular collection or community?
This community does have its own theme. I want to change the text, not
the search itself. 
Example:
I want to keep a title search but change the label to Recipient
because in this community are collections of personal letters and the
Recipient is the logical equivalent of the title in other collections.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] change title to author in workflow tasks?

2009-10-07 Thread Platt, Alice
During our testing of DSpace 1.5.1 XMLUI, we've noticed that in Submissions, 
under Tasks you own Tasks in the pool etc., the items are identified by 
Title. This is really a major problem for us; we can't expect our content 
specialist or professors to recognize a student's work in the pool by Title. It 
would make much more sense and save the editors a lot of time to have the 
Author displayed in the column list.

I realize this is probably something that needs to be changed in the Java code. 
Has anyone done this who would be willing to share the code?

With sincere thanks,

Alice Platt
Digital Initiatives Librarian
Shapiro Library
Southern New Hampshire University
2500 North River Rd
Manchester, NH 03106
USA

Please consider the environment before printing this e-mail.
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Change the item preview

2009-10-07 Thread Stuart Lewis
Hi Héctor,

 I was working with the dspace-1.5.2-release, but if I want to modify
 this behaviour I must work with dspace-1.5.2-src-release. Is it  
 possible
 only recompile the jar file and use it in the dspace-1.5.2-release?


You could but it will probably be easier to start working with the - 
src- release which will give you a lot more flexibility to make  
changes in the longer term.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
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/


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with DSpace-1.5.2 on Ubuntu linux

2009-10-07 Thread Stuart Lewis
Hi David,

I've recently installed DSpace. Build  install went without a single error.

Excellent - that is often the trickiest bit.

I then copied the jspui directory to where Tomcat 6 is looking:

/var/lib/tomcat6/webapps

Stopped  restarted Tomcat6, but the following error is in 
localhost.2009-10-07.log:

DSpace has failed to initialize, during stage 2. Error while attempting to read
the
DSpace configuration file (Path: '/usr/local/dspace-1.5.2/config/dspace.cfg').
The file is there:

-rw-r--r-- 1 tomcat6 tomcat6 68726 2009-10-06 17:19 
/usr/local/dspace-1.5.2/config/dspace.cfg

Tomcat has a security manager which is often configured to be pretty 
restrictive in terms of allowing applications to open files outside of the 
tomcat installation folders.

The easiest solution (if this is what is causing the problem) is to edit 
/etc/default/tomcat6 and addor edit the line about TOMCAT6_SECURITY and set it 
to equal to 'no':

TOMCAT6_SECURITY = no

Alternatively you could edit the catalina policy file to only provide read and 
write access to the relevant files, but unless you are hosting other 
applications iwth security considerations on the same server, turning security 
off should be fine.

I hope this helps,


Stuart Lewis
IT Innovations Analyst and Developer
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/

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] html enties (html symbols)

2009-10-07 Thread Terrance Davis
Hi,

My users of DSpace want to insert special symbols by editing metadata of 
approved submissions. Inserting as an html entity doesn't work, because 
the  is re-interpreted as a amp; before inserting in the database.

Is there a way to escape the ampersand so that the raw HTML entity is 
not mangled? (for instance prevent lt; from becoming amp;lt;) Or, do I 
need to edit the database directly in the database? The characters we 
want may cut and paste, but not submit properly to DSpace.

Thanks in advance.

-Terrance


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] html enties (html symbols)

2009-10-07 Thread Allen Lam
Hi Terrance,

The solution depends on how you are entering data to dspace.

Take a common scenario as example. If the user is opening the web-based 
Edit Item tool, and wishes to add a copyright sign (a circle-c) to one 
of the fields, he can type in #169; and save twice.

To type in Greek chars, e.g. #945; for alpha, #946; for beta, etc.
You can find these magic numbers in the Unicode book or web 
(http://www.unicode.org/).

Why save twice?
After the first save the data will be recorded plainly as #169; in db.
When it is redisplayed in the web browser edit tool, it will be 
interpreted as the circle-c char. Save it again.

Cheers,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk



Terrance Davis wrote:
 Hi,

 My users of DSpace want to insert special symbols by editing metadata of 
 approved submissions. Inserting as an html entity doesn't work, because 
 the  is re-interpreted as a amp; before inserting in the database.

 Is there a way to escape the ampersand so that the raw HTML entity is 
 not mangled? (for instance prevent lt; from becoming amp;lt;) Or, do I 
 need to edit the database directly in the database? The characters we 
 want may cut and paste, but not submit properly to DSpace.

 Thanks in advance.

 -Terrance


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] html enties (html symbols)

2009-10-07 Thread Terrance Davis
Hi Allen,

I see this works nicely during the initial submission process, but on  
the edit-item pages after the submission is approved (and is live),  
I click Update twice with no change. The symbol does not replace the  
unicode value. (I am using DSpace 1.5.2, btw)

I have tried various combinations of browsing off the page and back,  
hoping for the unicode replacement behavior you mention. Am I  
(hopefully) missing an obvious way to save twice on this page?

I am guessing that in the initial submission process, navigating using  
Next and then going back merely saves the data in the session rather  
than finalizing it with a save to the database, thus allowing the  
useful side effect of unicode being re-interpreted before the data  
actually is submitted to the database. I'm just not sure how to get  
this behavior once I click the Edit... button on a live submission  
page. It isn't a multi-page submission, and I think that is my  
challenge.

Best regards,

Terrance


On Oct 7, 2009, at 9:55 PM, Allen Lam wrote:

 Hi Terrance,

 The solution depends on how you are entering data to dspace.

 Take a common scenario as example. If the user is opening the web- 
 based
 Edit Item tool, and wishes to add a copyright sign (a circle-c) to  
 one
 of the fields, he can type in #169; and save twice.

 To type in Greek chars, e.g. #945; for alpha, #946; for beta, etc.
 You can find these magic numbers in the Unicode book or web
 (http://www.unicode.org/).

 Why save twice?
 After the first save the data will be recorded plainly as #169; in  
 db.
 When it is redisplayed in the web browser edit tool, it will be
 interpreted as the circle-c char. Save it again.

 Cheers,
 Allen Lam.
 HKU Hub Administrator, http://hub.hku.hk



 Terrance Davis wrote:
 Hi,

 My users of DSpace want to insert special symbols by editing  
 metadata of
 approved submissions. Inserting as an html entity doesn't work,  
 because
 the  is re-interpreted as a amp; before inserting in the database.

 Is there a way to escape the ampersand so that the raw HTML entity is
 not mangled? (for instance prevent lt; from becoming amp;lt;) Or,  
 do I
 need to edit the database directly in the database? The characters we
 want may cut and paste, but not submit properly to DSpace.

 Thanks in advance.

 -Terrance


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market  
 and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market and  
 stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech