Jump to content

Search Both Geocaching And Ngs With This


Black Dog Trackers

Recommended Posts

Doing some research on a PID? You can do it a bit more easily with this little trick.

 

Between the rows of ======= below is the contents of a small html file. Save those contents in a file on your hard drive and call it pids.htm or something else with .htm as the extension.

 

Then with your favorite browser, open (click File, then Open) the pids.htm file on your hard drive (and mark it as a 'favorite').

 

What you will get in your browser is a box for Geocaching and a box for NGS. Type your PID in both of the boxes and press the 2 buttons. You will then get 2 new browser windows, one with the Geocaching datasheet for that PID, and one with the latest NGS datasheet for that PID!

 

============================================

<html>

<body>

 

<form method="get" action="http://www.geocaching.com/mark/details.aspx"

target="_blank">

<input type="text" name="PID" size="6" maxlength="6">

<input type="submit" value="Geocaching Search">

<input type="reset" value="clear">

</form>

 

<form method="get" action="http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl"

target="_blank">

<input type="text" name="PidBox" size="6" maxlength="6">

<input type="submit" value="NGS Search">

<input type="reset" value="clear">

</form>

 

</body>

</html>

============================================

Link to comment

I have a bookmarklet that does a similar thing:

 

javascript:BmURL=document.URL;theLength=BmURL.length;Bm=BmURL.substring(theLength-6,theLength);location.href='http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox='+Bm

 

It's tailored to Apple's Safari web browser but it could probably be altered to work in other browsers.

 

Set up a bookmark for anything, change the target to the above code, then whilst viewing a benchmark on the geocaching site click the bookmark and you will be taken to the datasheet for that PID at the NGS site.

 

JeremyA

Link to comment

I got tired of clicking through the NGS site to search by PID, so like JeremyA I created a bookmarklet for myself. (For more on bookmarklets, check out this article).

 

You can find the link for the bookmarklet on my Survey Marks website, near the bottom left of the page. Just drag and drop the link onto your Links Bar/Personal Toolbar (depending on browser), or right-click and add it to your Favorites or Bookmarks. You'll get a popup prompt into which you can type the PID you're interested in. For easy access, I have it set up as a button on my Personal Toolbar in Mozilla.

 

~Zhanna

Link to comment

Thought I'd post this note for the benefit of those who've recently started using GSAK to manage BM data...

 

Ye Olde Imposter had provided the custom URL he referred to above someplace, and I had used it in an older version of GSAK. Somewhere between moving from one machine to another and upgrading to newer versions, I lost that url and couldn't find it searching the archives. With the info in this thread I've been able to get something that works to get the NGS data sheet (there's already a gc.com BM url).

 

In GSAK, Tools/Options/HTML will take you to the custom url window. Paste in this in its own line:

 

NGS=http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox=%code

 

Click OK, and now when you right-click on a given BM record and select NGS, the current data sheet will come up in your web browser.

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...