Closed (fixed)
Project:
GeoNames
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2009 at 08:25 UTC
Updated:
24 Sep 2009 at 14:30 UTC
According to http://drupal.org/node/334726#comment-2014036
if geonames_metadata_update() was working it would load this table on the first cron call (and every month thereafter). Arguably, there should be a more human-friendly way to trigger this refresh. Feel free to file that as a feature request.
Comments
Comment #1
lyricnz commentedI don't think that this table should be loaded at install time - many Drupal sites are not connected to the internet, or their administrators don't want unsolicited activity. It feels like it would be better to provide an admin action to reload this metadata (and maybe a warning that the tables are empty).
Comment #2
lyricnz commentedAdded support for manually refreshing metadata to 6.x-1.x-dev. You can find this in the geonames settings page at /admin/settings/geonames.
Should we put a warning somewhere, when these tables are empty? I already made the geonames settings screen behave differently if the data was empty (the "metadata" fieldset is expanded, and the title is 'Metadata - Incomplete').
Comment #3
lyricnz commentedAdded support for warning if the metadata is incomplete, to to 6.x-1.x-dev.
Comment #4
jmary commentedExcellent.
Comment #5
lyricnz commented