Jump to content

Searching for past DNFs


gasbottle

Recommended Posts

Is there some way I can search the web site for caches that I have logged a DNF on and that I haven't subsequently found?

 

I never got on too well with GSAK, and the nag screens now make it unusable. I don't want to pay for a tool for a one-off requirement so I'd prefer some other solution if that's possible.

Link to comment

Is there some way I can search the web site for caches that I have logged a DNF on and that I haven't subsequently found?

 

I never got on too well with GSAK, and the nag screens now make it unusable. I don't want to pay for a tool for a one-off requirement so I'd prefer some other solution if that's possible.

 

https://www.geocaching.com/my/default.aspx

 

Your Logs (Last 30 Days)

Show all logs for: Geocaches, Trackable Items, or Benchmarks ***click on "geocaches" to get to:

 

Your Geocaching Logs (All)

Show: Attended, Didn't find it, Enable listing, Found it, Needs archived, Needs maintenance, Owner maintenance, Post reviewer note, Temporarily disable listing, Update coordinates, Will attend, Write note, All Logs

 

You can then chose to see only "Didn't Find it" logs

 

 

B.

Edited by Pup Patrol
Link to comment

It seems that there is no easy way to do this (except perhaps GSAK). From the suggestions above I can get a list of the caches I've logged a DNF on. I can also get a list of those I have found. If I could get these lists in a machine readable format I could create a short script in, say, PHP to match them up and get the result I want.

 

So the question now is, can I download these lists in, perhaps, CSV format? I could go with XML (maybe even GPX) but that makes things more complicated.

 

Ultimately I suppose I could simply save the HTML and process that but parsing the HTML is a complexity I could really do without.

 

Alternatively, is there some way to get all my log entries (again, preferably in CSV format)? Provided there's a field that ties the log entry to the cache I can quickly create a script that will extract the data I'm after.

Edited by gasbottle
Link to comment

It seems that there is no easy way to do this (except perhaps GSAK). From the suggestions above I can get a list of the caches I've logged a DNF on. I can also get a list of those I have found. If I could get these lists in a machine readable format I could create a short script in, say, PHP to match them up and get the result I want.

 

So the question now is, can I download these lists in, perhaps, CSV format? I could go with XML (maybe even GPX) but that makes things more complicated.

 

Ultimately I suppose I could simply save the HTML and process that but parsing the HTML is a complexity I could really do without.

 

Alternatively, is there some way to get all my log entries (again, preferably in CSV format)? Provided there's a field that ties the log entry to the cache I can quickly create a script that will extract the data I'm after.

 

You can use the gpsbabel tool (https://www.gpsbabel.org/), which GSAK uses, to transform a MyFInds pocket query output (in gpx format) to CSV. However, as far as I know, there isn't a way to get a list of DNFs from the geocaching.com web site, other than as a web page. I don't program in PHP unless I have to but you could probably find a html parser library that could parse the html output of the https://www.geocaching.com/my/logs.aspx?s=1&lt=3 links. Unfortunately that doesn't have GC codes, which means you'd probably have to resolve the link for each cache in the list to get it, and would probably mean some screen scraping, which may be in violation of the TOU.

Link to comment

Is there some way I can search the web site for caches that I have logged a DNF on and that I haven't subsequently found?

 

I never got on too well with GSAK, and the nag screens now make it unusable. I don't want to pay for a tool for a one-off requirement so I'd prefer some other solution if that's possible.

 

https://www.geocaching.com/my/default.aspx

 

Your Logs (Last 30 Days)

Show all logs for: Geocaches, Trackable Items, or Benchmarks ***click on "geocaches" to get to:

 

Your Geocaching Logs (All)

Show: Attended, Didn't find it, Enable listing, Found it, Needs archived, Needs maintenance, Owner maintenance, Post reviewer note, Temporarily disable listing, Update coordinates, Will attend, Write note, All Logs

 

You can then chose to see only "Didn't Find it" logs

 

B.

 

Here's my method--it will be time-consuming if you have a lot to start with, but not difficult to keep it up to date.

 

Take the list of "Didn't Find It" logs created as above, bookmark all those caches. Then when you look at the bookmark list, it will show the ones you subsequently found. Delete those from the bookmark list.

For the future, whenever you DNF a cache, add it to the DNF bookmark list.

Link to comment

[...] to transform a MyFInds pocket query output (in gpx format) to CSV. [...]

 

The MyFinds PQ unfortunately only Contain DNFs that are changed to a Found later. All the DNFs without a following Found are not part of this PQ.

 

Hans

 

The MyFinds PQ only contains a list of caches that have been found, and as you say there is no information regarding whether any of the caches were previously attempted. In order to create a list of cache that one has DNFd, but has not subsequently been found, a list of DNFs needs to be compared to a list of caches that have been found.

 

 

Link to comment

I add caches I DNF to a bookmark list. I can go to https://www.geocaching.com/my/lists.aspx and view my list. Each one that has been found since is denoted as such by the system. I can delete those, and voila - a list (which can be made into a PQ) of my DNFs that I have not subsequently found.

 

Can this list be exported as text? I dunno.

Edited by TriciaG
Link to comment

I do the same thing, TriciaG. My DNF bookmark list is linked below in my forum signature line. It's a great record of my many misadventures and failures!

 

You mentioned making a pocket query of your DNF's from the bookmark list. What's more, you can then map the PQ results. Here's my footprint of epic fails across the country:

 

14feefc2-b42b-40f4-b0f0-272ae61ca7fb.jpg

 

I can also run that pocket query and download the results into GSAK. Because it's a special load, I can tell GSAK to change the icons associated with caches I've DNF'd. That way, they display differently on GSAK's map. That is how I solve for another common request in these forums: a way to show your DNF's on a cache map.

Link to comment

Here are your DNFs as a CSV file (just code and name):

Gasbottle's Dnfs

 

Hans

 

NB: I suppose that a list with just codes and names is not violating the ToU.

 

Thanks for this. It gives me an idea of the scale of the problem - that is, it's not huge. A quick visual check suggests that about 80% have been found. I can quickly remove those that I recognise as found immediately leaving about 25 that I need to check manually. The objective is to create a Bookmark list to track this, and for 25 or so caches the complexity of an automated search really isn't justified, nor is fighting with GSAK.

 

Thanks again for your help

Link to comment

I add caches I DNF to a bookmark list. I can go to https://www.geocaching.com/my/lists.aspx and view my list. Each one that has been found since is denoted as such by the system. I can delete those, and voila - a list (which can be made into a PQ) of my DNFs that I have not subsequently found.

 

Can this list be exported as text? I dunno.

 

A bookmark list is my objective, but since I didn't start it on day one I need an initial list of qualifying caches to set it up. Exporting the caches was only a possible route to automating the process.

 

Thanks for your input :)

