Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75691

Support thread for SouvenirStats.gsk by sbeelis - 2013-08-29

$
0
0
QUOTE (Lt.Ranger.Bob @ August 29, 2013 03:47 am)
I have noticed below problem with my wives souvenir stats. The problem is being caused by her not logging her finds in the correct order and I may have have already run the SouvernirStats macro so when I rerun the macro after she enters a find for a later date the icons are out of synch.

The problem does not occur with her online souvenir stats created by GC.com, only those created by this macro.

I'm not sure if a file may need to removed so I can rerun the HTML file or if a fix may be needed in the macro. I would appreciatete any help to fix this problem.

The query to Groundspeak for the souvenirs returns a field named DateDiscovered and the macro uses this date to sort the souvenirs.

I assume that this date is assigned to the date on which you logged the cache that enables a souvenir, so your wife logging her finds in the incorrect order is probably the root cause.

To verify this, start the macro and tick the "Write debug log file" checkbox, then press "Get Souvenir list from groundspeak.com", then "Ok".

The log file should now be opened in your text editor. Near the top of the file you should see a heading "API Response" followed by the XML data returned from the API. Each souvenir starts with <a:Souvenir> and ends with </a:Souvenir>. In between those two tags, you should find the following elements:
  • <a:DateDiscovered>
  • <a:Title>
Try looking for your 31 Days of Geocaching XX of 31 souvenirs and have a look at the date returned.

If that date is indeed in the wrong order, there is not much the macro can do (nor do I know that anything can be done on the groundspeak side of things).

The reason that geocaching.com shows the souvenirs in the correct order is that they have access to a whole lot more data, so they may also have "desired dates" for souvenirs in addition to "earned dates" or some other voodoo magic that we do not have access to using the API.

I know people have asked me for manual sorting before but to be honest that is more work than I'm willing to invest in this macro.

Viewing all articles
Browse latest Browse all 75691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>