Support » Plugins and Hacks » Integrating microformats(esp hreview)

  • I’m starting to think through how best to integrate a couple more microformats with WordPress and wanted to get some feedback. I’m mostly focusing on hreview because I want to do more reviews on my blog, but I’m trying to keep the ideas open enough to be used for other things as well.
    Here is what my current thinking is:
    I started with modifying my template. I’ve pulled out the contents of the post loop from my index.php and put them into a seperate file called post.php and replace it with an include. I’ve also made a review.php which makes a properly formatted hreview entry. I am going to start adding a custom field to my review posts to mark if they are reviews(a type field and review as the content). Then I can add a check in my template if the post has that field, and if it does use the review.php instead of the post.php. I’ll add some stuff to my css to format it properly and it should just work. I’m also looking at the structured blogging plugin to use their editing forms to make the creation nicer.
    Am I going about this the right way?

Viewing 3 replies - 1 through 3 (of 3 total)
  • “Am I going about this the right way?”

    Does it work? If so, then I’d say it’s a right way.

    Yeah, I have it working, at least for the display. I’m still going to try to pull part of the structured blogging plugin into it. When I get things in a good shape I’ll post a tutorial if anyone else is interested.

    Hmmm… it works fine for the main page, but I neglected the feeds and single page. Maybe I should rethink my options. Anyone have any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrating microformats(esp hreview)’ is closed to new replies.