The Daily Dilbert – New Feature Coming Soon

DilbertRecently I got a post from kym asking for a solution to use the Daily Dilbert plug-in in a post. Since the request seemed interesting I’ve given this some thought.

There’s several approaches possible.

The first approach is to basically have a special call you can embed into your template to display the UFS widget in the content section. This would be least amount of work for me, since it pretty much means just making an extra function that prints the embed code onto the page.

The second approach (and this is more in line with the request) is to basically create a post every time a new daily dilbert is published. This is considerable more work, because it means tapping into the rss-feed (using simple pie support of WordPress) to check for updates at regular intervals (using the cron mechanism) and creating a post every time a new strip has been found.

Regardless of how much work it might or might not be, I definitely will be adding both features to the plug-in. Depending on how much work the latter turns out to be I will make a release that will allow for the first option.

I am hoping that someday soon UFS will look into ways to allow the Dilbert animations to be embedded.

On a slightly related note I will also be upgrading the sidebar widget to incorporate the new widget framework, so that the widget will keep working with future releases of WordPress.