Created
December 5, 2011 14:08
-
-
Save hail2u/1433682 to your computer and use it in GitHub Desktop.
hAtomをMicrodataで(修正した感じ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body itemscope itemtype="http://microformats.org/profile/hatom"> | |
<article itemscope itemtype="http://microformats.org/profile/hatom#hentry"> | |
<h2 itemprop="entry-title"> | |
<a rel="bookmark" | |
href="http://hail2u.net/blog/webdesign/document-structure.html" | |
itemprop="url"> | |
文書構造を見なおした(ている) | |
</a> | |
</h2> | |
<footer> | |
<p> | |
Posted on | |
<time datetime="2011-11-09T19:31:06+09:00" | |
pubdate | |
itemprop="published"> | |
09 Nov, 2011 | |
</time> | |
in | |
<a rel="tag" | |
href="http://hail2u.net/blog/webdesign/" | |
itemprop="url"> | |
Web Design | |
</a> | |
</p> | |
</footer> | |
<div itemprop="entry-content">...</div> | |
</article> | |
<footer> | |
<address itemprop="author" | |
itemscope | |
itemtype="http://microformats.org/profile/hcard"> | |
Made by | |
<a href="http://hail2u.net/about/" | |
itemprop="fn url"> | |
Kyo Nagashima | |
</a> | |
</address> | |
</footer> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hentry
はitemtype
とitemscope
の組み合わせで。プロフィールは#hentry。author
をたどれるようにhatom
のスコープをbody
に。author
とhCardのコンビネーションは同時にitemprop
/itemsope
/itemtype
の合わせ技でOKそう。