Ok, guys, you're right, I have to make this easier for you
In my opinion there are good reasons for including the hAtom mf to as many templates as we can. Let me, first of all, say that hAtom doesn't break anything, we're talking about simply adding some defined class attributes, and that's it. Since almost all class names in S9y start with serendipity_*, the hAtom classes shouldn't interfere with those.
Now, for the reasons, I just copy & paste the opinions of other people only because it saves me a lot of that precious time

Please also take a look at
whymicroformats.com and
this blog entry.
http://microformatique.com/?page_id=138 wrote:hAtom is used to mark up feeds in HTML, rather than in separate files, such as RSS or Atom. Rather than replacing RSS or Atom, its aim is to use the schema of atom to create a standardized format for publishing blogs, and other feed based content in HTML. Because Atom and RSS feeds typically only list recent posts, hAtom is particularly beneficial for archiving posts.
hAtom might also be put to good use in future apps that we can't even imagine right now. There already are some Firefox extensions (Tails, Tails Export, Operator) that allow you to easily export blog data to other services, including events, addresses, and blog postings.
It might even be the case that mfs can help search engines to better parse your page because mfs provide information on your data that can be read by machines. I'm pretty sure Technorati is already having plans to do this (and so might Google).
So, as you see, mfs are a good thing, and they most probably don't hurt anybody. Besides, the changes to the templates are minimal, as you can see in the diff I created for ya:
index.tpl
Code: Select all
144c143
< <div id="content" class="threemain layout3sbs_content">
---
> <div id="content" class="threemain layout3sbs_content hfeed">
168c167
< <div id="content" class="threemain layout3bss_content">
---
> <div id="content" class="threemain layout3bss_content hfeed">
240c239
< <div id="content" class="threemain layout3ssb_content">
---
> <div id="content" class="threemain layout3ssb_content hfeed">
265c264
< <div id="content" class="twomain layout2sb_content">
---
> <div id="content" class="twomain layout2sb_content hfeed">
273c272
< <div id="content" class="twomain layout2bs_content">
---
> <div id="content" class="twomain layout2bs_content hfeed">
298c297
< <div id="content" class="onemain layout1col_content">
---
> <div id="content" class="onemain layout1col_content hfeed">
entries.tpl
Code: Select all
5c5
< <div class="serendipity_Entry_Date{if $dategroup.is_sticky} serendipity_Sticky_Entry{/if}">
---
> <div class="hentry serendipity_Entry_Date{if $dategroup.is_sticky} serendipity_Sticky_Entry{/if}">
11c11
< <h3 class="serendipity_date">{$dategroup.date|@formatTime:$template_option.date_format}</h3>
---
> <h3 class="serendipity_date"><abbr class="published" title="{$dategroup.date|@formatTime:'%Y-%m-%dT%H:%M:%S%Z'}">{$dategroup.date|@formatTime:$template_option.date_format}</abbr></h3>
15c15
< <h4 class="serendipity_title"><a href="{$entry.link}">{$entry.title}</a></h4>
---
> <h4 class="entry-title serendipity_title"><a href="{$entry.link}" rel="bookmark">{$entry.title}</a></h4>
23c23
< {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
---
> {$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
88c88
< {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
---
> {$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
119c119
< <div class="serendipity_entry_body">
---
> <div class="entry-content serendipity_entry_body">
134c134
< {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
---
> {$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
So, what do you say? I'd be happy if we at least create a patch, but IMHO we should add this to the default templates. Anyway, I leave the decision up to you. Don't hesitate to ask if you got any further questions.
Regards,
- Mattsches