blog-info-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(first draft based on examples and formats)
 
m (Reverted edits by EltgeTgetd (Talk) to last version by Tantek)
 
(11 intermediate revisions by 8 users not shown)
Line 8: Line 8:


* [http://tantek.com/log/ Tantek Çelik]
* [http://tantek.com/log/ Tantek Çelik]
* [http://factoryjoe.com/blog Chris Messina]
* [http://epeus.blogspot.com Kevin Marks]


== Simple Schema ==
== Simple Schema ==


From the [[blog-info-examples]] and the existing [[blog-info-formats]], it seems clear that a simple schema must have:
From the [[blog-info-examples]] and the existing [[blog-info-formats]], it seems clear that a simple schema must have:
Line 26: Line 27:
* simple href link to the blog
* simple href link to the blog
* "alternate"?  typed href alternate links
* "alternate"?  typed href alternate links
* "author" for stating who is blogging that blog. [[hcard|hCard]] is quite useful / flexbile.
* "author" for stating who is blogging that blog. [[hcard|hCard]] is quite useful / flexible.
 
== XHTML Structure ==
 
'''Definition List'''
 
When used in conjunction with XOXO, this could be a very useful way of outputting lists of favorites.


== See Also ==
<pre>
<ul>
  <li class="hblog">
    <dl>
      <dt class="fn url"><a href="[link]">[Title]</a></dt>
        <dd class="author">[author hCard]</dd>
        <dd class="description">[Description]</dd>
        <dd class="alternate url"><a href="[feedlink]" class="feed">[Title]</a></dd>
        <dd class="alternate url"><a href="[homepagelink]" class="homepage">[Title]</a></dd>
  </dl>
</li>
<li class="hblog">[etc]</li>
</ul>
</pre>


* [[blog-info-examples]]
That isn't XOXO at all. XOXO has key value pairs with visible keys in
* [[blog-info-formats]]
* [[hatom|hAtom]]

Latest revision as of 18:54, 16 December 2008

Blog Info Brainstorming

This page documents thoughts toward establishing a new microformat to use when discussing, linking to, referring to blogs beyond just linking to them using a person or organization's name.

Contributors

Simple Schema

From the blog-info-examples and the existing blog-info-formats, it seems clear that a simple schema must have:

  • name of the blog
  • link to the blog
  • zero or more links to feeds for the blog
    • type of that feed
  • name of person associated with the blog (e.g. author / contributor)

Class Names

  • root class name for an item - (hBlog? hInfo? hItem?).
  • "fn" for name of blog
  • simple href link to the blog
  • "alternate"? typed href alternate links
  • "author" for stating who is blogging that blog. hCard is quite useful / flexible.

XHTML Structure

Definition List

When used in conjunction with XOXO, this could be a very useful way of outputting lists of favorites.

<ul>
  <li class="hblog">
    <dl>
      <dt class="fn url"><a href="[link]">[Title]</a></dt>
        <dd class="author">[author hCard]</dd>
        <dd class="description">[Description]</dd>
        <dd class="alternate url"><a href="[feedlink]" class="feed">[Title]</a></dd>
        <dd class="alternate url"><a href="[homepagelink]" class="homepage">[Title]</a></dd>
  </dl>
</li>
<li class="hblog">[etc]</li>
</ul>

That isn't XOXO at all. XOXO has key value pairs with visible keys in