Re: [Dspace-tech] xmlui and itemCounter

2009-09-01 Thread Jason Stirnaman
Hi. Sorry to resurrect this old thread
(http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg07602.html
), but based on Stuart's response and our own experience in 1.5.2, the
Collection Strength display in XMLUI is not updated immediately after an
item is added to the collection, i.e. I have to run [dspace]/bin/dsrun 
org.dspace.browse.ItemCounter via cron instead of it being invoked at
ingest.  Are there plans afoot to change this behavior?

Thanks,
Jason

Re: [Dspace-tech] xmlui and itemCounter

Stuart Lewis
Thu, 23 Apr 2009 14:27:43 -0700

Hi Wayne,

 

The xmlui ignores the webui.strengths.show setting in dspace.cfg and
delegates 
the decision whether or not to show the strengths  to the theme that
you are 
using. In the latest version of Dspace, the default theme is enabled to
show 
the strengths.

 

If you have webui.strengths.cache set to true (which it must be for
them to 
appear in the xmlui) then you will need to periodically run
[dspace]/bin/dsrun 
org.dspace.browse.ItemCounter to have the strengths updated.

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

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

Ph: 64 9 373-7599 x81928

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

 

 

 

From: Wayne Johnston [mailto:wajoh...@uoguelph.ca] 
Sent: Friday, 24 April 2009 6:54 a.m.
To: dspace-tech@lists.sourceforge.net 
Subject: Re: [Dspace-tech] xmlui and itemCounter

 

An update on this post...
I restarted Tomcat and all the counts are accurate now.
It's still not clear to me whether I'll have to run ItemCounter to
keep the 
cache up-to-date but I guess I'll find out.

w

- Original Message -
From: Wayne Johnston wajoh...@uoguelph.ca
To: dspace-tech@lists.sourceforge.net 
Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
Subject: [Dspace-tech] xmlui and itemCounter

I wanted to activate the item counter in the xmlui interface and,
although the 
dspace.cfg file claims that the webui.strengths parameters don't apply
to the 
xmlui interface I found a post that suggested otherwise.
So, I set show and chache to true and the counts appeared;
however, I then noticed that a recent submission was not reflected in
the 
counts.
So I ran ItemCounter to update the totals in cache.
Curiously, I now have an up-to-date count on the community page and the

collection page but when I am at the home page, looking at the array of
all 
communities and collections, this particular collection is still
showing as 
zero (0) instead of one (1).
All other counts are consistent from home page, community pages and
collection 
pages.
Does this make sense to anyone?
Has anyone else experienced this?
Any advice?

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 




--

Crystal Reports - New Free Runtime and 30 Day Trial Check out the new 
simplified licensign option that enables unlimited royalty-free
distribution of 
the report engine for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects 
___ DSpace-tech mailing
list 
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech 

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 




--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally
facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects 

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech 


-- 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui and itemCounter

2009-09-01 Thread Stuart Lewis
Hi Jason,

 Hi. Sorry to resurrect this old thread
 (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg07602.html
 ), but based on Stuart's response and our own experience in 1.5.2, the
 Collection Strength display in XMLUI is not updated immediately after an
 item is added to the collection, i.e. I have to run [dspace]/bin/dsrun
 org.dspace.browse.ItemCounter via cron instead of it being invoked at
 ingest.  Are there plans afoot to change this behavior?

This 'caching' mechanism was added because of the time it can take a large
installation to calculate the strengths when the community page listing all
the communities and collections is shown.

If you just have a small installation, you could set the cron job to run
quite often to update the counts.

The situation could possibly be improved by writing an event consumer that
updates the count table when a new item is added or mapped. If anyone wants
to write this, it would make a good addition to the upcoming 1.6 release.

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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui and itemCounter

2009-04-27 Thread Wayne Johnston
I'm sorry, Panyarak.
I omitted the subdirectory.
That file should be found in themes/dri2xhtml/DIM-Handler.xsl

Wayne

