An odd discovery today – if you don’t specify a protocol in your links, the browser apparently suppose it’s the same (be that http or https) as the current page. You can se it in action on Slashdot by viewing their source – none of the regular links has protocol specification – they just start with two slashes and the hostname (ie. //netfactory.dk/).
In the case of Slashdot I suppose they don’t use it to save bandwidth, but in most cases it’s probably useless.
(Discovered by mkyed).
I’ve been busy hacking away on a script which would read the XMLTV format and pour it into a mysql database. It’s fun but nothing is quite as easy as it should be. I’ve rediscovered it once again.
Continue reading Perl, XML, Television and something about encodings
If you’re php developer you should check out php | architect. It a monthly magazine aimed at PHP developers and actually quite good. It used to come in PDF-format only, but has recently also launched a dead trees version. It’s a nice mixture of tips, software reviews, interviews and programming techniques. While all articles isn’t equally interesting, it is certainly well worth the US$2.09 which the PDF-version cost. A free copy available from their site.
It seems it’s going surprisingly well for java after a rough birth and slow adoption. This year on the JavaOne conference they celebrated the success by changing their logo and launching a new end-user oriented portal at java.com. If you’re developer, your source for information is still at java.sun.com.