Re: [Dspace-tech] DSpace 1.6.2 issue date format

2010-08-08 Thread Clive Gould
Hi Stuart

The problem with the issue date truncation on DSpace 1.6.2 has been solved :)

Thanks for all your invaluable assistance in locating the source of the problem.

It appears that the patch http://jira.dspace.org/jira/browse/DS-469
had not been applied to DCDate.java in the 1.6.2 source code.

I applied the patch and rebuilt and updated DSpace and the issue date
on the test server is now being displayed correctly :-

http://standbyvle.bromley.ac.uk/dspace/browse?type=dateissued

I have updated my blog to include the relevant patch instructions :-

http://dspacebromley.blogspot.com/2010/08/dspace-162-upgrade-procedure.html

Any chance someone could update the source file on sourceforge?

Thanks again

Clive

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.6.2 issue date format

2010-08-08 Thread Stuart Lewis
Hi Clive,

 The problem with the issue date truncation on DSpace 1.6.2 has been solved :)

Excellent - glad it works! :)

 It appears that the patch http://jira.dspace.org/jira/browse/DS-469
 had not been applied to DCDate.java in the 1.6.2 source code.

I've just worked out what's happened here by trawling though the subversion 
commit logs: The patch was applied to 'trunk' (which will become 1.7) but NOT 
to the 1_6_x branch which was used to make 1.6.1 and 1.6.2.

At least together we have worked this out :)  Therefore if it comes up again, 
we know how to fix it! If for some reason we do release a 1.6.3, then we can 
make sure it gets included.

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 (0)9 373 7599 x81928


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.6.2 and solr statistics

2010-08-08 Thread Clive Gould
Hi everyone

I've got solr statistics working succesfully on our DSpace 1.6.2 test server.

However I cannot work out:

1) How to convert and import the old log files into solr as I cannot
find the scripts stats-log-converter and stats-log-importer anywhere
(I installed DSpace 1.6.2 from source)

2) Additionally what do I do about the old cron tasks for statistics
processing? Do I still need the following entries in the DSpace
crontab:

# Run stat analyses
0 1 * * * /home/dspace/bin/stat-general
0 1 * * * /home/dspace/bin/stat-monthly
0 2 * * * /home/dspace/bin/stat-report-general
0 2 * * * /home/dspace/bin/stat-report-monthly

Thanks very much

I'll add this to my blog once it's working...

Clive

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] controlled vocabulary in non-english language

2010-08-08 Thread 洪承理
Hi there
   I'm new in dspace.Now I am trying to apply controlled vocabulary in my
system.
I followed the manual and seted webui.controlledvocabulary.enable = true.
It just worked fine,but when I trying to make my own controlled vocabulary
,it got a problem.
Following the manual,I made a .xml file to put all my controlled
vocabulary,and it can display in Subject Search correctly.
But when I assigned controlled vocabulary for an item, in the pop-up window
,all the controlled vocabulary just showed ?.
After submission ,the subject field also showed ?.
By the way, I used Chinese to make controlled vocabulary,and the .xml
encoding in utf8,my dspace version is 1.6.2.
Could somebody help me to fix this?
Thanks.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.6.2 and solr statistics

2010-08-08 Thread Stuart Lewis
Hi Clive,

 1) How to convert and import the old log files into solr as I cannot
 find the scripts stats-log-converter and stats-log-importer anywhere
 (I installed DSpace 1.6.2 from source)

With 1.6 we've introduced a new way of running scripts. You used to have to run 
scripts such as:

 - [dspace]/bin/create-administrator
 - [dspace]/bin/filter-media

All the scripts are now replaced with a single script called 'dspace':

 - [dspace]/bin/dspace create-administrator
 - [dspace]/bin/dspace filter-media

This means we only have to maintain two scripts - one for unix, and one for 
Windows. 

To run the scripts you need, try:

 - [dspace]/bin/dspace stats-log-converter
 - [dspace]/bin/dspace stats-log-importer

(The old scripts will likely be removed in future versions, but were left there 
in 1.6 versions during the transition).

 2) Additionally what do I do about the old cron tasks for statistics
 processing? Do I still need the following entries in the DSpace
 crontab:
 
 # Run stat analyses
 0 1 * * * /home/dspace/bin/stat-general
 0 1 * * * /home/dspace/bin/stat-monthly
 0 2 * * * /home/dspace/bin/stat-report-general
 0 2 * * * /home/dspace/bin/stat-report-monthly

That is up to you. The old statistics system still works, so if you want to 
keep them up to date, then there is no need to remove the cronjobs.

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 (0)9 373 7599 x81928


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] controlled vocabulary in non-english language

2010-08-08 Thread SUZUKI Keiji
Hi,

You may fix this when you apply the following patch to

DSPACE-SRC/dspace-jsp/dspace-jsp-webapp/src/main/webapp/controlledvocabulary/controlledvocabulary.jsp