- Original Message -
From: Panyarak Ngamsritragul pa...@me.psu.ac.th
To: Wayne Johnston wajoh...@uoguelph.ca
Cc: Hardy J. Pottinger pottinge...@umsystem.edu, 
dspace-tech@lists.sourceforge.net
Sent: Friday, April 24, 2009 10:12:49 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Dspace-tech] xmlui and itemCounter


Hi Wayne,

Where is the file you are mentioning ? I looked for it both from the 
source and installed directories, but could not find one.  For example, in 
/dspace/webapps/xmlui/themes/ I found only these files and directories:
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Classic
drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-04-19 11:21 dri2xhtml
-rw-r--r-- 1 tomcat6 tomcat6 2751 2009-04-19 10:04 dri2xhtml.xsl
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Kubrick
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Reference
drwxr-xr-x 3 tomcat6 tomcat6 4096 2009-04-19 11:21 template
-rw-r--r-- 1 tomcat6 tomcat6 2752 2009-04-19 10:04 themes.xmap

I am using 1.5.2.

Panyarak

On Fri, 24 Apr 2009, Wayne Johnston wrote:

 I'm sure someone will provide more useful information but for now I would 
 point you to themes/DIM-Handler.xsl

 About half-way through this file are four stanzas for the different contexts 
 in the form...

 !--Display community strengths (item counts) if they exist--
 xsl:if 
 test=string-length($data/dim:fie...@element='format']...@qualifier='extent'][1])
  gt; 0
   xsl:text [/xsl:text
   xsl:value-of 
 select=$data/dim:fie...@element='format']...@qualifier='extent'][1]/
   xsl:text]/xsl:text
 /xsl:if


 Wayne


 - Original Message -
 From: Hardy J. Pottinger pottinge...@umsystem.edu
 To: Stuart Lewis s.le...@auckland.ac.nz, dspace-tech@lists.sourceforge.net
 Sent: Friday, April 24, 2009 1:45:31 PM GMT -05:00 US/Canada Eastern
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi, I've seen the comment in dspace.cfg itself, and have seen it repeated 
 elsewhere, that, as Wayne and Stuart both note, the XMLUI ignores 
 webui.strengths.show setting in dspace.cfg. It's up to the theme to display 
 strengths. However, I have not seen any documentation or postings anywhere 
 explaining how one actually does this in the XMLUI theme.

 Does anyone have a write-up on how to display collection strengths in XMLUI, 
 including theme details? Thanks!

 --Hardy

 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Thursday, April 23, 2009 4:26 PM
 To: Wayne Johnston; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi Wayne,



 The xmlui ignores the webui.strengths.show setting in dspace.cfg and
 delegates the decision whether or not to show the strengths  to the
 theme that you are using. In the latest version of Dspace, the default
 theme is enabled to show the strengths.



 If you have webui.strengths.cache set to true (which it must be for them
 to appear in the xmlui) then you will need to periodically run
 [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the strengths
 updated.



 Thanks,





 Stuart Lewis

 Digital Services Programmer

 Te Tumu Herenga The University of Auckland Library

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

 Ph: 64 9 373-7599 x81928

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







 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Friday, 24 April 2009 6:54 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter



 An update on this post...
 I restarted Tomcat and all the counts are accurate now.
 It's still not clear to me whether I'll have to run ItemCounter to
 keep the cache up-to-date but I guess I'll find out.

 w

 - Original Message -
 From: Wayne Johnston wajoh...@uoguelph.ca
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
 Subject: [Dspace-tech] xmlui and itemCounter

 I wanted to activate the item counter in the xmlui interface and,
 although the dspace.cfg file claims that the webui.strengths parameters
 don't apply to the xmlui interface I found a post that suggested
 otherwise.
 So, I set show and chache to true and the counts appeared;
 however, I then noticed that a recent submission was not reflected in
 the counts.
 So I ran ItemCounter to update the totals in cache.
 Curiously, I now have an up-to-date count on the community page and the
 collection page but when I am at the home page, looking at the array of
 all communities and collections, this particular collection is still
 showing as zero (0) instead of one (1).
 All other counts are consistent from home page, community pages and
 collection pages.
 Does this make sense to anyone?
 Has anyone else experienced this?
 Any advice?

 --

 Wayne Johnston
 Digital Initiatives Librarian

Re: [Dspace-tech] xmlui and itemCounter

2009-04-27 Thread Pottinger, Hardy J.
Hi, I can confirm that the previously-mentioned configuration settings 
(webui.strengths.show and
webui.strengths.cache, both true) are still in force. I can also confirm that 
/dspace/webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl exists and contains the 
required code for displaying strengths for both communities and collections. I 
have run /dspace/bin/dsrun org.dspace.browse.ItemCounter manually several times.

By looking at the mets.xml metadata output for one of our collections (thanks 
to Paulo Jobim for showing me this trick), by going to this URL...

  https://mospace.umsystem.edu/xmlui/metadata/handle/10355/509/mets.xml

...I can see that the required metadata...

  dim:field element=format qualifier=extent mdschema=dc7554/dim:field
/dim:dim

...is missing. So, it appears that something is still missing in my 
configuration. Thoughts?

--Hardy 

 -Original Message-
 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Monday, April 27, 2009 7:43 AM
 To: Panyarak Ngamsritragul
 Cc: Pottinger, Hardy J.; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 I'm sorry, Panyarak.
 I omitted the subdirectory.
 That file should be found in themes/dri2xhtml/DIM-Handler.xsl
 
 Wayne
 
 - Original Message -
 From: Panyarak Ngamsritragul pa...@me.psu.ac.th
 To: Wayne Johnston wajoh...@uoguelph.ca
 Cc: Hardy J. Pottinger pottinge...@umsystem.edu, dspace-
 t...@lists.sourceforge.net
 Sent: Friday, April 24, 2009 10:12:49 PM GMT -05:00 US/Canada Eastern
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 
 Hi Wayne,
 
 Where is the file you are mentioning ? I looked for it both from the
 source and installed directories, but could not find one.  For example,
 in
 /dspace/webapps/xmlui/themes/ I found only these files and directories:
 drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Classic
 drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-04-19 11:21 dri2xhtml
 -rw-r--r-- 1 tomcat6 tomcat6 2751 2009-04-19 10:04 dri2xhtml.xsl
 drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Kubrick
 drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Reference
 drwxr-xr-x 3 tomcat6 tomcat6 4096 2009-04-19 11:21 template
 -rw-r--r-- 1 tomcat6 tomcat6 2752 2009-04-19 10:04 themes.xmap
 
 I am using 1.5.2.
 
 Panyarak
 
 On Fri, 24 Apr 2009, Wayne Johnston wrote:
 
  I'm sure someone will provide more useful information but for now I
 would point you to themes/DIM-Handler.xsl
 
  About half-way through this file are four stanzas for the different
 contexts in the form...
 
  !--Display community strengths (item counts) if they exist--
  xsl:if test=string-
 length($data/dim:fie...@element='format']...@qualifier='extent'][1]) gt;
 0
  xsl:text [/xsl:text
  xsl:value-of
 select=$data/dim:fie...@element='format']...@qualifier='extent'][1]/
  xsl:text]/xsl:text
  /xsl:if
 
 
  Wayne
 
 
  - Original Message -
  From: Hardy J. Pottinger pottinge...@umsystem.edu
  To: Stuart Lewis s.le...@auckland.ac.nz, dspace-
 t...@lists.sourceforge.net
  Sent: Friday, April 24, 2009 1:45:31 PM GMT -05:00 US/Canada Eastern
  Subject: Re: [Dspace-tech] xmlui and itemCounter
 
  Hi, I've seen the comment in dspace.cfg itself, and have seen it
 repeated elsewhere, that, as Wayne and Stuart both note, the XMLUI
 ignores webui.strengths.show setting in dspace.cfg. It's up to the theme
 to display strengths. However, I have not seen any documentation or
 postings anywhere explaining how one actually does this in the XMLUI
 theme.
 
  Does anyone have a write-up on how to display collection strengths in
 XMLUI, including theme details? Thanks!
 
  --Hardy
 
  -Original Message-
  From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
  Sent: Thursday, April 23, 2009 4:26 PM
  To: Wayne Johnston; dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] xmlui and itemCounter
 
  Hi Wayne,
 
 
 
  The xmlui ignores the webui.strengths.show setting in dspace.cfg and
  delegates the decision whether or not to show the strengths  to the
  theme that you are using. In the latest version of Dspace, the
 default
  theme is enabled to show the strengths.
 
 
 
  If you have webui.strengths.cache set to true (which it must be for
 them
  to appear in the xmlui) then you will need to periodically run
  [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the
 strengths
  updated.
 
 
 
  Thanks,
 
 
 
 
 
  Stuart Lewis
 
  Digital Services Programmer
 
  Te Tumu Herenga The University of Auckland Library
 
  Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 
  Ph: 64 9 373-7599 x81928
 
  http://www.library.auckland.ac.nz
 http://www.library.auckland.ac.nz/ /
 
 
 
 
 
 
 
  From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
  Sent: Friday, 24 April 2009 6:54 a.m.
  To: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 
 
  An update on this post...
  I restarted Tomcat and all the counts are accurate now.
  It's still not clear

Re: [Dspace-tech] xmlui and itemCounter

2009-04-24 Thread Pottinger, Hardy J.
Hi, I've seen the comment in dspace.cfg itself, and have seen it repeated 
elsewhere, that, as Wayne and Stuart both note, the XMLUI ignores 
webui.strengths.show setting in dspace.cfg. It's up to the theme to display 
strengths. However, I have not seen any documentation or postings anywhere 
explaining how one actually does this in the XMLUI theme.

Does anyone have a write-up on how to display collection strengths in XMLUI, 
including theme details? Thanks!

--Hardy 

 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Thursday, April 23, 2009 4:26 PM
 To: Wayne Johnston; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 Hi Wayne,
 
 
 
 The xmlui ignores the webui.strengths.show setting in dspace.cfg and
 delegates the decision whether or not to show the strengths  to the
 theme that you are using. In the latest version of Dspace, the default
 theme is enabled to show the strengths.
 
 
 
 If you have webui.strengths.cache set to true (which it must be for them
 to appear in the xmlui) then you will need to periodically run
 [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the strengths
 updated.
 
 
 
 Thanks,
 
 
 
 
 
 Stuart Lewis
 
 Digital Services Programmer
 
 Te Tumu Herenga The University of Auckland Library
 
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 
 Ph: 64 9 373-7599 x81928
 
 http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ /
 
 
 
 
 
 
 
 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Friday, 24 April 2009 6:54 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 
 
 An update on this post...
 I restarted Tomcat and all the counts are accurate now.
 It's still not clear to me whether I'll have to run ItemCounter to
 keep the cache up-to-date but I guess I'll find out.
 
 w
 
 - Original Message -
 From: Wayne Johnston wajoh...@uoguelph.ca
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
 Subject: [Dspace-tech] xmlui and itemCounter
 
 I wanted to activate the item counter in the xmlui interface and,
 although the dspace.cfg file claims that the webui.strengths parameters
 don't apply to the xmlui interface I found a post that suggested
 otherwise.
 So, I set show and chache to true and the counts appeared;
 however, I then noticed that a recent submission was not reflected in
 the counts.
 So I ran ItemCounter to update the totals in cache.
 Curiously, I now have an up-to-date count on the community page and the
 collection page but when I am at the home page, looking at the array of
 all communities and collections, this particular collection is still
 showing as zero (0) instead of one (1).
 All other counts are consistent from home page, community pages and
 collection pages.
 Does this make sense to anyone?
 Has anyone else experienced this?
 Any advice?
 
 --
 
 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca
 
 
 
 
 
 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the
 new simplified licensign option that enables unlimited royalty-free
 distribution of the report engine for externally facing server and web
 deployment. http://p.sf.net/sfu/businessobjects
 ___ DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 --
 
 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca
 
 

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui and itemCounter

2009-04-24 Thread Wayne Johnston
I'm sure someone will provide more useful information but for now I would point 
you to themes/DIM-Handler.xsl

About half-way through this file are four stanzas for the different contexts in 
the form...

!--Display community strengths (item counts) if they exist--
xsl:if 
test=string-length($data/dim:fie...@element='format']...@qualifier='extent'][1])
 gt; 0
