posted on in EE

Featured on Meta Q

Meta Q logo

I recently got featured over on the MetaQ website with a Q & A regarding my ExpressionEngine work and web work in general. For whatever reason my being Belgian is a big thing, but being called a talented polyglot really makes up for it.

You can read the full Q&A over at MetaQ.

posted on in design, EE

Stookstudio is live

An early version comp

Blame Michael Boyink. After he relaunched his site in december 2009 and freely admitted getting some outside help for the design, I felt a kind of relief in a way and compelled to get some outside help myself. My little freelance business stookstudio had been without a decent website since it started well over 3 years ago. I've been blessed with being busy since day 1 but it also meant I had little time to spare to roll out something for myself.

Enter Benedikte Vanderweeën. I met her briefly at last year's EECI convention in Leiden and I really liked some of the work I saw from her. She was an absolute joy to work with: she listened to my ramblings, looked at my Littlesnapper clippings (pieces from sites, print work, even LP sleeves) and went to work. I had some pretty specific demands (rgba colours, a few specific fonts, a minimal design), and it's great to work with a designer who also knows how to code and knows where the pitfalls are. I felt we should start with the case study pages and she absolutely nailed those on the second try, the rest grew from there. It was great to see it all come together, and she was very receptive to my requests for the odd tweak here and there. In short, she's a consummate pro. I'd work with her again anytime.

I took my sweet time developing it, because I really wanted to do it justice, but you can tweak a site forever so I'm launching today. The site's running EE2.0 with a minimal set of add-ons (Freeform, FF Matrix), although lots more are installed (this is a sandbox after all). Coded in HTML5, with a sprinkling of CSS3. Fonts by Typekit, FF Meta Web Pro for body text, Bonveno CF for other things (for IE this becomes Anisette). IE6 users get a stripped down stylesheet with a little humorous message telling them to at least consider upgrading their browser.

I'm aware the @font-face type rendering is better on a Mac (then again, what isn't?) and there are some issues with FOUT in some browsers, but if you can't push the envelope a bit on your own site then where can you? I haven't checked yet in IE7, but in IE8 it looks as good as it's going to get. The rss feed is still missing live and I probably won't be adding comments.

So there you have it! If you like it, drop me a tweet or drop me a line. Thanks for stopping by.

posted on in EE

A sprinkling of CI

One of the best new features of ExpressionEngine 2.0 is that it's basically a CodeIgniter application, which not only means you can write CI code straight into your EE templates, but you can also leverage existing CI libraries in your EE2 install.

In the "Elsewhere" section in the footer of my blog I list the 5 latest links from my Delicious account. I couldn't find an EE2-compatible plugin to parse my Delicious feed so I turned to Elliot Haughin's Simplepie CI library to get the job done.

Just drop the Simplepie.php file into your /system/libraries/ directory and you're set to use in in your EE template. You will have to create a rss cache folder inside system/expressionengine/cache/rss/ and make sure it's writable.

The following snippet is all that's needed to generate the linklist you see at the bottom of this page:

<?php
$this->EE->load->library('simplepie');	
$this->EE->simplepie->set_feed_url('http://feeds.delicious.com/v2/rss/erwinheiser?count=5');
$this->EE->simplepie->set_cache_location(APPPATH.'cache/rss');
$this->EE->simplepie->set_cache_duration(7200);
$this->EE->simplepie->init();
$this->EE->simplepie->handle_content_type();
$items = $this->EE->simplepie->get_items();
//output feed items
echo "<ul>";
foreach($items as $item) {
	echo "<li>";
	echo "<a href=\"" .$item->get_link(). "\">";
	echo $item->get_title();
	echo "</a>";
	echo $item->get_description();
	echo "</li>";
}
echo "</ul>";
?>

Don't forget to enable php in your template. I'm sure a plugin or extension will pop up in the coming weeks, but for now it does the job nicely