summaryrefslogtreecommitdiff
path: root/plugins/GeonamesPlugin.php
AgeCommit message (Collapse)Author
2010-06-10Ticket #2349: fix for Geonames semantic reference URLs in FOAF output ↵Brion Vibber
(corrects a typo in the patch added in 4463768b)
2010-04-08Fix for error during handling of HTTP error response case in Geonames lookupsBrion Vibber
2010-04-06Set a default 2-second timeout on Geonames web service lookups. After a ↵Brion Vibber
failure, further lookups in the same process will be skipped for the next 60 seconds (also configurable). Makes a Geonames outage much less disruptive to site operations.
2010-03-30Shared cache key option for Geonames plugin, lets multi-instance sites share ↵Brion Vibber
their cached geoname lookups. Example: unset($config['plugins']['default']['Geonames']); addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-01-30better handling of null responses from geonames.orgEvan Prodromou
2010-01-07add version information to Geonames pluginEvan Prodromou
2009-12-23Merge branch 'geonamesxml' into 0.9.xEvan Prodromou
2009-12-23make sure Geonames API queries use correct arg separatorEvan Prodromou
2009-12-23Convert Geonames plugin to use XML API instead of JSONEvan Prodromou
The XML API for Geonames contains much more detailed error information than the JSON one. So, I've converted this plugin to use it instead. It seems to be the preferred format for Geonames, so biting the bullet on this makes sense.
2009-12-23Better error notification for Geonames pluginEvan Prodromou
2009-12-04configurable expiry for cached Geonames data defaults to 90 daysEvan Prodromou
2009-12-04let Geonames clients use commercial Web serviceEvan Prodromou
2009-11-20use caching in geonames pluginEvan Prodromou
2009-11-19tobyink's location RDF patchCraig Andrews
2009-11-17Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid ↵Brion Vibber
parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later.
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-11-02Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, ↵Brion Vibber
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-10-29make an URL for a geonames locationEvan Prodromou
2009-10-22results of json parsing are objects not arraysEvan Prodromou
2009-10-22extract Geonames stuff to a pluginEvan Prodromou