Autor Thema: Stats for Opencaching sites  (Gelesen 2121 mal)

Offline tomaszg

  • Aktive User
  • *
  • Beiträge: 13
Re: Stats for Opencaching sites
« Antwort #15 am: 02. März 2020, 00:02:37 »
Well, I can't do anything about it, it's Opencaching which is open and shares all the data with everybody :) I'm not asking anyone their OC password to identify them. It might be possible to devise some way to do it (not easily for me), but that wouldn't change the fact that all this data is for anyone to grab. Just entering somebody's OC profile you can see where and when he was in the past just by listing caches found. It even offers the possibility to export this data in easily parsable form, like gpx or kml. Simply dropping it into Google Maps would yield similar result.

Bottom line - it is something which could be resolved in a meaningful way only on OC end

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6393
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #16 am: 24. Mai 2020, 18:50:52 »
Zitat von: tomaszg
I'm developing a tool to compute various statistics related to Opencaching activity and a cache map. It supports all OC sites which use OKAPI. The tool itself is accompanied by a simple webpage to visualize the results and you can check it out here: http://tomaszg.pl/geo/.

Is it possible to offer this tool on https too?

Offline tomaszg

  • Aktive User
  • *
  • Beiträge: 13
Re: Stats for Opencaching sites
« Antwort #17 am: 24. Mai 2020, 19:04:46 »
Sorry, my server doesn't support it. I never learned how to set it up properly. I'll look into it if I find the time :)

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6393
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #18 am: 24. Mai 2020, 19:54:45 »
Zitat von: tomaszg
Sorry, my server doesn't support it.

Have You ever talked to oc.pl team? They use https  8)
https://www.opencaching.pl
Maybe they could inherit Your tool in their code?

Offline tomaszg

  • Aktive User
  • *
  • Beiträge: 13
Re: Stats for Opencaching sites
« Antwort #19 am: 24. Mai 2020, 20:18:27 »
In principle, everybody is free to deploy the tool wherever they wish. It is enough to grab the source and compile it.

I've been in contact with OCpl team. They are always looking for people to work on the service. It would be best just to incorporate it with the stats on the webpage. Regretfully that would require knowledge of PHP and I don't know enough to do it. My tool is written in C++.

I didn't consider the lack of https before to be relevant to the webpages I have. I just started the investigation and it might turn out to be quite simple. I'll need to contact IT support before though and if they reply quickly enough, I may have it working tomorrow.

Offline tomaszg

  • Aktive User
  • *
  • Beiträge: 13
Re: Stats for Opencaching sites
« Antwort #20 am: 29. Mai 2020, 23:17:58 »
Okay, it should work now with https.

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6393
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #21 am: 29. Mai 2020, 23:43:36 »
Okay, it should work now with https.

Perfect  8)

One more thing:
When I go to https://tomaszg.pl/geo and want to start with myself (nick=mic@ / map=Germany)
then the result is:
https://tomaszg.pl/cgi-bin/geo-form.pl?nick_pl=&nick_de=mic%40&nick_us=&nick_nl=&nick_ro=&nick_uk=&stamp=15&start_date=&end_date=&map=Germany

But
https://tomaszg.pl/cgi-bin/geo-form.pl?nick_de=mic%40&stamp=15&map=Germany
works the same...

So my question is: Could You erade useless information like &nick_nl=&

Offline tomaszg

  • Aktive User
  • *
  • Beiträge: 13
Re: Stats for Opencaching sites
« Antwort #22 am: 30. Mai 2020, 00:02:18 »
I would need to plug in some javascript to do it, as this is normal behaviour for HTML. I'm reluctant to use JS for such trivial thing, even more so since it is purely aesthetic :)

Offline mic@

  • Moderator
  • Large
  • *****
  • Beiträge: 6393
  • oc-only Verstecker
Re: Stats for Opencaching sites
« Antwort #23 am: 30. Mai 2020, 08:31:10 »
Zitat von: tomaszg
I would need to plug in some javascript to do it

I agree, no need for JS. My wish was only a "nice-to-have" feature for a smaller URL, but it works with long URL too.
THX again for all Your work, its brilliant.
Maybe You should call it Project OC  8)

Best wishes, Mic@