Re: [Dspace-tech] how to display view statistics beyond 7 months?

2014-09-18 Thread Claudia Jürgen
Hello Shixing,

the date intervall is at the moment hardcoded.
For the jspui it is set in:
[dspace-src]/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/DisplayStatisticsServlet.java

 DatasetTimeGenerator timeAxis = new DatasetTimeGenerator();
 timeAxis.setDateInterval(month, -6, +1);
 statisticsTable.addDatasetGenerator(timeAxis);

This sets the date intervall to the type month, for the last six months, 
including the current month, which thus leads to 7 months displayed.

It can be made configurable but then the ways it is diplayed has also to 
be adjusted to allow for long time spans, breaking down to years and 
then months.

Hope this helps

Claudia


Am 17.09.2014 um 15:53 schrieb Shixing Wen:
 DSpace 3.1 JSP

 Is there a default setting in DSpace to limit the display of View
 Statistics at the bottom of each item to 7 months' worth only? If so, how
 can we change that to allow for displaying every month, that is, from the
 very beginning?

 See an example at: http://d-commons.d.umn.edu/handle/10792/126/statistics
 That item was first deposited in 2010 but only the last 7 months' stats are
 viewable by the public.

 Thanks,

 Shixing
 ---
 Shixing Wen
 Head of Technical Services
 Kathryn A. Martin Library
 University of Minnesota Duluth
 416 Library Drive
 Duluth, MN 55812

 218-726-8498
 s...@d.umn.edu
 



 --
 Want excitement?
 Manually upgrade your production database.
 When you want reliability, choose Perforce
 Perforce version control. Predictably reliable.
 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] how to display view statistics beyond 7 months?

2014-09-18 Thread Shixing Wen
Thanks, Claudia! This is very helpful for what we need. -- Shixing

---
Shixing Wen
Head of Technical Services
Kathryn A. Martin Library
University of Minnesota Duluth
416 Library Drive
Duluth, MN 55812

218-726-8498
s...@d.umn.edu


On Thu, Sep 18, 2014 at 4:12 AM, Claudia Jürgen 
claudia.juer...@ub.tu-dortmund.de wrote:

 Hello Shixing,

 the date intervall is at the moment hardcoded.
 For the jspui it is set in:

 [dspace-src]/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/DisplayStatisticsServlet.java

  DatasetTimeGenerator timeAxis = new DatasetTimeGenerator();
  timeAxis.setDateInterval(month, -6, +1);
  statisticsTable.addDatasetGenerator(timeAxis);

 This sets the date intervall to the type month, for the last six months,
 including the current month, which thus leads to 7 months displayed.

 It can be made configurable but then the ways it is diplayed has also to
 be adjusted to allow for long time spans, breaking down to years and
 then months.

 Hope this helps

 Claudia


 Am 17.09.2014 um 15:53 schrieb Shixing Wen:
  DSpace 3.1 JSP
 
  Is there a default setting in DSpace to limit the display of View
  Statistics at the bottom of each item to 7 months' worth only? If so,
 how
  can we change that to allow for displaying every month, that is, from the
  very beginning?
 
  See an example at:
 http://d-commons.d.umn.edu/handle/10792/126/statistics
  That item was first deposited in 2010 but only the last 7 months' stats
 are
  viewable by the public.
 
  Thanks,
 
  Shixing
  ---
  Shixing Wen
  Head of Technical Services
  Kathryn A. Martin Library
  University of Minnesota Duluth
  416 Library Drive
  Duluth, MN 55812
 
  218-726-8498
  s...@d.umn.edu
  
 
 
 
 
 --
  Want excitement?
  Manually upgrade your production database.
  When you want reliability, choose Perforce
  Perforce version control. Predictably reliable.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

 --
 Claudia Juergen
 Eldorado

 Technische Universität Dortmund
 Universitätsbibliothek
 Vogelpothsweg 76
 44227 Dortmund

 Tel.: +49 231-755 40 43
 Fax: +49 231-755 40 32
 claudia.juer...@ub.tu-dortmund.de
 www.ub.tu-dortmund.de


 Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
 ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der
 für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den
 Absender und vernichten Sie diese Mail. Vielen Dank.
 Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen
 ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
 Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
 eines solchen Schriftstücks per Telefax erfolgen.

 Important note: The information included in this e-mail is confidential.
 It is solely intended for the recipient. If you are not the intended
 recipient of this e-mail please contact the sender and delete this
 message. Thank you.
 Without prejudice of e-mail correspondence our statements are only
 legally binding when they are made in the conventional written form
 (with personal signature) or when such documents are sent by fax.


 --
 Want excitement?
 Manually upgrade your production database.
 When you want reliability, choose Perforce
 Perforce version control. Predictably reliable.

 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] how to display view statistics beyond 7 months?

2014-09-17 Thread Shixing Wen
DSpace 3.1 JSP

Is there a default setting in DSpace to limit the display of View
Statistics at the bottom of each item to 7 months' worth only? If so, how
can we change that to allow for displaying every month, that is, from the
very beginning?

See an example at: http://d-commons.d.umn.edu/handle/10792/126/statistics
That item was first deposited in 2010 but only the last 7 months' stats are
viewable by the public.

Thanks,

Shixing
---
Shixing Wen
Head of Technical Services
Kathryn A. Martin Library
University of Minnesota Duluth
416 Library Drive
Duluth, MN 55812

218-726-8498
s...@d.umn.edu

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] how to display view statistics beyond 7 months?

2014-09-17 Thread Peter Dietz
Hi Shixing,

The 6 months for Solr statistics is hard coded:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java#L205

There is an alternative Statistics option available in DSpace 3, called
Elastic Search. It gives you access to all data you have available:
https://wiki.duraspace.org/display/DSDOC3x/Elastic+Search+Usage+Statistics

You can see more about Elastic Search stats at the PDF linked at:
http://or2013.net/sessions/usage-statistics-powered-elastic-search

Also, FYI, DSpace 5 is likely to be offering a Google Analytics integration.


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Wed, Sep 17, 2014 at 9:53 AM, Shixing Wen s...@d.umn.edu wrote:

 DSpace 3.1 JSP

 Is there a default setting in DSpace to limit the display of View
 Statistics at the bottom of each item to 7 months' worth only? If so, how
 can we change that to allow for displaying every month, that is, from the
 very beginning?

 See an example at: http://d-commons.d.umn.edu/handle/10792/126/statistics
 That item was first deposited in 2010 but only the last 7 months' stats
 are viewable by the public.

 Thanks,

 Shixing
 ---
 Shixing Wen
 Head of Technical Services
 Kathryn A. Martin Library
 University of Minnesota Duluth
 416 Library Drive
 Duluth, MN 55812

 218-726-8498
 s...@d.umn.edu
 


 --
 Want excitement?
 Manually upgrade your production database.
 When you want reliability, choose Perforce
 Perforce version control. Predictably reliable.

 http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette