After looking on the internet for a jquery or javascript plugin that converts machine dates to readable ones like 12.12.2012 -> 2 days ago, I decided to write on my own. Since I am not a good javascript programmer feel free to correct my mistakes. Features multilanguage, aware of language grammatics, easy to hack, available… Continue reading jQuery niceDate plugin
Month: October 2011
Zend Rest Client & Google Maps Geocoder API
Here is some quick example how to use zend framework rest client and google maps geocoder API together. 1 2 3 4 5 $client = new Zend_Rest_Client(’http://maps.googleapis.com/maps/api/geocode/xml’); $client->address(’Cesta Andreja Bitenca 68, 1000 Ljubljana’); $client->sensor(’false’); $res = $client->get(); print_r($res);$client = new Zend_Rest_Client(‘http://maps.googleapis.com/maps/api/geocode/xml’); $client->address(‘Cesta Andreja Bitenca 68, 1000 Ljubljana’); $client->sensor(‘false’); $res = $client->get(); print_r($res);