WP 2.7 fun: complete hcards
WordPress 2.7 has an awesome new thing: it turns the comments into hCards by default. An hCard is the microformat version of a vcard, which, with microformat extensions for your browser, you can then save the data of those commenters in your address book.
For instance, with the Safari microformats plugin, this looks like this:
If you use Firefox, you should check out Operator for the same functionality.
The only issue is, that the hCards don’t contain email addresses. This is obviously good, as you wouldn’t want to share everyone’s email addresses on your blog, but as an admin or editor, you’d love for those to be included by default right?
Well, (you’ve guessed it) I’ve written a small plugin that does just that. If you’re allowed to edit the current post, and thus the comments, the email addresses will be added to the comments section, invisibly. If you use the hCard though, they’re there, so you can directly save them to your address book. The record will then contain name, website, email address and photo (gravatar in most cases) for the user. Cool huh?
Download the plugin here.
To answer a question I’ve made a quick screencast: