Template talk:Meetup graticule

From Geo Hashing
Jump to: navigation, search

Contents

[edit] Comments

Hopefully, the author of this template checks here periodically... There are two things that don't work right with this. First, the graticule_link doesn't product a link when there is a comma in the name (even though the example shows a comma!). If it doesn't change, look at the Melbourne, Florida page for an example. Second, it is very sad that the use of magic words (such as {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}) for the date doesn't work within the <map /> part. Perhaps a special symbol for TODAY could be used for people who would like the map to always show the current location. -- Nurbles 14 Jun 2008

I also wonder if there is a way to not only create the categories Meetup in ... and Meetup on ..., as it does, but to categorise those categories as Meetup by location and Meetup in YEAR-MONTH. It's not too much work to do that manually: once per graticule for the former and once a day for the latter, but it would be cool. -Robyn 19:12, 12 August 2008 (UTC)
Such YYYY-MM and YYYY categories are generally unnecessary, as the YYYY-MM-DD categories are subcategories of the former. --Tim P 02:44, 1 September 2008 (UTC)
Yes, I know. I wasn't requesting them to be added to the page using the meetup graticule template. I was asking that they be created, such that the do contain their subcategories. As it is, someone (mostly me) categorizes them. -Robyn 17:12, 26 September 2008 (UTC)

[edit] Optional map=... Parameter

Don't know if people noticed, but I worked out how to get {{#tag}} to work, so now if you leave out the map=... part it automagically generates it for you, based on the lat, lon, and date parameters. --Matty December 2008

[edit] 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)

[edit] 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)

[edit] Changing <map> to <mapimg>?

Would anyone get really tweaked out if I changed the default map parameter from <map> to <mapimg>? The iframe generated by the former always takes longer to load, and often include blue "alternate location" markers that obscure the red "official location" marker. -- Phyzome 15:40, 23 January 2009 (UTC)