Re: [Dspace-tech] Item count in a community and collection

2011-02-08 Thread helix84
On Tue, Feb 8, 2011 at 08:29, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:
 I am interested in displaying the number of item in a community/collection
 when communities/collections are listed on the home page of my dspace
 installation. Which directive should I turn on in the dspace.cfg fiel?

You should set
webui.strengths.show = true
webui.strengths.cache = true
and run
/[dspace]/bin/dspace itemcounter
periodically from cron (how often depends on how often number of items changes).

From documentation:
Property: webui.strengths.show
Informational Note: Determines if communities and collections should
   display item counts when listed. The default behav-
  ior if omitted, is true. (This configuration property
 key is not used by XMLUI. To show thumbnails using
XMLUI, you need to create a theme which displays
   them).
Property: webui.strengths.cache
Informational Note: When showing the strengths, should they be count-
   ed in real time, or fetched from the cache. Counts
  fetched in real time will perform an actual count of
 the database contents every time a page with this fea-
ture is requested, which will not scale. If you set the
   property key is set to cache (true) you must run the
  following command periodically to update the count:
 /[dspace]/bin/dspace itemcounter. The
default is to count in real time (set to false).

Regards,
~~helix84

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Item count in a community and collection

2011-02-08 Thread amutsikiwa
Hi helix84,

Thank you very much!

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, February 08, 2011 11:05 AM
To: amutsikiwa
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Item count in a community and collection

On Tue, Feb 8, 2011 at 08:29, amutsikiwa amutsik...@uzlib.uz.ac.zw wrote:
 I am interested in displaying the number of item in a community/collection
 when communities/collections are listed on the home page of my dspace
 installation. Which directive should I turn on in the dspace.cfg fiel?

You should set
webui.strengths.show = true
webui.strengths.cache = true
and run
/[dspace]/bin/dspace itemcounter
periodically from cron (how often depends on how often number of items changes).

From documentation:
Property: webui.strengths.show
Informational Note: Determines if communities and collections should
   display item counts when listed. The default behav-
  ior if omitted, is true. (This configuration property
 key is not used by XMLUI. To show thumbnails using
XMLUI, you need to create a theme which displays
   them).
Property: webui.strengths.cache
Informational Note: When showing the strengths, should they be count-
   ed in real time, or fetched from the cache. Counts
  fetched in real time will perform an actual count of
 the database contents every time a page with this fea-
ture is requested, which will not scale. If you set the
   property key is set to cache (true) you must run the
  following command periodically to update the count:
 /[dspace]/bin/dspace itemcounter. The
default is to count in real time (set to false).

Regards,
~~helix84

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Item count in a community and collection

2011-02-07 Thread amutsikiwa
Hi,

 

I am interested in displaying the number of item in a community/collection
when communities/collections are listed on the home page of my dspace
installation. Which directive should I turn on in the dspace.cfg fiel?

 

Regards,

 

Admire Mutsikiwa

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech