Quantcast
Channel: OpenGeofiction diary entries
Viewing all articles
Browse latest Browse all 2382

Presenting the "External Data Extension" on the wiki

$
0
0

I have been experimenting with an extension to the wiki for about a month now, and I'm ready to present some results.

This extension makes it possible to show tabular information in the wiki which is sourced DIRECTLY from the OGF database. If you set things up correctly, you don't ever have to maintain a seperate wiki table of objects in the OGF database - you can add objects on the map, "enroll" them in the correct collection, then they will simply "appear" in the table in the wiki.

If you set up the "collection" relation (discussed HERE), and copy the manner of enrolling locations in the collection, with appropriate tags on the locations, you can list locations of any business, organization or agency you want.

It's quite complicated, and not really for beginners. However, if you're feeling brave, I welcome people to try it out. I present Ardisphere's international discount retailing chain Martímart as a working example, HERE.

You can open the wiki page for edit and study the wikicode. You can download a few of the Martímart locations and study them. Please try not to break anything - just look at how it's put together, but don't edit them until you're sure you understand. But then you can copy the way it is all set up and make your own.

One note: for it to work properly, no tags included in the table list are optional - thus in the Martímart example, in order for my "ldata:note" to work and show up in the table, I have to provide a value for each tag for each location. Hence "¡Discuentos impossibles!" as a note at each location.

Oh, and by the way... If you want to add Martímart locations to your country, PLEASE DO - NO PERMISSION NEEDED. Let's see if we can watch the chain grow without ever having to edit the wiki.

Happy mapping.


Viewing all articles
Browse latest Browse all 2382

Trending Articles