xsl:text [/xsl:text
xsl:value-of 
select=$data/dim:fie...@element='format']...@qualifier='extent'][1]/
xsl:text]/xsl:text
/xsl:if


Wayne


- Original Message -
From: Hardy J. Pottinger pottinge...@umsystem.edu
To: Stuart Lewis s.le...@auckland.ac.nz, dspace-tech@lists.sourceforge.net
Sent: Friday, April 24, 2009 1:45:31 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Dspace-tech] xmlui and itemCounter

Hi, I've seen the comment in dspace.cfg itself, and have seen it repeated 
elsewhere, that, as Wayne and Stuart both note, the XMLUI ignores 
webui.strengths.show setting in dspace.cfg. It's up to the theme to display 
strengths. However, I have not seen any documentation or postings anywhere 
explaining how one actually does this in the XMLUI theme.

Does anyone have a write-up on how to display collection strengths in XMLUI, 
including theme details? Thanks!

--Hardy 

 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Thursday, April 23, 2009 4:26 PM
 To: Wayne Johnston; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 Hi Wayne,
 
 
 
 The xmlui ignores the webui.strengths.show setting in dspace.cfg and
 delegates the decision whether or not to show the strengths  to the
 theme that you are using. In the latest version of Dspace, the default
 theme is enabled to show the strengths.
 
 
 
 If you have webui.strengths.cache set to true (which it must be for them
 to appear in the xmlui) then you will need to periodically run
 [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the strengths
 updated.
 
 
 
 Thanks,
 
 
 
 
 
 Stuart Lewis
 
 Digital Services Programmer
 
 Te Tumu Herenga The University of Auckland Library
 
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 
 Ph: 64 9 373-7599 x81928
 
 http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ /
 
 
 
 
 
 
 
 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Friday, 24 April 2009 6:54 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter
 
 
 
 An update on this post...
 I restarted Tomcat and all the counts are accurate now.
 It's still not clear to me whether I'll have to run ItemCounter to
 keep the cache up-to-date but I guess I'll find out.
 
 w
 
 - Original Message -
 From: Wayne Johnston wajoh...@uoguelph.ca
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
 Subject: [Dspace-tech] xmlui and itemCounter
 
 I wanted to activate the item counter in the xmlui interface and,
 although the dspace.cfg file claims that the webui.strengths parameters
 don't apply to the xmlui interface I found a post that suggested
 otherwise.
 So, I set show and chache to true and the counts appeared;
 however, I then noticed that a recent submission was not reflected in
 the counts.
 So I ran ItemCounter to update the totals in cache.
 Curiously, I now have an up-to-date count on the community page and the
 collection page but when I am at the home page, looking at the array of
 all communities and collections, this particular collection is still
 showing as zero (0) instead of one (1).
 All other counts are consistent from home page, community pages and
 collection pages.
 Does this make sense to anyone?
 Has anyone else experienced this?
 Any advice?
 
 --
 
 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca
 
 
 
 
 
 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the
 new simplified licensign option that enables unlimited royalty-free
 distribution of the report engine for externally facing server and web
 deployment. http://p.sf.net/sfu/businessobjects
 ___ DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 --
 
 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca
 
 

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https

Re: [Dspace-tech] xmlui and itemCounter

2009-04-24 Thread Paulo Jobim
Hi
I think xmlui will display strength for the collections if you choose  
the option in dspace.cfg to cache strength.
the theme alone will need this information in the XML generated by the  
aspects.
Paulo Jobim
On Apr 24, 2009, at 2:59 PM, Wayne Johnston wrote:

 I'm sure someone will provide more useful information but for now I  
 would point you to themes/DIM-Handler.xsl

 About half-way through this file are four stanzas for the different  
 contexts in the form...

 !--Display community strengths (item counts) if they exist--
 xsl:if test=string-length($data/dim:fie...@element='format'] 
 [...@qualifier='extent'][1]) gt; 0
   xsl:text [/xsl:text
   xsl:value-of select=$data/dim:fie...@element='format'] 
 [...@qualifier='extent'][1]/
   xsl:text]/xsl:text
 /xsl:if


 Wayne


 - Original Message -
 From: Hardy J. Pottinger pottinge...@umsystem.edu
 To: Stuart Lewis s.le...@auckland.ac.nz, dspace-tech@lists.sourceforge.net
 Sent: Friday, April 24, 2009 1:45:31 PM GMT -05:00 US/Canada Eastern
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi, I've seen the comment in dspace.cfg itself, and have seen it  
 repeated elsewhere, that, as Wayne and Stuart both note, the XMLUI  
 ignores webui.strengths.show setting in dspace.cfg. It's up to the  
 theme to display strengths. However, I have not seen any  
 documentation or postings anywhere explaining how one actually does  
 this in the XMLUI theme.

 Does anyone have a write-up on how to display collection strengths  
 in XMLUI, including theme details? Thanks!

 --Hardy

 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Thursday, April 23, 2009 4:26 PM
 To: Wayne Johnston; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi Wayne,



 The xmlui ignores the webui.strengths.show setting in dspace.cfg and
 delegates the decision whether or not to show the strengths  to the
 theme that you are using. In the latest version of Dspace, the  
 default
 theme is enabled to show the strengths.



 If you have webui.strengths.cache set to true (which it must be for  
 them
 to appear in the xmlui) then you will need to periodically run
 [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the  
 strengths
 updated.



 Thanks,





 Stuart Lewis

 Digital Services Programmer

 Te Tumu Herenga The University of Auckland Library

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

 Ph: 64 9 373-7599 x81928

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







 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Friday, 24 April 2009 6:54 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter



 An update on this post...
 I restarted Tomcat and all the counts are accurate now.
 It's still not clear to me whether I'll have to run ItemCounter to
 keep the cache up-to-date but I guess I'll find out.

 w

 - Original Message -
 From: Wayne Johnston wajoh...@uoguelph.ca
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada  
 Eastern
 Subject: [Dspace-tech] xmlui and itemCounter

 I wanted to activate the item counter in the xmlui interface and,
 although the dspace.cfg file claims that the webui.strengths  
 parameters
 don't apply to the xmlui interface I found a post that suggested
 otherwise.
 So, I set show and chache to true and the counts appeared;
 however, I then noticed that a recent submission was not reflected in
 the counts.
 So I ran ItemCounter to update the totals in cache.
 Curiously, I now have an up-to-date count on the community page and  
 the
 collection page but when I am at the home page, looking at the  
 array of
 all communities and collections, this particular collection is still
 showing as zero (0) instead of one (1).
 All other counts are consistent from home page, community pages and
 collection pages.
 Does this make sense to anyone?
 Has anyone else experienced this?
 Any advice?

 --

 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca




 
 -- Crystal Reports - New Free Runtime and 30 Day Trial Check  
 out the
 new simplified licensign option that enables unlimited royalty-free
 distribution of the report engine for externally facing server and  
 web
 deployment. http://p.sf.net/sfu/businessobjects
 ___ DSpace-tech mailing  
 list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 --

 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca



 --
 Crystal Reports #45; New Free Runtime and 30 Day Trial
 Check out the new simplified

Re: [Dspace-tech] xmlui and itemCounter

2009-04-24 Thread Panyarak Ngamsritragul

Hi Wayne,

Where is the file you are mentioning ? I looked for it both from the 
source and installed directories, but could not find one.  For example, in 
/dspace/webapps/xmlui/themes/ I found only these files and directories:
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Classic
drwxr-xr-x 2 tomcat6 tomcat6 4096 2009-04-19 11:21 dri2xhtml
-rw-r--r-- 1 tomcat6 tomcat6 2751 2009-04-19 10:04 dri2xhtml.xsl
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Kubrick
drwxr-xr-x 4 tomcat6 tomcat6 4096 2009-04-19 11:21 Reference
drwxr-xr-x 3 tomcat6 tomcat6 4096 2009-04-19 11:21 template
-rw-r--r-- 1 tomcat6 tomcat6 2752 2009-04-19 10:04 themes.xmap

I am using 1.5.2.

Panyarak

On Fri, 24 Apr 2009, Wayne Johnston wrote:

 I'm sure someone will provide more useful information but for now I would 
 point you to themes/DIM-Handler.xsl

 About half-way through this file are four stanzas for the different contexts 
 in the form...

 !--Display community strengths (item counts) if they exist--
 xsl:if 
 test=string-length($data/dim:fie...@element='format']...@qualifier='extent'][1])
  gt; 0
   xsl:text [/xsl:text
   xsl:value-of 
 select=$data/dim:fie...@element='format']...@qualifier='extent'][1]/
   xsl:text]/xsl:text
 /xsl:if


 Wayne


 - Original Message -
 From: Hardy J. Pottinger pottinge...@umsystem.edu
 To: Stuart Lewis s.le...@auckland.ac.nz, dspace-tech@lists.sourceforge.net
 Sent: Friday, April 24, 2009 1:45:31 PM GMT -05:00 US/Canada Eastern
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi, I've seen the comment in dspace.cfg itself, and have seen it repeated 
 elsewhere, that, as Wayne and Stuart both note, the XMLUI ignores 
 webui.strengths.show setting in dspace.cfg. It's up to the theme to display 
 strengths. However, I have not seen any documentation or postings anywhere 
 explaining how one actually does this in the XMLUI theme.

 Does anyone have a write-up on how to display collection strengths in XMLUI, 
 including theme details? Thanks!

 --Hardy

 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Thursday, April 23, 2009 4:26 PM
 To: Wayne Johnston; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter

 Hi Wayne,



 The xmlui ignores the webui.strengths.show setting in dspace.cfg and
 delegates the decision whether or not to show the strengths  to the
 theme that you are using. In the latest version of Dspace, the default
 theme is enabled to show the strengths.



 If you have webui.strengths.cache set to true (which it must be for them
 to appear in the xmlui) then you will need to periodically run
 [dspace]/bin/dsrun org.dspace.browse.ItemCounter to have the strengths
 updated.



 Thanks,





 Stuart Lewis

 Digital Services Programmer

 Te Tumu Herenga The University of Auckland Library

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

 Ph: 64 9 373-7599 x81928

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







 From: Wayne Johnston [mailto:wajoh...@uoguelph.ca]
 Sent: Friday, 24 April 2009 6:54 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] xmlui and itemCounter



 An update on this post...
 I restarted Tomcat and all the counts are accurate now.
 It's still not clear to me whether I'll have to run ItemCounter to
 keep the cache up-to-date but I guess I'll find out.

 w

 - Original Message -
 From: Wayne Johnston wajoh...@uoguelph.ca
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
 Subject: [Dspace-tech] xmlui and itemCounter

 I wanted to activate the item counter in the xmlui interface and,
 although the dspace.cfg file claims that the webui.strengths parameters
 don't apply to the xmlui interface I found a post that suggested
 otherwise.
 So, I set show and chache to true and the counts appeared;
 however, I then noticed that a recent submission was not reflected in
 the counts.
 So I ran ItemCounter to update the totals in cache.
 Curiously, I now have an up-to-date count on the community page and the
 collection page but when I am at the home page, looking at the array of
 all communities and collections, this particular collection is still
 showing as zero (0) instead of one (1).
 All other counts are consistent from home page, community pages and
 collection pages.
 Does this make sense to anyone?
 Has anyone else experienced this?
 Any advice?

 --

 Wayne Johnston
 Digital Initiatives Librarian, University of Guelph
 519.824.4120 x56900
 wajoh...@uoguelph.ca




 
 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the
 new simplified licensign option that enables unlimited royalty-free
 distribution of the report engine for externally facing server and web
 deployment. http://p.sf.net/sfu/businessobjects

