|
Sun
15
May '05
|
Below the header, I have added a block “quote of the day”. It is based on the notorious unix program fortune. I found the PHP script here.
I had to hack the theme a little bit to make it look nice. Code wise, changes were made in header.php. One drawback is the fortune data directory is relative to the PHP code that includes the script. So I have to either specify an absolute path or symlink under each directory that wants to include fortune.php. I currently have only two such directories, so not that bad.
Now it’s time to get interesting quotes
and fiddle a little bit with the fonts and color.