Archive for December, 2005

Structured Blogging

Did you ever want to publish a review of a book, a concert, publish your calendar, but didn’t want to mess around with templates and custom fields?

Well, the plugin structured blogging” for Wordpress and MT does just that, publish different kind of formats with a different interface for each. With this plugin you can publish semantic markup because it publishes xml and xhtml (microformats) and forget about coding.

All of the formats Structured Blogging is compatible with are XML or xHTML based and can easily be converted between one and another. The goal is to start getting developers to build compelling end-user benefits and not keep discussing the subtle differences between the various technical solutions. A movie review that was created by one end-user on a mobile phone and stored on their blog should be able to be compatible with a search engine based suggestion engine or a public movie review server. Events created on any sort of tool should be compatible, and be able to be interchanged freely. That’s the goal of the Structured Blogging compatibility box.

Structured Blogging

The code uses either XHTML and a script tag to hide XML elements for machine readable data. The formats are microformats like hCard. This might be the beginning of a platform powered by webpatterns.

Similar to the “Write page” in Wordpress, the plugin adds buttons for writing an event or a review. It publishes the following formats:

Supported subscription formats

  • RSS 2.0
  • Atom
  • RSS 1.0
  • Media RSS
  • iTunes RSS

Supported Page Tag
Formats

Microformats

Supported File Formats

RDF

Example personas on the web

I did some research on the format of personas and how other designers are using this and I found many examples. Have a look and see if there is a format that suits your needs.

Website design

Accessibility

Software

These personas are focusing on tasks business processes.

Webpatterns: HTML & CSS working together

John Allssop wrote an article about using webpatterns in HTML and he wondered if we could gather these patterns and put them on a website. He started a blog and a wiki on webpatterns.org to document webpatterns. It is not active yet but I really think you should keep an eye on it. He is going to start a quizz similar to the “SimpleQuizz from Dan Cederholm”.

In the article, John talks about the use of classes and id’s but I doubt we can restrict webpatterns to HTML only. Most of the webpatterns that exist on the web today come from problems when using HTML together with CSS. And from that perspective, the relation between HTML and CSS is similar to the relation between XML and XSLT.

I previously wrote an article about the XML/XSLT combo. When to choose between pointing to an element or including an element. This relates to the use of attributes or elements. When to point or include depends on what you want to achieve with the XSLT transformation.

In many cases you can improve your XML if you think about the XSLT transformation that will happen later on. This same thinking can improve your HTML and CSS code.

Pointing in HTML and CSS is the same as using an id or class attribute and use an id selector for a rule in your style sheet.

HTML CSS

#navBar{ declaration in here}
# content { declaration in here}

<div id="navBar&gt";</div>
<div id="content"></div>

XML/XSLT

<xsl:value-of select="element[@id=" navBar"]"/>
<xsl:value-of select="element[@id=" content"]"/>

<element id="navBar"/>
< element id="content"/>

In this case you can use an id to point to the element in question.

Now if you have nested elements and you include the element you want to transform or style, you get something like this.

HTML CSS

div#contact ul li, div li {declaration in here}

XML/XSLT

<div class=”contact”> <ul> <li> … 

<contact><person><lastName> …. <xsl:value-of select=”contact/person/lastName”/>
or
<xsl:Value-of select=”contact//lastName”/>

We can call the first example redundant because using an id and pointing to each element will result in a large stylesheet with lots of repetition.

The second example is using dependency because your are depending on relationships between elements.

The article “Dependency versus redundancy”on mezzoblue clearly documents the difference between the 2 patterns. Both directions, coding for redundancy or dependency, have their own advantages and in many cases your are going to use both.

To come back to the pattern subject, the pattern would tell you when to choose for redundany or dependency. When to use an id or notand rely on child parent relations.

And I think it is clear that this relates to both CSS and HTML.

To close this post, I am really expecting to see big things happening on the webpattern.org website but only if we provide feedback and tell John if this or that pattern actually works.

So go and have a look and subscribe to his feed.

Favoriete Wordpress plugins

Update

Na enkele jaren is deze lijst niet meer correct
Ik gebruik de volgende plugins:


Nog niet zo lang geleden knoeide ik nog met php code en wordpress om deze blog in orde te krijgen. Ik vond het tijd om even op een rij te zetten wat voor plugins ik hier allemaal gebruik.

Ik hoop dat hierbij ook andere wordpress blogger kan aanzetten om hun lijstje op te sommen. Waarschijnlijk zijn er nog parels die ik niet ken.

  • De eerste plugin die ik al langer gebruik is Custom posts per page. Heeft spijtig genoeg geen admin pagina. Makkelijk om het aantal posts op de verschillende pagina types aan te passen.
  • De Del.icio.us Integrator gebruik ik om de Quicklinks sectie op de voorpagina te zetten. De plugin cached mijn del.icio.us feed en zet de laatste drie links in een unordered list. Alleen wordt de xml feed niet automatisch mee aangepast.
  • Het toevoegen van Technorati tags is niet altijd even eenvoudig maar met de SimpleTags plugin kan je tijdens het schrijven inline de woorden aanduiden die je als tag wil gebruiken. De woorden worden dan omringd door een <tag> element.</tag>
  • Google Sitemaps is een uitgebreidde plugin en neemt al het werk uit handen om je Google sitemap up to date te houden en Google te pingen indien er iets veranderd is.
  • Hoe lang geleden is dit artikel gepubliceerd? Wel, de plugin Dunstan’s Time Since berekent de jaren, maanden, weken, dagen en uren.
  • Wie de de Wordpress admin paginas wat beu is of niet echt handig vind kan ik de Tiger Style Administration van SteveSmith aanraden. Met deze plugin activeer je een css bestand dat de look en feel stukken verbeterd. Ongelooflijk fantastische plugin.
  • Zolang Wordpress 2 er nog niet is; is een backup maken handenarbeid. Met deze plugins ben je daar vanaf.
    De combinatie van WP-Cron en WordPress Database Backup zorgen voor een veilig gevoel elke dag op nieuw :-).

Categories

About

My name is Len Dierickx and this is my personal blog. I studied Musicology at the UG, long time ago but got more and more into webdevelopment. I started this blog because the EuroIA summit in Brussels (Belgium, Oct 2005), was such an inspiration. And I was thinking about a blog on IA a while now, so that was the extra kick I needed to get it actually done.

Powered by WordPress