-
hAtom in the New Blogger
- body
-
If that Backup Tool intrigues you, or something else I've mentioned regarding hAtom, or just microformats in general, then head over to my instructions on how to markup up New Blogger templates in hAtom.
-
Mostly hAtom in the New Blogger
- body
-
While 100% hAtom support under Blogger is impossible, we can get close. What is the use of that? Well, doing this will allow you to use the Backup Tool for one thing. Most other hAtom-related tools mentioned on this blog will also work with the results of these changes. Plus, it's just generally an all-around good idea. (These instructions will work with most templates on the New Blogger, but if you cannot complete any steps for some reason, just skip them and it may still mostly work.) So, here's how:
- Go to the 'Edit HTML' section under the 'Template' tab.
- Find the code that looks something like this:
<b:includable id='post' var='post'>
<div class='post uncustomized-post-template'>
and replace it with this:
<b:includable id='post' var='post'>
<div class='post uncustomized-post-template hentry' expr:id='"post-" + data:post.id'>
- Find the code that looks something like this:
<h3 class='post-title'>
and replace it with this:
<h3 class='post-title entry-title'>
- Find the code that looks something like this:
<a expr:href='data:post.url'><data:post.title/></a>
and replace it with this:
<a rel='bookmark permalink' expr:href='data:post.url'><data:post.title/></a>
- Find the code that looks something like this:
<div class='post-body'>
and replace it with this:
<div class='post-body entry-content'>
- Find the code that looks something like this:
<span class='post-author'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/> <data:post.author/>
</b:if>
</span>
and replace it with this:
<span class='post-author author vcard'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/> <span class='fn'><data:post.author/></span>
</b:if>
</span>
- Find the code that looks something like this:
<a class='timestamp-link' expr:href='data:post.url' title='permanent link'><data:post.timestamp/></a>
and replace it with this:
<a class='timestamp-link updated published' rel='bookmark permalink' expr:href='data:post.url' title='permanent link'><data:post.timestamp/></a>
- Find the code that looks something like this:
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
and replace it with this:
<a class='comment-link' rel="comments" expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
<b:loop values='data:post.feedLinks' var='f'><span style="display:none;">There is an <a expr:href='data:f.url + "?alt=rss"' rel='alternate comments'>RSS Feed</a> for comments on this post.</span></b:loop>
- Save your template.
-
New Tools and XOXO Blog Activity
- body
-
After a long period of inactivity I have revived the former XOXO Blog as XOXO - A Semantic Weblog. The following new tools have been announced:
- An introductory hCard Presentation (not mine)
- The hCard Profile Generator (previously announced here)
- An XFN + XOXO + hCard Blogroll Generator
- To use this with the new Blogger, simply paste the generated code into a new HTML widget.
- The hAtom Backup Tool
- Explanation on using hAtom with the New Blogger coming soon. If you use any of these templates (which include my templates) you already have hAtom support.
There is also a discussion of distributed social netoworking and a new WordPress plugin to start implementing the idea.
-
hAtom Backup Tool
- body
-
This backup tool will crawl your blog for hAtom or XOXO Blog Format content and put it all together in one file that you can save to your hard drive for backup purposes.
If you do not use the New Blogger you will have to have an archive list in your sidebar that has the class archive-list on it. With the New Blogger if you have an archive widget it should just work.
-
XFN + XOXO + hCard Blogroll Generator
- body
-
What's that? Your blog platform doesn't support XFN? You want more XOXO-centric markup on your blogroll? You want your friends marked up as hCards in the blogroll? Now you can!
This generator tool is based on the original XFN Creator and generates code for a full XOXO blogroll with XFN relationships and hCard nodes.








Reply / Comment