[ckan-dev] CKAN Site/Dataset Usage extension?

Alex (Maxious) Sadleir maxious at gmail.com
Wed Jan 21 23:46:12 UTC 2015


We still use the genshi templates but patched all the routes to be
just /site-usage. So if your site is running on localhost with the
datagovau version, visiting http://localhost:5000/site-usage will
display the viewing area of GA-Report
You have to add a link to that location yourself, we usually put it in
the Statistics area.

ckanext-viewhelpers and ckanext-dashboard aren't designed for CKAN 2.2
so errors in everything if you try to install and enable them are to
be expected!

On Wed, Jan 21, 2015 at 10:31 PM, Ross Jones <ross at servercode.co.uk> wrote:
> Hi Marco,
>
> Unfortunately I don't think I've ever seen those two extensions before, or
> know what they do - so I'd be surprised if they were deps for ga-report.
> The setup.py claims it only needs gdata and google-api-python-client.
>
> The routes are set up at
> https://github.com/datagovuk/ckanext-ga-report/blob/master/ckanext/ga_report/plugin.py#L37
> and so you should be able to get to them at /data/site-usage although it
> still uses the genshi templates - maybe Alex could explain how he got around
> it?
>
> Ross.
>
>
>
> Marco Combetto wrote:
>>
>> Hallo
>>
>> Apologies to asking you again, maybe you have some other hints
>>
>> I was sure that everything was ok, but I just realized now that I missed
>> a required (by GA-Report) extension that is "Viewers-helpers" (the error
>> appears during the GA data import). Everything is OK with the oAuth
>> stuff luckily..
>>
>> I talking about this ckan extension
>> https://github.com/ckan/ckanext-viewhelpers
>>
>> I am trying to install also the CKAN-Dashboard in the meanwhile
>> https://github.com/ckan/ckanext-dashboard
>>
>> I am using CKAN 2.2 in my setup, and I see that maybe the viewers are
>> changing between version 2.2 and 2.3
>> Is there any issue with it? Do I have to upgrade my CKAN?
>>
>> finally I am not sure about where I will see the extension in my CKAN
>> installation..
>>
>> Marco Combetto
>> marcomb at hotmail.com <mailto:marcomb at hotmail.com>
>> Mobile: +39 3316329971
>> www.*linkedin*.com/in/*marco*mb
>>
>>
>>
>>
>>
>>  > Date: Mon, 19 Jan 2015 17:04:10 +0000
>>  > From: ross at servercode.co.uk
>>  > To: ckan-dev at lists.okfn.org
>>  > Subject: Re: [ckan-dev] CKAN Site/Dataset Usage extension?
>>  >
>>  > Hi Marco,
>>  >
>>  > It's at https://github.com/datagovuk/ckanext-ga-report/
>>  >
>>  > If you have any problems with the authorization step please log a
>> ticket at the repo (I mention this in advance as it's likely to be the
>> most complicated part of the set up).
>>  >
>>  > Regards
>>  >
>>  > Ross
>>  >
>>  >
>>  > Marco Combetto wrote:
>>  > > I want to make on may CKAN (Dati.Trentino.it) something similar to
>> the
>>  > > Site Usage section of Data.Gov.Uk
>>  > >
>>  > > http://data.gov.uk/data/site-usage#totals
>>  > > and
>>  > > http://data.gov.uk/data/site-usage/dataset
>>  > >
>>  > > I like the possibility to view the statistics and also to download it
>>  > > in CSV format
>>  > > Is it a CKAN extension reusable? Where can I find it?
>>  > > I see that is much more advanced than the CKAN-Analytics extension
>>  > > available on GIT hib
>>  > >
>>  > > Any other richful and easy solution to suggest?
>>  > >
>>  > > Thanks!
>>  > >
>>  > > Marco Combetto
>>  > > marcomb at hotmail.com <mailto:marcomb at hotmail.com>
>>  > > Mobile: +39 3316329971
>>  > > www.*linkedin*.com/in/*marco*mb
>>  > >
>>  > >
>>  > >
>>  > > _______________________________________________
>>  > > ckan-dev mailing list
>>  > > ckan-dev at lists.okfn.org
>>  > > https://lists.okfn.org/mailman/listinfo/ckan-dev
>>  > > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>  > _______________________________________________
>>  > ckan-dev mailing list
>>  > ckan-dev at lists.okfn.org
>>  > https://lists.okfn.org/mailman/listinfo/ckan-dev
>>  > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev



More information about the ckan-dev mailing list