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="dc">7554</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:[email protected]]
> Sent: Monday, April 27, 2009 7:43 AM
> To: Panyarak Ngamsritragul
> Cc: Pottinger, Hardy J.; [email protected]
> 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" <[email protected]>
> To: "Wayne Johnston" <[email protected]>
> Cc: "Hardy J. Pottinger" <[email protected]>, dspace-
> [email protected]
> 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" <[email protected]>
> > To: "Stuart Lewis" <[email protected]>, dspace-
> [email protected]
> > 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:[email protected]]
> >> Sent: Thursday, April 23, 2009 4:26 PM
> >> To: Wayne Johnston; [email protected]
> >> 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:[email protected]]
> >> Sent: Friday, 24 April 2009 6:54 a.m.
> >> To: [email protected]
> >> 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" <[email protected]>
> >> To: [email protected]
> >> 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
> >> [email protected]
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> ---
> >> ------ 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
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>
> >> --
> >>
> >> Wayne Johnston
> >> Digital Initiatives Librarian, University of Guelph
> >> 519.824.4120 x56900
> >> [email protected]
> >>
> >>
> >
> > ----------------------------------------------------------------------
> --------
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> 
> --
> Panyarak Ngamsritragul
> Department of Mechanical Engineering
> Prince of Songkla University.
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner.
> 
> 
> --
> 
> Wayne Johnston
> Digital Initiatives Librarian, University of Guelph
> 519.824.4120 x56900
> [email protected]
> 

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to