Why? Compressing weboutput can save valuable bandwidth. The other advantage is that clients will load your websites faster. Gzip compression is supported by all modern browsers, so why not use it. It will compress your pages between 60% and 80%. So you will lower your bandwidth-costs by an average of 70%. Also your server can… Continue reading How to use gzip compression on your PHP websites
Embedding YouTube Movies in XHTML
If you try to embed a YouTube-video in a XHTML 1.0 compliant website, you will get validations errors. This is caused by YouTube’s use of the <embed> tag, which has been deprecated in XHTML 1.0. The standard YouTube code is: To solve the validations errors we have to get rid of the deprecated <embed> tag.… Continue reading Embedding YouTube Movies in XHTML
Parsing newsfeeds with XSL (1)
Magpie is a very popular RSS parser for PHP. Although I used Magpie quite a while to my satisfaction, it suffers a few flaws. At first it seems to have problems with the UTF8. Dealing with UTF8 is not easy in PHP (and MySQL). And there is verbose code, you feel it can be done… Continue reading Parsing newsfeeds with XSL (1)
Localizing Ubuntu
Ubuntu is a Debian based Linux distribution. In its few years of existence it made quite an impression by its support and speed of development. If offers the advantage to Debian in the way it supports the modern and rare hardware. I had no problem installing it on a new Dell right out of the… Continue reading Localizing Ubuntu