Monthly Archive for January, 2007

Page 2 of 2

Is that an iPhone in your trousers?

iHype

Ok, it’s a nice phone, but will all those Mac fans please stop panting in my ear? 4GB hard disk, Wifi, video player? I already have those in my phone. The Jonathan Ive touch? Yes, will probably make a difference. We’ll see that when the phone becomes available over here, by the end of 2007. In the mean time, pour some cold water on that boner, will you?

Apple iPhone

Create your own Wordpress plugin

wp-plugins
Wordpress has a really nifty system for adding functionality: the WP plugins. There are a ton of them around, but if you have some knowledge of SQL and PHP you can make your own plugins! You of course have to know how to display stuff, how to add a configuration panel to the Options or Manage tab, … When I read the code of some well-developed plugins, I thought: it should be easy to come up with a Wordpress plugin template generator. So that’s what I did: here’s the first (far from complete) version of the Wordpress Plugin Generator!

Currently it supports the following features:

  1. return the result as
    • REPLACE TAG: replace all occurences of <!--myplugin_tag--> by a certain text/html
    • AFTER/BEFORE POST: add after/before each post (e.g. for tags, DiggMe buttons, Adsense, …)
    • CALL FUNCTION: call the myplugin_showhtml() function (e.g. in sidebar.php)
    • BY PLUGIN PAGE: the result is displayed when the wp-content/plugins/myplugin/myplugin.php page is called (e.g. for results in XML or TXT format)
  2. add the result only to posts, pages, search and/or archive pages
  3. add a config page to the “Options” or the “Manage” panel
    (here I need to do some work to create a good way to generate the display code and the form processing – showing and changing parameters of your plugin)
  4. add optional GPL license text

I of course try to use the guidelines published by Wordpress and Installer. I’ll write something about that later.

Continue reading ‘Create your own Wordpress plugin’

Fallen in love again with my N91

naomi campbellI have an ambiguous relationship with my Nokia N91. When I received it for testing, it seemed to be all a mobile tech-savvy user could wish for. But time and time again, something happened that pissed me off: battery life, application crashes, losing data, and 2 months ago: refusing to boot. I got fed up with giving it a second chance, and a third …, and threw it in a drawer. In girl-terms, the phone was a Naomi Campbell: really pretty, but independable on the verge of bipolar. She might work, she might not. Impeccable behaviour or a slap in the face, no way to predict.

britney spearsThen I bought myself a medium priced SonyEricsson V600 and was not really satisfied with it. Everything about it felt wrong. For some reason, I like the Nokia user interface much better, or even the Samsung one. The V600 buttons felt toy-like, not sturdy. Its USB interface did not have a full or mini USB connector, but something proprietary. In short, it might be an OK phone, but not for me. In girl terms: more like a Britney Spears. Predictably boring and styleless.
Continue reading ‘Fallen in love again with my N91′

My 10 essential Wordpress plugins

Xampled: samples from Donna Summer
Since I’ve been doing quite a lot of Wordpress blog upgrading recently, I’ve been diving into its plugins a lot. There are lots of them around and I have grown a liking to some of them.
Here’s a list of plugins that I’ve found to be essential to any of my WP installations:

  1. WP Installer
    what: install plugins/themes without using FTP
    why: makes installing and maintaining plugins really easy, even behind a firewall. This is the first plugin I always install.
    where: mattread.com
    install: installer-04.zip
  2. Akismet
    what: delete comment and trackback spam – not perfect but indispensable – pre-installed on Dreamhost accounts
    why: save you time and annoyance by filtering out the real comments
    site: akismet.com/
    install: akismet.zip (v1.2.1)
  3. WP Cache
    what: keep cached copies of your pages – pre-installed on Dreamhost accounts
    why: speeds up your site
    site: mnm.uib.es
    install: wp-cache-2-0-21.zip
  4. Brian’s Latest Comments
    what: displays your recent comments in a nicer format
    why: gives a better view of the popular articles
    site: meidell.dk
    install: brianslatestcomments.zip
  5. K2 Theme
    what: more than just a theme, includes a WYSIWYG sidebar and customisable header image
    why: if you can live with its looks, the most powerful theme available
    site: getk2.com
    install: k2-091.zip
  6. MightyAdsense
    what: manage your Google Adsense code insertion
    why: easily decide what ad goes where without modifying your theme
    site: mightyhitter.com
    install: mightyadsense41.zip
  7. RunPHP
    what: run PHP code inside your blog posts
    why: create pages that actually do stuff
    site: www.nosq.com
    install: runPHP2.1b.zip
  8. Popularity contest
    what: keep track of # views, comments … of all your posts
    why: makes it easy to show your popular posts
    site: alexking.org
    install: popularity-contest.zip v1.2.1
  9. Ultimate Tag Warrior
    what: add tags/keywords to your posts (Technorati compatible), show related posts based on those
    why: last tagging plugin you’ll ever need
    site: neato.co.nz
    install: UTW3-141592WP2.zip
  10. Google Sitemap generator
    what: creates a Google Sitemap XML file automatically
    why: because you need it, and you won’t do it manually anyway
    site: arnebrachhold.de
    install: sitemap.zip v2.7

Samples from Funky Drummer (James Brown)
And some nice to have’s:

  • FlickrRSS: show Flickr photos in your sidebar
  • Gravatar: show avatars for commenters (currently under reconstruction)
  • Sparkstats: show blog and comment activity
  • Backlinks: show incoming links trend
  • Dagon Sitemap: list all posts per category (index or sitemap)

Lots of New Year’s pictures

Lots of people have been taking pictures on New Year and this clearly shows in the stats of incoming pictures at two major photo hosting sites: Flickr and Smugmug.
Flickr reached a peak of nearly 100.000 pictures/hour (97.1 k#/h) and Smugmug a quarter of that (22.7 k#/h). That is 50% to 100% more than regular days.

Flickr

Flickr growth: photos/hour
(about 60 of those are mine)

Smugmug

Smugmug growth: photos/hour
(none of mine)