[Dspace-tech] xmlui and itemCounter

2009-04-23 Thread Wayne Johnston
I wanted to activate the item counter in the xmlui interface and, although the 
dspace.cfg file claims that the webui.strengths parameters don't apply to the 
xmlui interface I found a post that suggested otherwise. 
So, I set show and chache to true and the counts appeared; 
however, I then noticed that a recent submission was not reflected in the 
counts. 
So I ran ItemCounter to update the totals in cache. 
Curiously, I now have an up-to-date count on the community page and the 
collection page but when I am at the home page, looking at the array of all 
communities and collections, this particular collection is still showing as 
zero (0) instead of one (1). 
All other counts are consistent from home page, community pages and collection 
pages. 
Does this make sense to anyone? 
Has anyone else experienced this? 
Any advice? 

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 


--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui and itemCounter

2009-04-23 Thread Wayne Johnston
An update on this post... 
I restarted Tomcat and all the counts are accurate now. 
It's still not clear to me whether I'll have to run ItemCounter to keep the 
cache up-to-date but I guess I'll find out. 

w 

- Original Message - 
From: Wayne Johnston wajoh...@uoguelph.ca 
To: dspace-tech@lists.sourceforge.net 
Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern 
Subject: [Dspace-tech] xmlui and itemCounter 


