Stats for Opencaching sites

Du suchst die richtigen GPS-Geräte, Geocaching-Software oder sonstiges Geocaching-Zubehör? Tausche Dich hier mit anderen Usern aus.

Moderator: mic@

Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

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
Bild Bild
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

[quote="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/.[/quote]

Is it possible to offer this tool on https too?
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

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 :)
Bild Bild
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

[quote="tomaszg"]Sorry, my server doesn't support it.[/quote]

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?
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

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.
Bild Bild
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

Okay, it should work now with https.
Bild Bild
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

[quote="tomaszg"]
Okay, it should work now with https.
[/quote]

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? ... ap=Germany

But
https://tomaszg.pl/cgi-bin/geo-form.pl? ... ap=Germany
works the same...

So my question is: Could You erade useless information like &nick_nl=&
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03: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 :)
Bild Bild
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

[quote="tomaszg"]I would need to plug in some javascript to do it[/quote]

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@
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

One minor bug. Please take a look at the Difficulty / terrain matrix:
https://tomaszg.pl/cgi-bin/geo-form.pl? ... ap=Germany
The calculated values (Total 26 combinations found out of 81) are wrong.
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

Thanks for spotting! It was caused by simple copy/paste error, fixed now.
Bild Bild
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6623
Registriert: 04.12.2009, 00:31

[quote="tomaszg"]Okay, it should work now with https. [/quote]

Have You stepped back to http?

Because http://tomaszg.pl/cgi-bin/geo-form.pl?n ... rmany  works,
but https://tomaszg.pl/cgi-bin/geo-form.pl? ... ap=Germany is not working anymore?!
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

I have some temporary configuration problems and I'm now working to fix it. Broke something last night, it seems.

Edit: I think everything is fixed now.
Zuletzt geändert von tomaszg am 24.06.2020, 13:38, insgesamt 1-mal geändert.
Bild Bild
JoDaEmPA
Beiträge: 3
Registriert: 02.06.2020, 10:09

HeyHo !
Thangs tomaszg ! It a very cool project ! Stats for Opencaching !
Can and do you want to install a filter for all FTF hunters that counts the FTF ?

https://project-gc.com/ProfileStats/jodaempa#FTF

Great Thangs JoDaEmPa !
Benutzeravatar
tomaszg
Nano
Nano
Beiträge: 32
Registriert: 28.01.2020, 03:18

I wanted to implement some FTF stats, but regretfully it is rather difficult. I can't in a straightforward way check it via Okapi without parsing all log entries. I'm trying to find a way to do it in a reasonable way, but didn't figure it out yet.

FWIW, Project-GC checks for word "FTF" in the log to figure it out. I don't think many people put it in their logs (I know I don't usually) so it is not the best approach.
Bild Bild
Antworten