Archive for wordpress

Use your blog as shortened URL service

WordTwit 2.0
Image by Duane Storey via Flickr

I just discovered and installed a very nice WordPress plugin, WordTwit. The main purpose of this plugin is to tweet your new blog posts on Twitter, together with a link to the new blog post.

So far nothing too shocking new, but the latest version (2.0.x) of the plugin adds the option to use your own blog as url shortening and redirecting service. Think tinyurl.com, is.gd or one of the gazillion alternatives out there.

Now that is really cool. Except it didn’t work for me.

Turns out that there was a little bug if your blog is not served off the root or your domain, but a sub directory instead (which is /blog in my case).

So, a patch (shortened link, noticed?) solved this and all should be set to go now.

Oh and this post is serving as a test post for the Twitter update…

Reblog this post [with Zemanta]

Popularity: 6%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tags: , , , , ,
Comments off

Thursday April 9th: CSS Naked Day 2009

CSS Naked Day 2009 April 9th

CSS Naked Day 2009 April 9th

It’s already a tradition started in 2006 by Dustin Diaz: CSS Naked Day, on April 9th.

Many many blogs and sites will strip all CSS during 24 hours (effectively 48 hours for international compliance) and show the content “unstyled” as if no CSS existed.

A great opportunity to show off how your site structure stands if all styling is removed, from the official website:

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words. It’s time to show off your <body>.

Are you using WordPress? Then join the movement by simply installing this CSS Naked Day plaugin for WordPress by Aja, activate it and you’re ready:

CSS Naked Day plugin for WordPress automatically strips off XML/HTML stylesheet references, embedded stylesheets and inline styles—all without editing your template! It also provides a function to determine whether it is the 9th of April on the recommended worldwide 48-hour CSS Naked Day period or just your local 24-hour period if ever you want to automate a message telling viewers why your site is in the nude.

Then head over to the CSS Naked Day website to add you to the list of participating sites.

Follow CSS Naked Day on Twitter!

Reblog this post [with Zemanta]

Popularity: 16%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tags: , , , ,
Comments off

Howto: add news section to WordPress Content Site

It makes much sense to use WordPress for a simple content site, consisting of just a bunch of (static) pages which need to be updated once in a while. For example, I used this approach for the (Dutch) website of Kinderfysiotherapie Den Haag Centrum.

WordPress gives you a handy-dandy Content Management System (CMS) and there are lots of available templates to base your design on.

Compared to the default configuration, you need to put some effort in the setup to use pages for the site’s navigation rather than blog posts, but this can be done by setting some options and tweak the menu structure of the template, which is all documented fairly well elsewhere (Customising WordPress – twine).

Then comes the inevitable moment that you want to add a somewhat more dynamic news section to the site. It makes sense to use the excellent blog system, which WordPress essentially is, but then “inside out“, embedded in a news page rather than the primary site feature.

There are a few possibilities here, but I settled for the Inline Feed plugin. Once activated, this plugin displays a list of your posts in any content area, with a few configurale options like sorting order and length of title etc.

Now you can use the excellent native WordPress authoring and publishing system for posts for your news section, with all hidden gems like RSS feed generation, optional comments and all gazillion plugin powered extras.

Reblog this post [with Zemanta]

Popularity: 25%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tags: , , , ,
Comments off

Zemanta: semweb at work for your blog

Image representing Zemanta as depicted in Crun...
Image via CrunchBase

Since about three months ago, when I started using the Zemanta wordpress plugin, the uptake has been huge. Searching for “Related articles by Zemanta” on google gives now 110k+ hits.

To me, this is currently the most practical example where semantic web technology really does make a difference. Just like with Twine, the real benefit of this technology lies in the background, where associations are made and retrieved, “just in time”. All without bothering end-users with ontologies, RDF and SPARQL endpoints. Using Zemanta, all these bloggers are benefiting from the ever increasing web of linked data to enrich their blogs. And the benefit may well be mutual: by carefully selecting the auto-suggested related articles and imagery, you as a blogger tell implicitly what categories your post matches to, thus linking back to the very same pool of linked data.

Give it a try yourself, get the Zemanta plugin (many platforms are supported) and share your experiences!

Reblog this post [with Zemanta]

Popularity: 17%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Comments off

Fix for error in WordPress rss feed module

WordPress Pumpkin

Image by Eric M Martin via Flickr

Using WordPress 2.7.1, there is a problem with the Atom feed export.

In the apache error log are many occurrences of these two lines:

Bad arguments. in /var/www/.../wp-includes/rss.php on line 175,
The first argument, 'map_attrs', should be either NULL or a valid callback

The problem appears to be a simple coding error: the callback function should be called as array reference, array(object, user_func).

This has been reported as issue #9225, read on if you want to fix it for yourself right away…

Read the rest of this entry »

Popularity: 27%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tags: , , , ,
Comments off

Triplify your blog

blog resourcesDo you want to make your blog Semantic Web ready, but don’t know where to start?

Just download and install the Triplify script, a lightweight tool to translate SQL query results into RDF triples and return the result in N3 (Notation3) or as JSON.

The script itself is only capable of generating RDF, the actual matching between data and RDF output is specified in a configuration file. These configurations are available for many popular web applications, here is a Triplify configuration for WordPress 2.7.x.

Installing is almost as simple as dropping the triplify directory in your WordPress root directory and uploading the correct configuration file. No need to configure any specific values for your WordPress set-up, these are read from the top level wp-config.php file.

Now go to your blog and request the URL http://yourblog/triplify/ – this will return your blog’s content as RDF/N3 and at the same time register the feed at the Triplify Registration (well, if you leave the register switch at “true” in the config file).

Now you dan play with your RDF data in various sources on the web, or locally.

A good start for exploration is the SIMILE Welkin browser, also available as Java web start: run Welkin thru Java WebStart.

Continue for an example…

Read the rest of this entry »

Popularity: 11%

Post to Twitter Tweet This Post to Delicious Delicious Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tags: , , ,
Comments off

« Previous entries Next Page » Next Page »

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.