I wanted to activate the item counter in the xmlui interface and, although the 
dspace.cfg file claims that the webui.strengths parameters don't apply to the 
xmlui interface I found a post that suggested otherwise. 
So, I set show and chache to true and the counts appeared; 
however, I then noticed that a recent submission was not reflected in the 
counts. 
So I ran ItemCounter to update the totals in cache. 
Curiously, I now have an up-to-date count on the community page and the 
collection page but when I am at the home page, looking at the array of all 
communities and collections, this particular collection is still showing as 
zero (0) instead of one (1). 
All other counts are consistent from home page, community pages and collection 
pages. 
Does this make sense to anyone? 
Has anyone else experienced this? 
Any advice? 

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 



-- 
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new 
simplified licensign option that enables unlimited royalty-free distribution of 
the report engine for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects 
___ DSpace-tech mailing list 
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech 

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 


--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui and itemCounter

2009-04-23 Thread Stuart Lewis
Hi Wayne,

 

The xmlui ignores the webui.strengths.show setting in dspace.cfg and delegates 
the decision whether or not to show the strengths  to the theme that you are 
using. In the latest version of Dspace, the default theme is enabled to show 
the strengths.

 

If you have webui.strengths.cache set to true (which it must be for them to 
appear in the xmlui) then you will need to periodically run [dspace]/bin/dsrun 
org.dspace.browse.ItemCounter to have the strengths updated.

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

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

