Archive for the 'Web' Category

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.

How to check what is wrong with gmail

Saturday, September 26th, 2009

www.google.com/appsstatus shows the status of popular Google apps, and service information. Gmail has been having a lot of issues as of late, and this page really helps to inform users of the extent of the issue and other details relating to the service disruptions.

Force YouTube to play HQ (high quality) or HD (high definition) link

Tuesday, July 28th, 2009

Add:&fmt=18 to the end of the YouTube video URL will play the video in HQ (high quality).
Add:&fmt=22 to the end of the YouTube video URL will play the video in HD (high definition).

Regular: http://www.youtube.com/watch?v=SVvx13dpTEA
High Quality: http://www.youtube.com/watch?v=SVvx13dpTEA&fmt=18
High Definition: http://www.youtube.com/watch?v=SVvx13dpTEA&fmt=22

If a video is not available in HQ or HD, then they will not be able to be shown in those formats.