Hi revskill,

I think you'll be able to get the data you need via SOLR, and then customize
the user page to use this data.

An example query I made to get some data of top downloads by user:
http://localhost:8080/solr/statistics/select?indent=on&version=2.2&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=&facet=true&;
*facet.field=epersonid*&q=*type:**0*
*
*
Explained:
facet.field=epersonid --- You want to group by epersonid, which is the user
id.
type:0 --- Interested in bitstreams only
*
*
*
<lst name="facet_counts">
    <lst name="facet_fields">
        <lst name="epersonid">
            <int name="66">1167</int>

<int name="117">251</int>

<int name="52">42</int>

<int name="19">36</int>

<int name="88">20</int>

<int name="112">18</int>

<int name="110">9</int>

<int name="96">0</int>

</lst>
    </lst>
</lst>
*


You'll be able to add to the query that you just want a specific epersonid.
I would look at how the "View Statistics" pages process statistics to get an
idea on how to solve this.

Good luck.

Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Tue, Sep 14, 2010 at 4:38 AM, revskill <[email protected]> wrote:

> Hi , i'm new to the Dspace platform. Now i need to extend in the following
> way:
> I need to know the amount of bitstream one user has downloaded, so that in
> the profile page, one can see how much he has downoaded .
>
> Can you help me some guide to make that change ?
>
> Thank you for your help.
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to