Ph: 64 9 373-7599 x81928

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

 

 

 

From: Wayne Johnston [mailto:wajoh...@uoguelph.ca] 
Sent: Friday, 24 April 2009 6:54 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] xmlui and itemCounter

 

An update on this post...
I restarted Tomcat and all the counts are accurate now.
It's still not clear to me whether I'll have to run ItemCounter to keep the 
cache up-to-date but I guess I'll find out.

w

- Original Message -
From: Wayne Johnston wajoh...@uoguelph.ca
To: dspace-tech@lists.sourceforge.net
Sent: Thursday, April 23, 2009 1:22:31 PM GMT -05:00 US/Canada Eastern
Subject: [Dspace-tech] xmlui and itemCounter

I wanted to activate the item counter in the xmlui interface and, although the 
dspace.cfg file claims that the webui.strengths parameters don't apply to the 
xmlui interface I found a post that suggested otherwise.
So, I set show and chache to true and the counts appeared;
however, I then noticed that a recent submission was not reflected in the 
counts.
So I ran ItemCounter to update the totals in cache.
Curiously, I now have an up-to-date count on the community page and the 
collection page but when I am at the home page, looking at the array of all 
communities and collections, this particular collection is still showing as 
zero (0) instead of one (1).
All other counts are consistent from home page, community pages and collection 
pages.
Does this make sense to anyone?
Has anyone else experienced this?
Any advice?

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 




-- 
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new 
simplified licensign option that enables unlimited royalty-free distribution of 
the report engine for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___ DSpace-tech mailing list 
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech 

-- 

Wayne Johnston 
Digital Initiatives Librarian, University of Guelph 
519.824.4120 x56900 
wajoh...@uoguelph.ca 



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech