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?
- The topic ‘Integrating microformats(esp hreview)’ is closed to new replies.