Entries Tagged as 'Development'

SEO cheat sheet

Selling SEO expertise as an extra service is a little bit like selling the top of a burger separately, since most of the job should be/could be done during the development process. So this is pretty cool: “THE” SEO cheat sheet for web developers. (via)

Using PHP to create TextMate commands

I just stumbled upon this on the TextMate blog: Ciarán Walsh wrote a blog post about using PHP to create custom commands for my favourite text editor/IDE/general weapon of choice: TextMate. TextMate already has a huge collection of snippets and commands for all kinds of languages that are easily expandable and that I use frequently. But I didn’t know you can use PHP to create custom commands. I will definitely try this out.

Link.

PHP: UTF-8 and Spreadsheet Excel Writer

Spreadsheet Excel Writer is a handy tool to generate MS Excel files with php. But it has some trouble handling utf-8 sources. Luckily Research e-Labs describes a simple solution:

After recently working on an application to generate Microsoft Excel documents using a PHP script, I ran into trouble with the PEAR package “Spreadsheet Excel Writer” which didn’t correctly display UTF-8 characters (Māori macrons in this case). Here is a fix!

Google Static Maps

If you want to use google maps but don’t need a full-blown JS/Ajax map, you can now use static map images. The map is basically a request to maps.google.com that you can put into the src attribute of an image tag.

This little example outputs the image below:

<!--
center: latitude and longitude of the map center
zoom: zoom level of the map
size: image size - up to 512x512 pixels maximum
maptype: roadmap (default) or mobile
markers: markers with latitude/longitude
-->
<img src="http://maps.google.com/staticmap?center=52.521305,13.413509&zoom=14&size=512x200&maptype=roadmap&markers=52.518443,13.393717,greenh&key=APIKEY">

More Information here.