March 28, 2008

Twitter or Blog

Filed under: internet,php,webdevelopment,wordpress — @ 00:07

Dilemma:

Twitter your thoughts and have trouble recording them for later reference. Twitter + custom search don’t play along.
Blog your thoughts and having to think of “I can’t have a posting that’s only 100chars long”.

Topic: the metaweblog API is more powerful that the API provided by WordPress.
One of my customers asked me to create a function that would create a WordPress blogpost whenever one of their PR-people finishes a customer-visit (funny enough, these visits are recorded in a shared Google calendar that’s updated via another webapp, web2.0 in action). After fiddling around with the wp-native API I found that the metaweblog is much easier. I still need to return to the WordPress API for creating new categories but this only happens once every few months. WordPress rulz!

January 24, 2008

FOSDEM 2008

Filed under: Open Source,Security,conferences,internet,linux,php — @ 14:03

FOSDEM, the free and open source developers’european meeting is taking place in Brussels on 23/24 February.

Their schedule is online and shows that there are going to be some interesting talks :

December 24, 2007

Mysql Slice a resultset

Filed under: internet,mysql,php — @ 01:36

Slicing a mysql result is easy with

select from_unixtime(unix_timestamp(timestamp) -unix_timestamp(timestamp) % $slicecount) as slice, count(*) from event group
by slice

This will return the mysql statement sliced on the given number of slices.

December 11, 2007

Install PHP5 on OpenBSD 4.2

Filed under: OpenBSD,php — @ 10:09

PHP needs expat; this is included in the base set xbase42. If you didn’t install it at install-time you can get it with

cd /
ftp http://ftp.belnet.be/mirror/ftp.openbsd.org/4.2/i386/xbase42.tgz
tar xzvpf xbase42.tgz

December 10, 2007

Magpierss with UTF8

Filed under: php,webdevelopment — @ 22:06

MagpieRSS is an RSS parser in PHP. If you’re parsing UTF-8 streams and the output looks crippled then you might want to try this (add this to your file that calls the Magpie-code ) :

define(‘MAGPIE_OUTPUT_ENCODING’, ‘UTF-8′);
define(‘MAGPIE_INPUT_ENCODING’, ‘UTF-8′);
define(‘MAGPIE_DETECT_ENCODING’, false);

July 28, 2007

De nieuwe genereatie wikis? QEDWiki

Filed under: Open Source,php,webdevelopment — @ 11:00

Enkele ontwikkelaars bij IBM presenteren een onzettend knap staaltje van wat web 2.0 toepassingen zoal kunnen.

Ik ben zelf een overtuigd wiki-gebruiker maar QEDWiki doe je on-eer aan als je’t een “wiki” zou noemen. Het is gewoon een prachtige web-omgeving die je met enkele simpele drag&drops toelaat om wiki-pagina’s te maken die echt op kleine applicaties lijken.

Achterliggend gebruiken ze PHP en maken ze gebruik van Zend Framework, één van de weinige frameworks die’k tegengekomen ben die ook effectief doen wat ze beloven.