Hi Maitumelo,

Not only do you have to set webui.strengths.show = true in your
dspace.cfg file, but you also need to run (usually as an overnight or
some other regular period cron job) $DSPACE_INSTALL_DIRECTORY/bin/dsrun
org.dspace.browse.ItemCounter.

I'm not clear on whether you are running jspui or xmlui. If you're
running the xmlui, this thread may be of assistance:

http://www.mail-archive.com/[email protected]/msg07627.h
tml

Regards
Gary 


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
 

> -----Original Message-----
> From: Morupisi, Maitumelo [mailto:[email protected]] 
> Sent: Wednesday, 17 June 2009 7:40 PM
> To: [email protected]
> Subject: [Dspace-tech] Statistics in Dspace 1.5.2 xmlui version
> 
> Thank you but there is this comment though I have set it to 
> true and started tomcat but still it does not show. It talked 
> about creating themes for xmlui.
> 
> whether to display collection and community strengths # (This 
> configuration is not used by XMLUI.  To show strengths in the 
> #  XMLUI, you just need to create a theme which displays 
> them) webui.strengths.show = true
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] 
> Sent: Wednesday, June 17, 2009 11:23 AM
> To: [email protected]
> Subject: DSpace-tech Digest, Vol 38, Issue 41
> 
> Send DSpace-tech mailing list submissions to
>       [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/dspace-tech
> or, via email, send a message with subject or body 'help' to
>       [email protected]
> 
> You can reach the person managing the list at
>       [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of DSpace-tech digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Statistics in Dspace 1.5.2 xmlui version (Allen Lam)
>    2. Re: DSpace search weirdness (mikan.d.dspace listmail)
>    3. DSpace Versions Compatability (Dr. Ahmad Al-Zubi)
>    4. Can we change the layout posistions of dspace in jspui
>       (Yureshwar Dspace)
>    5. Re: Change Default Layout  IN JSPUI (hardik mishra)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 17 Jun 2009 15:24:21 +0800
> From: Allen Lam <[email protected]>
> Subject: Re: [Dspace-tech] Statistics in Dspace 1.5.2 xmlui version
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> In your dspace.cfg, find a line:
> 
> webui.strengths.show = false
> 
> Change it into true. The item count will be displayed.
> 
> Allen.
> HKU Hub Administrator, http://hub.hku.hk
> 
> 
> Morupisi, Maitumelo wrote:
> >
> > Dear group
> >
> >  
> >
> > I need some help in calculating the number of articles in each 
> > collection and displaying it against the collection name in 
> the home 
> > page so that users can easily identify if there is 
> something in that 
> > collection or not before even clicking on the collection for example
> >
> >  
> >
> > Choose a community to browse its collections.
> >
> > Academic Services <http://spiral.imperial.ac.uk/handle/10044/1/489>
> [2]
> >
> > Administrative Services 
> > <http://spiral.imperial.ac.uk/handle/10044/1/491> [3]
> >
> > Faculty of Engineering 
> <http://spiral.imperial.ac.uk/handle/10044/1/1>
> 
> > [754]
> >
> > Faculty of Medicine <http://spiral.imperial.ac.uk/handle/10044/1/9>
> [75]
> >
> > Faculty of Natural Sciences 
> > <http://spiral.imperial.ac.uk/handle/10044/1/7> [653]
> >
> > Humanities <http://spiral.imperial.ac.uk/handle/10044/1/1197> [17]
> >
> > Imperial College Business School 
> > <http://spiral.imperial.ac.uk/handle/10044/1/643> [1216]
> >
> >  
> >
> > Thank you
> >
> >  
> >
> > Kind regards
> >
> >  
> >
> > Maitumelo Morupisi
> >
> > University of Botswana
> >
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 17 Jun 2009 10:49:22 +0300
> From: "mikan.d.dspace listmail" <[email protected]>
> Subject: Re: [Dspace-tech] DSpace search weirdness
> To: [email protected]
> Cc: Dspace Tech <[email protected]>
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Bill,
> 
> You have got it right. I cloned the new DSpace instance roughly by:
> 
> 1. first doing a fresh install of DSpace source
> 2. Importing database dump from the other server (taken with pg_dump,
> I also tried pg_restore btw.)
> 3. I created assetstore.tar.gz from my old server and copied it to the
> new server.
> 
> When I run media-filter or media-filter --force, the extracted text
> doesnt get the special characters (say ?, ?, ?) right, but has '?'
> -mark instead of them. On my original server everything works fine.
> And on my new server, the new submissions work fine after
> filter-media.
> 
> I just re-ran filter-media -f and no error messages come up. Maybe I
> should dig the assetstore to see what the files look like from the
> command line? How could I find out the assetstore path for a specific
> item?
> 
> Thanks,
> Mika
> 
> 
> 2009/6/16  <[email protected]>:
> > Correct me if I don't have this right: ?you had an existing instance
> of dspace, where search worked properly. ?You cloned the 
> instance to new
> server, and after the transfer, media filter wasn't able to 
> extract full
> text properly from PDFs with special characters in them. ?When you
> re-submit the PDFs to the new instance, media filter (and thus search)
> works as it should?
> >
> > It's possible the pdfs were damaged in the transfer. ?How did you
> transfer them?
> >
> > I assume you're not seeing any errors in the media filter output,
> right?
> >
> > Cheers,
> >
> > Bill
> >
> > Bill Anderson
> > Software Developer
> > Digital Library Development
> > Georgia Tech Library
> >
> > ----- "mikan.d.dspace listmail" <[email protected]> wrote:
> >
> > | Hi Stuart,
> > | As I mentioned in my earlier post, runnin filter-media 
> with --force
> > | (-f) switch didnt fix the problem.
> > |
> > | -Mika
> > |
> > | 2009/6/16 Stuart Lewis <[email protected]>:
> > | > Hi Mika,
> > | >
> > | > Since running filter-media on new items seems OK, have you tried
> > | running:
> > | >
> > | > [dspace]/bin/filter-media -f
> > | >
> > | > -f forces all the bitstreams to be re-filtered.
> > | >
> > | > 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/
> > | >
> > | >
> > | >
> > | > -----Original Message-----
> > | > From: mikan.d.dspace listmail [mailto:[email protected]]
> > | > Sent: Tuesday, 16 June 2009 1:05 a.m.
> > | > To: Terrance Davis
> > | > Cc: Dspace Tech
> > | > Subject: Re: [Dspace-tech] DSpace search weirdness
> > | >
> > | > Nope.
> > | > The server 1 has Debian 5 with Java ?version "1.6.0_12". and
> server
> > | 2
> > | > has RHEL and Java version ?"1.5.0_18". Could this cause the
> > | problem?
> > | >
> > | > Another strange thing I noticed, is that if I re-submit 
> the entire
> > | > item & file and then run filter-media, the text is extracted
> > | > correctly?? So, to me ?it seems that the old data in the
> > | transferred
> > | > assetstore is handled incorrectly. Strange, eh?
> > | >
> > | > -Mika
> > | >
> > | >
> > | >
> > | >
> > | > 2009/6/15 Terrance Davis <[email protected]>:
> > | >> Hi Mika,
> > | >>
> > | >> Are both systems using the same OS version and the same version
> of
> > | Java?
> > | >>
> > | >> Best regards,
> > | >>
> > | >> Terrance
> > | >>
> > | >> --
> > | >> Web Applications Programmer
> > | >> Institute for Clean and Secure Energy
> > | >> University of Utah
> > | >> http://www.ices.utah.edu
> > | >>
> > | >>
> > | >> On Jun 15, 2009, at 2:01 AM, mikan.d.dspace listmail wrote:
> > | >>
> > | >>> Hi Terrance,
> > | >>>
> > | >>> I double-checked the indexes in configuration and 
> they do match.
> > | What
> > | >>> I noticed though, is that the text extracted from pdf files
> > | differ,
> > | >>> which might be the cause of this problem. It seems that when
> > | >>> filter-media extracts the text on the other server, 
> it messes up
> > | some
> > | >>> special characters, thus making them unsearchable. 
> What might be
> > | >>> causing ?this? Both databases are set to UNICODE when created.
> Is
> > | >>> there some other system setting that might be causing this?
> > | >>>
> > | >>> Example of extracted text is below:
> > | >>>
> > | >>> Server 1: (correct encoding)
> > | >>> 3. PUNAISEN KIRJAN SIS?LT?
> > | >>> Jaettiin punaisen kirjan sis?ll?n p?ivityst? varten
> > | vastuuhenkil?t
> > | >>> seuraavaksi:
> > | >>> 3.1 Yleisasu ja kirjan sis?ll?n j?rjestys miettii ja 
> tarkastelee
> > | Tiina
> > | >>> Sairanen
> > | >>>
> > | >>> Server 2: (Messed up characters)
> > | >>>
> > | >>> 3. PUNAISEN KIRJAN SIS?LT?
> > | >>> Jaettiin punaisen kirjan sis?ll?n p?ivityst? varten
> > | vastuuhenkil?t
> > | >>> seuraavaksi:
> > | >>> 3.1 Yleisasu ja kirjan sis?ll?n j?rjestys miettii ja 
> tarkastelee
> > | Tiina
> > | >>> Sairanen
> > | >>>
> > | >>>
> > | >>> Thanks for any help,
> > | >>> Mika
> > | >>>
> > | >>>
> > | >>> 2009/6/12 Terrance Davis <[email protected]>:
> > | >>>>
> > | >>>> Hi Mika,
> > | >>>> My first guess is that your config files don't 
> match. You might
> > | want to
> > | >>>> check the server that is returning 40 results. If the
> configured
> > | search
> > | >>>> indexes have any white space (such as a tab) after the
> > | properties, they
> > | >>>> might not be matching up with the dublin core and 
> not indexing
> > | properly.
> > | >>>> No trim() is happening on the configured search index
> properties
> > | from the
> > | >>>> 1.5.2 dspace.cfg, so they may look the same, but be 
> thrown off
> by
> > | extra
> > | >>>> unwanted white space.
> > | >>>> Best regards,
> > | >>>> Terrance Davis
> > | >>>> --
> > | >>>> Web Applications Programmer
> > | >>>> Institute for Clean and Secure Energy
> > | >>>> University of Utah
> > | >>>> http://www.ices.utah.edu/
> > | >>>>
> > | >>>>
> > | >>>>
> > | >>>> On Jun 12, 2009, at 5:24 AM, mikan.d.dspace listmail wrote:
> > | >>>>
> > | >>>> Im confused by the way DSpace search works. I cloned 
> our Dspace
> > | 1.5.2
> > | >>>> instance to another server. They both have the same config,
> same
> > | items
> > | >>>> etc. However when I run search I get different results?! With
> the
> > | same
> > | >>>> search term the other search shows 40 results and 
> the other 72.
> > | I've
> > | >>>> forced reindexing and media-filters but nothing changes. What
> > | could be
> > | >>>> the ?cause of this?
> > | >>>>
> > | >>>> Thanks,
> > | >>>> Mika
> > | >>>>
> > | >>>>
> > | >>>>
> > |
> --------------------------------------------------------------
> ----------
> ------
> > | >>>> Crystal Reports - New Free Runtime and 30 Day Trial
> > | >>>> Check out the new simplified licensing 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
> > | >>>>
> > | >>>>
> > | >>
> > | >>
> > | >
> > | >
> > |
> --------------------------------------------------------------
> ----------
> ------
> > | > Crystal Reports - New Free Runtime and 30 Day Trial
> > | > Check out the new simplified licensing 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
> > | >
> > |
> > |
> --------------------------------------------------------------
> ----------
> ------
> > | Crystal Reports - New Free Runtime and 30 Day Trial
> > | Check out the new simplified licensing 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
> >
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 17 Jun 2009 11:17:45 +0300
> From: "Dr. Ahmad Al-Zubi" <[email protected]>
> Subject: [Dspace-tech] DSpace Versions Compatability
> To: [email protected]
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> -- 
> Best Regards
> 
> Dr Ahmad Al-Zubi
> KSU Repository Project Manager
> King Saud University
> Saudi Arabia
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 17 Jun 2009 13:59:19 +0530
> From: Yureshwar Dspace <[email protected]>
> Subject: [Dspace-tech] Can we change the layout posistions of dspace
>       in jspui
> To: [email protected]
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> Is it possible to change the layout posistions in jspui. I 
> want to have
> the
> navigation bar at right side and below it i want side bar. Can it be
> possible.
> 
> -- 
> Regards,
> Yureshwar Ravuri.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 5
> Date: Wed, 17 Jun 2009 02:22:27 -0700 (PDT)
> From: hardik mishra <[email protected]>
> Subject: Re: [Dspace-tech] Change Default Layout  IN JSPUI
> To: Yureshwar Dspace <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Yureshwar
> 
> It is possible to bring navigation bar to rightside and side bar under
> it.
> For that you need to change layout of pages.
> ?
> ?1. Modify header-default.jsp ,?Give comments to code where navigation
> bar is displayed.
> 
> 
> ?2.set request varibale in header-default.jsp
> ???
> request.setAttribute("navBar",request.getAttribute("dspace.lay
> out.navbar
> "));
> ?
> 3. Get it on footer-default.jsp
> ?
> ?
> 4.?Then?In footer-default.jsp add the code?with if condition , just
> below 
> <%-- Right-hand side bar if appropriate --%>
> ?
> Best Regards
> Hardik Mishra
> Jr. Software Engineer WebInito Technologies - Ahmedabad - Gujarat
> (India)
> 
> 
> Give a man a fish, and you feed him for a day. Teach a man to 
> catch fish
> and you feed him for a lifetime. 
> 
> 
> 
> 
> ________________________________
> From: Yureshwar Dspace <[email protected]>
> To: hardik mishra <[email protected]>
> Cc: [email protected]
> Sent: Wednesday, June 17, 2009 11:49:06 AM
> Subject: Re: Change Default Layout Text IN JSPUI
> 
> Thanks hardik mishra. It really worked. I have one more 
> question. How to
> bring navigation bar to rightside and under it i want sidebar. Can we
> change the posistions?
> 
> 
> On Wed, Jun 17, 2009 at 10:52 AM, hardik mishra 
> <[email protected]>
> wrote:
> 
> Hi Yureshwar
> ?
> Follow this?steps :?
> ?
> Go to your dspace source directory.
> ?
> C:\dspace-1.5.2-src-release\dspace-api\src\main\resources\Mess
ages.prope
> rties
> ?
> Search? jsp.layout.header-default.alt , and change whateve text you
> want.
> ?
> Then recompile code with mvn package, Copy new jar file which 
> is created
> under
> ?
> C:\dspace-1.5.2-src-release\dspace-api\target\dspace-api-1.5.2 , to
> target directory and then run with ANT.
> ?
> Hope this will be helpful
> ?Best Regards
> Hardik Mishra
> Jr. Software Engineer WebInito Technologies - Ahmedabad - Gujarat
> (India).
> 
> Give a man a fish, and you feed him for a day. Teach a man to 
> catch fish
> and you feed him for a lifetime. 
> 
> 
> 
> -- 
> Regards,
> Yureshwar Ravuri.
> 
> 
> 
>       
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> --------------------------------------------------------------
> ----------
> ------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing 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
> 
> 
> End of DSpace-tech Digest, Vol 38, Issue 41
> *******************************************
> 
> --------------------------------------------------------------
> ----------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing 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
> 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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

Reply via email to