Archive for the 'Web' Category

Post, share, receive, send and download audio files

Sunday, December 6th, 2009

Soundcloud is a free audio third-party (a.k.a. “not my problem”) service that allows you to post, share, receive, send and download audio files with anyone, anywhere. Also allows you to manage your audio files efficiently and effectively in “the cloud”.

Supporting iPhone custom protocols

Friday, November 27th, 2009

The iPhone Safari browser supports several extra protocols to launch their corresponding apps:
Apple documentation on iPhone integration

  • sms ex. Text this ( <a href=”sms:5555555555″>Text this</a> ) For SMS texting
  • tel ex. Phone this ( <a href=”tel:5555555555″>Phone this</a> ) For regular phone calls
  • youtube ex. Singing Shiba ( <a href=”youtube:rnXQDMDobHc”>Singing Shiba</a> ) Starting youtube videos
  • itms ex. ZipCar App ( <a href=”itms://itunes.apple.com/ca/app/zipcar/id329384702?mt=8&uo=6″>Items</a> ) ZipCar App
  • maps ex. CN Tower ( <a href=”maps:301 Front Street West, Toronto, ON”>CN Tower</a> ) Launching maps with address marker

HTML 5 and Push technology

Friday, November 27th, 2009

The ability for a user to be on a site and have the web server cause an action to occur on the site, via ‘push technology‘, is soon to be realized at the HTML 5 leve. Although this type of interaction has always been available; through Flash, Java and Javascript. It’s finally being brought-up to the HTML level as noted in W3C documentation. The Stray Orange blog has a good post relating to HTML 5 push technology.

PHP XML ignore whitespace

Thursday, October 15th, 2009

$xml_data = preg_replace("/>\s+</", "><", $xml_data);

Removes all the whitespace, tabs and newlines between the nodes from an XML file. A lot of PHP XML parsers tend to parse the white space, which can cause errors. Adding the function before the PHP XML data handler executes will prevent those issues from arising.

Run Multiple versions of IE (Internet Explorer) at the same time

Saturday, September 26th, 2009

spoon.net/browsers allows you to run multiple versions of IE (Internet Explorer) at the same time. You must visit the site using a version of IE to have the multiple versions launch.
You can now run IE8, IE7 and IE6 at the same time. No overly complicated installs required. Very simple to install and use. You do not have to install multiple versions of IE to get this service to run.

FYI – The reason someone would want to do this is for testing purposes.