You changed the values for your Open Graph tags on your website but Facebook still shows an old (obviously cached) version of your shared or liked page?
Read more…
As I explained already in this blog entry, we came across a problem as we wanted to use a Google Map on our mobile website. Read more…
As we developed our mobile WebApp we came across some minor problems. One of them was that we need a Google Map in one of our pages. But all pages are loaded via AJAX. So the Google Map did not load, we had to refresh it, with custom data which was provided via PHP. Read more…
The official TinyMCE website offers a documentation/tutorial to develop a plugin for the popular WYSIWYG Editor. Unfortunately the tutorial is quite poor and we’d love to have a template instead of a step-by-step tutorial. Read more…
In our new mobile WebApp for our website www.powerhour.at which we realized with the popular jQuery Mobile Framework, we included some cool stuff. One of them is the possibility to scroll through the result entries with an easy swipe to left on the mobile phone. Read more…
Making a phone call with your Windows Phone 7 App
Calling a phone number from your App is really easy. You just need a text field (in our case: txtTelephone) with the value of the number you want to call. Read more…
To define an individual style for your pushpins add the following code (created with Microsoft Expression Blend) to your App.xaml:
Read more…
Some time ago I wrote an article giving answer to the question “how can I get latitude/longitude from an address via php?“. I wrote in that article that we created a php library, based on Google’s geocoding API, to solve that problem. As Google released version 3 of their API we also updated our library.
You can now download version 2.0 of our geocoding library including an example script here:
http://devblog.powerhour.at/wp-content/uploads/2011/10/powerhour-geocoder-2.zip
Note: This version does not require a Google Maps Key anymore!
If you are using a script similar to the example we provided with our first version you won’t have to change anything (in this case only the include path was changed):
<?php set_include_path(get_include_path() . PATH_SEPARATOR . "PowerHour_Geocoder_v2.0"); require_once("Geocoder.php"); try { // Create new instance $geocoder = new PowerHour_Geocoder(); // Get geocode information $geocoder->mapFromAddress("Salzgries 1, Wien"); // show geo information echo $geocoder->getLatitude().", ".$geocoder->getLongitude()." "; // show zip echo "zip is: ".$geocoder->getZip(); } catch(PowerHour_Geocoder_UnknownAddressException $unknownAddressException) { echo "could not find address"; } catch(PowerHour_Geocoder_Exception $geocodeException) { echo "sorry, an error occured during address lookup"; }
The above example should return the following result:
48.2125693, 16.3737802 zip is: 1010
We love CSS3 and all the new opportunities it offers. But as CSS3 always comes with the question for cross browser compatibility we are constantly looking for solutions.
Read more…
As we need the functionality for textboxes to contain default values which disappear on focus we developed a jQuery plugin for this functionality.
Read more…