Link to comment

[....] The objective is to create a Bookmark list to track this, and for 25 or so caches the complexity of an automated search really isn't justified, nor is fighting with GSAK.

 

Thanks again for your help

 

The bookmark lists automatically show found caches as such. There is a Greasemonkey script "Geocaching.com Bookmarks Helper" that flags them in one go and let you bulk delete the found caches.

 

Hans

Link to comment
The MyFinds PQ only contains a list of caches that have been found, and as you say there is no information regarding whether any of the caches were previously attempted.

 

A merely technical detail, a MyFindsPQ will include ALL of your logs on that cache - any DNFs, Write Note, etc. So if you log a DNF on a cache you later find, your DNF log will come in PQ.

In GSAK I filter on MyFinds for DNFs and find that 115 caches in that query were previously DNF'ed by me.

I assume there are other ways to do this.

Link to comment
The MyFinds PQ only contains a list of caches that have been found, and as you say there is no information regarding whether any of the caches were previously attempted.

 

A merely technical detail, a MyFindsPQ will include ALL of your logs on that cache - any DNFs, Write Note, etc. So if you log a DNF on a cache you later find, your DNF log will come in PQ.

In GSAK I filter on MyFinds for DNFs and find that 115 caches in that query were previously DNF'ed by me.

I assume there are other ways to do this.

That will tell me the DNFs for caches I have found. I want the DNFs for caches I haven't found

Link to comment

After reading the comments here and experimenting a little this is what I arrived at:

 

Go to Geocaches | All logs and save the resulting page locally

Run a short script on the saved file to filter the logs in the way I want and generate a clickable list that I can work from to set up a bookmark list.

 

It took me about 90 minutes to write the script - probably faster than I could have done the job with GSAK - and now it's done I can set up a bookmark list and I won't have to run it again.

 

Job Done!

Edited by gasbottle
Link to comment

The objective is to create a Bookmark list to track this, and for 25 or so caches the complexity of an automated search really isn't justified, nor is fighting with GSAK.

For 25 caches, I would have gone down the list of all my DNF logs, right-clicked to open each cache in a new tab, then gone through the tabs to close the ones that showed my smiley at the top right of the cache page (resolved DNF), and to bookmark the ones with no smiley at the top right (unresolved DNF). Would take about 10 minutes, tops.

Link to comment
[...]

 

It took me about 90 minutes to write the script - probably faster than I could have done the job with GSAK - and now it's done I can set up a bookmark list and I won't have to run it again.

 

Job Done!

 

It took me less than 2 minutes to get all your DNFs using GSAK and the api. Another minute to create a bookmarklist and bulk upload those DNFs. Another minute to bulk delete the finds.

 

Hans

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...