[uf-discuss] Next/Prev [was Rationale for providing hAtom instead of Atom/RSS feeds]

Zhang Zhen lunaticsunblog at gmail.com
Thu May 29 18:18:55 PDT 2008


2008/5/30 Toby A Inkster <mail at tobyinkster.co.uk>:

> What do other people think?

When root element hfeed is missing, it is assumed to be the *document*

In the following example when hfeed is missing

 <html>
   <title>Page 1</title>
   <link rel="next" rev="prev" href="page-2">
   <body>
     <div class="hentry">
       <h1 class="entry-title">Entry 1</h1>
       <p class="entry-content">Content.</p>
     </div>
   </body>
 </html>

 <html>
   <title>Page 2</title>
   <link rel="prev" rev="next" href="page-1">
   <body>
     <div class="hentry">
       <h1 class="entry-title">Entry 2</h1>
       <p class="entry-content">Content.</p>
     </div>
   </body>
 </html>

rel="next" is a relationship between two documents, as well as
*between two hfeed*.

-- 
Zhang, Zhen
http://www.lunaticsun.com ( in Chinese only )


More information about the microformats-discuss mailing list