Monthly Archive for March, 2010

Post vs. Entry

Nevermind the semantic differences between ‘post’ and ‘entry’ in relation to blogging, there’s a much more real problem in determining which of the two to go with when you’re designing a theme framework like K2.

WordPress uses ‘post’, and so of course it makes sense when designing classes for the title of a post to name it ‘post-title’ and for the content to be named ‘post-content’, right? Well until you want to add support for the hatom microformat, which has chosen ‘entry’ to denote an article (oh, there’s another one) and so uses ‘entry-title’ and ‘entry-content’.

Which one to choose? Yes, you could go with both, but that’s rather inelegant, and feels a bit like sitting between two chairs.

I chose to go with the hatom naming and trust that people can figure it out on their own, even though it pains me a bit to not conform to the ‘mother’ platforms naming conventions, I think the gain of hatom compatibility is worth it.