The autogenerated map links seem to have vanished from Oxford Guide pages. Could we have them back, please?
Kake
On Thu, Apr 18, 2013 at 04:11:42PM +0100, Kake wrote:
The autogenerated map links seem to have vanished from Oxford Guide pages. Could we have them back, please?
I removed the maps links at the same time as updating to leaflet, as it didn't seem worth maintaining a hacked display_metadata.tt any more, but I can put the links back if people want them.
Was it particularly streetmap you were interested in, still?
Dominic.
On Fri 19 Apr 2013, Dominic Hargreaves dom@earth.li wrote:
I removed the maps links at the same time as updating to leaflet, as it didn't seem worth maintaining a hacked display_metadata.tt any more, but I can put the links back if people want them.
Was it particularly streetmap you were interested in, still?
The map links are really useful - it'd be very helpful if you could put them back! The inline maps are too small for me. If you don't want to do this, though, I'm happy to write a script to populate the map_link field in the edit interface from the os_x and os_y fields.
Personally I mostly use the streetmap links, but others might prefer different ones.
Kake
On Fri, Apr 19, 2013 at 11:27:55PM +0100, Kake wrote:
On Fri 19 Apr 2013, Dominic Hargreaves dom@earth.li wrote:
I removed the maps links at the same time as updating to leaflet, as it didn't seem worth maintaining a hacked display_metadata.tt any more, but I can put the links back if people want them.
Was it particularly streetmap you were interested in, still?
The map links are really useful - it'd be very helpful if you could put them back! The inline maps are too small for me. If you don't want to do this, though, I'm happy to write a script to populate the map_link field in the edit interface from the os_x and os_y fields.
I'd rather not denormalise the data like that :)
Personally I mostly use the streetmap links, but others might prefer different ones.
Added back, via
https://github.com/OpenGuides/OpenGuides/commit/111c9339858fad183cabde469518...
and
http://dev.openguides.org/changeset/1465/sites/oxford.openguides.org/templat...
Cheers, Dominic.
On Sat 20 Apr 2013, Dominic Hargreaves dom@earth.li wrote:
https://github.com/OpenGuides/OpenGuides/commit/111c9339858fad183cabde469518...
Nice! Would it be better to do it the other way around? As it stands, to use this in RGL/CGC I'd have to go through and remove all the map links from the data. Could we INCLUDE custom_auto_map_link.tt by default, and fall back to map_link only if there isn't one? Also, it might be better to call the template custom_auto_map_links.tt, since I at least will want to put in more than one map link.
Also, I'd like to see some tests for this new feature, as with all new features.
Kake
[moving to openguides-dev]
On Sun, Apr 21, 2013 at 08:06:31AM +0100, Kake wrote:
On Sat 20 Apr 2013, Dominic Hargreaves dom@earth.li wrote:
https://github.com/OpenGuides/OpenGuides/commit/111c9339858fad183cabde469518...
Nice! Would it be better to do it the other way around? As it stands, to use this in RGL/CGC I'd have to go through and remove all the map links from the data. Could we INCLUDE custom_auto_map_link.tt by default, and fall back to map_link only if there isn't one? Also, it might be better to call the template custom_auto_map_links.tt, since I at least will want to put in more than one map link.
Okay. The logic is right for Oxford, because we assume that if a map link is provided, it's more interesting than a generic one. But the Oxford custom template can easily replicate that functionality.
Also, I'd like to see some tests for this new feature, as with all new features.
Okay.
This is back on my list.
openguides-oxford@lists.openguides.org