20 May 2007

Using datetime-design-pattern in WordPress

You can use the datetime-design-pattern to publish both a human and machine readable by applying this code in your WordPress template within The Loop replacing the_time or the_date:

TrackBack URL

2 Comments

  1. when apply this, is that mandatory to name the class as published?
    can i use pubDate instead?

    Reply

  2. Zeo

    Depends because class published (entry published) is part of hAtom schema.

    Just take note, that previous version of IE doesn’t support . Styling it could be PIA. Wrap it up with

    or .

    Reply

    Leave a Reply