Opened 7 years ago

Closed 4 years ago

Last modified 4 years ago

#2105 closed enhancement (wontfix)

Patch to add hAtom microformat support to Wordpress default template

Reported by: myelin Owned by: westi
Priority: normal Milestone:
Component: Template Version: 2.3
Severity: normal Keywords:
Cc:

Description

Here is a patch to add hAtom support to the default WP template. hAtom defines a standard set of CSS class names so that search engines and crawlers can more easily locate blog entries in (X)HTML pages.

Attachments (2)

hatom-kubrick.diff (8.0 KB) - added by myelin 7 years ago.
Patch to add hAtom support into Kubrick theme
hatom-default.diff (8.6 KB) - added by Otto42 6 years ago.
Add hAtom support to the default template.

Download all attachments as: .zip

Change History (13)

Notes on what the patch actually does:

  • 'entry' renamed to 'content'
  • 'post' renamed to 'entry'
  • class="feed" added to <div id="content">
  • <abbr class="published" title="iso8601 time">...</abbr> added around post timestamp

myelin7 years ago

Patch to add hAtom support into Kubrick theme

  • Keywords bg|has-patch added

Honestly, there's no need to change the class names, you can always just *add* the hAtom classnames. This would provide better compatiblity with current implementations.

  • Keywords bg|has-patch removed
  • Resolution set to wontfix
  • Status changed from new to closed

No activity for more than a year.

Feel free to re-open with new information.

comment:5 in reply to: ↑ description   beerf6 years ago

  • Component changed from Administration to Template
  • Type changed from defect to enhancement

I documented a more "friendly" way in my blog. This just adds the needed classes without removing or breaking anything existing.

http://blog.no-panic.at/2006/11/16/hatom-and-wordpress/

  • Keywords has-patch added
  • Milestone set to 2.4 (next)
  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Version changed from 2.0 to 2.3

Added refreshed patch for latest trunk/SVN. Would really like to see more microformats make it into WordPress by default.

This patch adds hAtom support to the default template.

Otto426 years ago

Add hAtom support to the default template.

Is there any interest in putting this into trunk at all?

With Firefox 3.0 set to have native microformat support, it would be nice if WordPress sites were up to the task when it comes out.

  • Owner changed from anonymous to westi
  • Status changed from reopened to new
  • Milestone changed from 2.5 to 2.6

Bumping milestone for feature freeze.

  • Keywords has-patch removed
  • Resolution set to wontfix
  • Status changed from new to closed

Once again closing as no activity in more than a year. Patch may be stale. Re-open with updates.

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.