[okfn-help] [okfn-discuss] Weaving History (Microfacts): http://weavinghistory.org/
john.bywater at appropriatesoftware.net
Tue Apr 28 17:19:31 BST 2009
Rufus Pollock wrote:
> 2009/4/28 Jonathan Gray <jonathan.gray at okfn.org>:
>> Glad to see we're nearly ready for a first release with this!
>> Currently I get:
>> "The Google Maps API key used on this web site was registered for a
>> different web site. You can generate a new key for this web site at
> Fixed. (I hope). though microfacts.org will now be broken.
>> Presumably as this was originally rolled out on microfacts domain?
> You conjecture right. Anyone know how to load a different api key for
> different domains ...
Just change this line to make it depend upon the HTTP request host:
Use the request host as a key to a dictionary of API keys. Integrate
with config file according to taste. :-)
More information about the okfn-help