*Sigh*
Sorry, but must be feeling lazy today after spending 4 hours yesterday finding the appropriate lines for adapting the stand-alone page script layout to my preferences....
I know I'm in the minority by using a stand-alone page (that has background and other layout modifications) but if there is only a line or two of change it would be a lot easier to change the altered line(s) than replace the whole page and then have to go back and change many lines of layout code.
If that is the case, only a line or two change, would it be possible to just post the changed lines? They are usually easy to find by doing a "Search" for line(s) to be changed.
I'm in a similar situation. I happen to do my work on a Mac, which has Unix under the hood, and since I did a lot of development on Unix systems, I just resort to my old habits. But there is probably a more modern way to do this, no matter what the platform.
Anyway, here is what I do for files that I've modified:
1) Download the latest Ken update. I also save all of these, in separate folders indexed by the date I downloaded the update.
2) Using the Mac terminal (which gives me a Unix shell), I find the previous version of the same file in my Saratoga folder.
"find . -name '[file name]' -print | sort"
3) I then find the differences between those two versions. Example:
diff -w 20190430Update/advforecast2JSON.php 20190502Update/advforecast2JSON.php | more
(a. note that I rename the JSON versions of the advforecast files; b. "-w" means "ignore whitespace").
The output is:
58a59
> // Version 5.12 - 01-May-2019 - fix for link URL at bottom of page
61c62
< $Version = 'advforecast2.php (JSON) - V5.11 - 30-Apr-2019';
---
> $Version = 'advforecast2.php (JSON) - V5.12 - 01-May-2019';
388c389
< $backupfileName = APIURL . "/zones/JSON-LD/$NOAAZone/forecast";
---
> $backupfileName = APIURL . "/zones/forecast/$NOAAZone/forecast";
402c403
< $backupfileName = APIURL . "/zones/JSON-LD/".$META['forecastZone']."/forecast";
---
> $backupfileName = APIURL . "/zones/forecast/".$META['forecastZone']."/forecast";
1214c1215
< echo htmlspecialchars($zoneURL);
---
> echo htmlspecialchars(FCSTURL."/zone/".$META['forecastZone']);
1217c1218
< echo htmlspecialchars($pointURL);
---
> echo htmlspecialchars( FCSTURL."/point/".$META['point']);
4) In an editor, I open both my version of the file and Ken's latest. Following the results of the "diff", I apply the changes.
If we want to dig into this more and come up with procedures that are not so Unix (and Unix nerd) specific, we should probably start a new thread.