Commit Graph

11 Commits

Author SHA1 Message Date
Evan Prodromou 098426cee9 configurable expiry for cached Geonames data defaults to 90 days 2009-12-04 16:25:05 -05:00
Evan Prodromou 99b23782ef let Geonames clients use commercial Web service 2009-12-04 15:30:43 -05:00
Evan Prodromou 028a44e080 use caching in geonames plugin 2009-11-20 15:27:47 -05:00
Craig Andrews 4463768bae tobyink's location RDF patch 2009-11-19 12:00:25 -05:00
Brion Vibber 88ff0eefb4 Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later. 2009-11-17 16:56:43 -08:00
Brion Vibber 088081675f Revert "Remove more contractions"
This reverts commit 5ab709b739.

Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Siebrand Mazeland 5ab709b739 Remove more contractions
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Brion Vibber 5581143bee Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
Caching support will be added in future work after unit tests have been added.

* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface

Note some plugins haven't been fully tested yet.
2009-11-02 09:14:15 -08:00
Evan Prodromou 62ba14f5cf make an URL for a geonames location 2009-10-29 15:07:26 -04:00
Evan Prodromou de4b2098d1 results of json parsing are objects not arrays 2009-10-22 16:20:31 -04:00
Evan Prodromou 9c983c3830 extract Geonames stuff to a plugin 2009-10-22 15:44:36 -04:00