WordPress snapshot cards created in Processing

Standard

I’ve been getting to grips with Processing lately. Apart from creating a couple of small games and a handful of generative images I’ve also been experimenting with data feeds. One of the ideas I had was to create a visual card for WordPress blogs based on the content in them. I wanted the cards to give a snapshot of the blog at that specific time, and also reflect the content of the data feed visually.

twist2-000001The background of the card is generated by the program and contains either stripes or circles and the colour and size of the stripes/circles depends upon the size of the blog post title.

It also displays the title of the blog and the url, which it takes from whatever WordPress RSS you put in there.

Automated keyword tagging has been an interest of mine for some time (as some of my Yahoo pipe experiments have shown) and in this program I pull out all of the words in the description field of the feed and then rank the most mentioned words. I also filtered out unwanted words with a stopword list. It’s interesting to see the words that crop up the most, although as a second stage I’m considering stemming words, because for example both “library” and “libraries” appears in the top 10 words in my blog and I would reduce this problem of closely related words appearing.

When you run the program each top keyword is displayed separately for a few seconds (starting with the most popular) and then it moves onto the next one.

So, here are a couple of examples from this blog and also the Voices for the Library site.

twist-000001  voices-000001 voices3-000001The aim is really just to give a simple idea of what people might find on the blog – a simple taster of it, with a bit of creativity thrown in.

I’d like to develop the idea further – include more detail and possibly have quotes and images from the blogs, as well as using more data from the feed to generate the background. I’m also thinking that if I focused on just library and information service based blogs it might be a good idea to create a dictionary of terms to compare against, as well as having the top 10 words.

Anyway, I like the way they’ve turned out so far.

Advertisements

One thought on “WordPress snapshot cards created in Processing

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s