Difference between revisions of "Template talk:Meetup graticule"

From Geohashing
imported>M5rammy
m (Chrono-Navigation and Geo-Navigation links)
imported>Bishop Wash
(Bugs: new section)
Line 45: Line 45:
  
 
[[User:M5rammy|m5rammy]] 19:23, 30 June 2008 (UTC)
 
[[User:M5rammy|m5rammy]] 19:23, 30 June 2008 (UTC)
 +
 +
== Bugs ==
 +
 +
The code doesn't like dates before 1 Jan 1970, Unix epoch. I performed a retro geohash this weekend and documented the expedition [[1951-11-02 35 -106|here]]. The text below the map contains a number of errors and it thinks the date is 1 Jan 1970. --[[User:Bishop Wash|Bishop_Wash]] 04:51, 4 November 2008 (UTC)

Revision as of 04:51, 4 November 2008

Chrono-Navigation and Geo-Navigation links

On the meetup pages for my grat (Cincinnati, Ohio), I've added the following code directly after the Map code and before the About section, modifying the dates, for each week's page:

{| border="1" style="text-align:center"
|-<br>
| rowspan="3" | [[2008-06-21 39 -84|Prev Sat]]<br>Today<br>[[2008-07-05 39 -84|Next Sat]]
| rowspan="3" | Neighboring<br>Meetups<br>today &rarr;
| [[2008-06-28 40 -85|NW]]
| [[2008-06-28 40 -84|N]]
| [[2008-06-28 40 -83|NE]]
|-
| [[2008-06-28 39 -85|W]]
| us
| [[2008-06-28 39 -83|E]]
|-
| [[2008-06-28 38 -85|SW]]
| [[2008-06-28 38 -84|S]]
| [[2008-06-28 38 -83|SE]]
|}

which gives ...

Prev Sat
Today
Next Sat
Neighboring
Meetups
today →
NW N NE
W us E
SW S SE

I wrote a script (outside of the wiki) to generate the code for any day and grat (with options). In any case I'd be honored if you want to adopt this code for your grat pages too.

Here is a the asp/vbscript code and a ReadMe file: NaviCodeGen (NAVIgational CODE GENerator)

m5rammy 19:23, 30 June 2008 (UTC)

Bugs

The code doesn't like dates before 1 Jan 1970, Unix epoch. I performed a retro geohash this weekend and documented the expedition here. The text below the map contains a number of errors and it thinks the date is 1 Jan 1970. --Bishop_Wash 04:51, 4 November 2008 (UTC)