=== patch from here =
--- controlledvocabulary.jsp2010-06-14 21:48:18.0 +0900
+++ controlledvocabulary.jsp.new2010-08-09 09:34:55.93750 +0900
@@ -46,7 +46,7 @@
   --%


-%@ page language=java contentType=text/html;charset=iso-8859-1 %
+%@ page language=java contentType=text/html;charset=UTF-8 %
 %@ page  import=javax.servlet.jsp.jstl.fmt.LocaleSupport %

 %@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
@@ -57,7 +57,7 @@

 head
 titlefmt:message
key=jsp.controlledvocabulary.controlledvocabulary.title//title
-meta http-equiv=Content-Type content=text/html;charset=iso-8859-1/
+meta http-equiv=Content-Type content=text/html;charset=UTF-8/


 link rel=shortcut icon href=%= request.getContextPath()
%/favicon.ico type=image/x-icon/
== patch end =


2010/8/8 洪承理 oldd...@gmail.com:
 Hi there
I'm new in dspace.Now I am trying to apply controlled vocabulary in my
 system.
 I followed the manual and seted webui.controlledvocabulary.enable = true.
 It just worked fine,but when I trying to make my own controlled vocabulary
 ,it got a problem.
 Following the manual,I made a .xml file to put all my controlled
 vocabulary,and it can display in Subject Search correctly.
 But when I assigned controlled vocabulary for an item, in the pop-up window
 ,all the controlled vocabulary just showed ?.
 After submission ,the subject field also showed ?.
 By the way, I used Chinese to make controlled vocabulary,and the .xml
 encoding in utf8,my dspace version is 1.6.2.
 Could somebody help me to fix this?
 Thanks.

-- 
Keiji Suzuki
Ebetsu, Japan

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] controlled vocabulary in non-english language

2010-08-08 Thread 洪承理
thank a million, it works perfectly now.

2010/8/9 SUZUKI Keiji z...@mbc.ocn.ne.jp

 Hi,

 You may fix this when you apply the following patch to


 DSPACE-SRC/dspace-jsp/dspace-jsp-webapp/src/main/webapp/controlledvocabulary/controlledvocabulary.jsp

 === patch from here =
 --- controlledvocabulary.jsp2010-06-14 21:48:18.0 +0900
 +++ controlledvocabulary.jsp.new2010-08-09 09:34:55.93750 +0900
 @@ -46,7 +46,7 @@
   --%


 -%@ page language=java contentType=text/html;charset=iso-8859-1 %
 +%@ page language=java contentType=text/html;charset=UTF-8 %
  %@ page  import=javax.servlet.jsp.jstl.fmt.LocaleSupport %

  %@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
 @@ -57,7 +57,7 @@

  head
  titlefmt:message
 key=jsp.controlledvocabulary.controlledvocabulary.title//title
 -meta http-equiv=Content-Type content=text/html;charset=iso-8859-1/
 +meta http-equiv=Content-Type content=text/html;charset=UTF-8/


  link rel=shortcut icon href=%= request.getContextPath()
 %/favicon.ico type=image/x-icon/
 == patch end
 =


 2010/8/8 洪承理 oldd...@gmail.com:
  Hi there
 I'm new in dspace.Now I am trying to apply controlled vocabulary in my
  system.
  I followed the manual and seted webui.controlledvocabulary.enable = true.
  It just worked fine,but when I trying to make my own controlled
 vocabulary
  ,it got a problem.
  Following the manual,I made a .xml file to put all my controlled
  vocabulary,and it can display in Subject Search correctly.
  But when I assigned controlled vocabulary for an item, in the pop-up
 window
  ,all the controlled vocabulary just showed ?.
  After submission ,the subject field also showed ?.
  By the way, I used Chinese to make controlled vocabulary,and the .xml
  encoding in utf8,my dspace version is 1.6.2.
  Could somebody help me to fix this?
  Thanks.

 --
 Keiji Suzuki
 Ebetsu, Japan

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Image thumbnails not showing on search/browse results

2010-08-08 Thread Shaun Burriss
Hi again.

Is anyone able to help with this problem?

Regards
Shaun.

 Shaun Burriss sburr...@groupwise.swin.edu.au 29/07/2010 3:54 PM 
Hi

On our browse and search results page we originally had three columns with Date 
(dc.date.created) Title and Creator displaying, and a thumbnail of the image 
appeared in the date column for each result. I just made a change to the date 
column so it would show dc.date.created instead of dc.date.issued(date) and now 
the thumbnail has disappeared. I then added the dc.date.issued(date) column 
back in and the thumbnail is back under that column. Is there a way to detach 
the thumbnail from that column and either have it show on a column on its own, 
or in the new dc.date.created column that we have added?

In dspace.cfg we have: webui.browse.thumbnail.show = true , and this has never 
been changed.

We are running DSpace 1.4.2.

Thanks for any help.

Regards,
Shaun


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech