[GeoStL] Re: Web question for my free garmin maps site

  • From: "Mike Griffin" <griff@xxxxxxxxxxxx>
  • To: <geocaching@xxxxxxxxxxxxx>
  • Date: Tue, 2 Dec 2008 00:01:34 -0600

-
Jim, there are a couple of ways to accomplish this. One way is to do some 
screen scraping to get the latest date. Another way would be to run a script 
such as PHP or Perl to automatically update the HTML each time you upload to 
GPS Depot. Either way, you will need to program a script file.

See... http://www.tgreer.com/class_http_php.html on screen scraping to get 
the date.

Once you have it in variable format, you can update your page with the date 
variable.


Mike

----- Original Message ----- 
From: "Jim Bensman" <junkmailno@xxxxxxxxxxx>
To: <geocaching@xxxxxxxxxxxxx>
Sent: Monday, December 01, 2008 1:22 PM
Subject: [GeoStL] Web question for my free garmin maps site


-
On my site (there are now installers for Windows and Mac):

http://webpages.charter.net/jbensman/Maps.htm

I have when the mapset was last updated.  The maps are hosted at
www.gpsfiledepot.com When I update the mapsets there, the page for the
mapset http://www.gpsfiledepot.com/maps/view/53/ has a line

Last Updated: November 15th, 2008 9:11pm

What I want to do is to be able to stick some code on my webpage that will
read that line on gpdfiledepot and put it on my webpage.  That way my
website would have the correct date of the files without me having to edit
the html and ftp the file to my website.  If that is possible, would someone
be willing to write the code to do it for me?

Now that I have learned how to make installers (and can do it with a couple
clicks of the mouse), to get the most up to date versions of my maps, all
you have to do is go to my website, click on the link, run the installer and
the new version will be on the computer in a couple of minutes.  So I plan
to update the installers much more often and don't want to have to change my
webpage each time I do it.

Thanks

Jim Bensman
"Nature Bats Last"





 ****************************************
 For List Info or To make _ANY_ changes, including unsubscribing from this
 list, click -----> //www.freelists.org/list/geocaching
 Missouri Caches Scheduled to be Archived  http://tinyurl.com/87cqw
 Missouri land use policies --> www.MoCache.net
 Mogeo forums -->http://mogeo.ipbhost.com/index.php
 "NGR LIST" -->  //www.freelists.org/list/mga

 

 ****************************************
 For List Info or To make _ANY_ changes, including unsubscribing from this
 list, click -----> //www.freelists.org/list/geocaching 
 Missouri Caches Scheduled to be Archived  http://tinyurl.com/87cqw
 Missouri land use policies --> www.MoCache.net
 Mogeo forums -->http://mogeo.ipbhost.com/index.php
 "NGR LIST" -->  //www.freelists.org/list/mga

Other related posts: