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 - 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 -- ------------------------------------------------------------------------------ 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