hwiki: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
What we must identify? There are Hierarchic?
What we must identify? There are Hierarchic?


* '''Wiki Header'''
* '''Wiki Page'''
** '''Wiki Name'''
<pre><nowiki>
** '''Wiki Page Permission''' - values: public-unauthenticated, public-authenticated and group-restricted
<body class="wiki-page"><!-- all this web page is a wiki page -->
</nowiki></pre>
or
<pre><nowiki>
<div class="wiki-page"><!-- a wiki box inside a more complex web page -->
</nowiki></pre>
** '''Wiki Header'''
*** '''Wiki Name'''
*** '''Wiki Page Permission''' - values: public-unauthenticated, public-authenticated and group-restricted
<pre><nowiki>
<div class="wiki-header">
  <h1 class="wiki-name">The Foo Bar Wiki</h1>
  <span class="wiki-permission-unauthenticated">This wiki is public! Click on the edit button!</span>
</div>
</nowiki></pre>


* '''Wiki Page Name'''
** '''Wiki Page Name'''


* '''Wiki Content'''
** '''Wiki Content'''
** '''Wiki Content TOC'''
*** '''Wiki Content TOC'''
** '''Section Edit Button'''
*** '''Section Edit Button'''


* '''Wiki Actions'''
** '''Wiki Actions'''
** '''Edit Button'''
*** '''Edit Button'''
** '''History Button'''
*** '''History Button'''
** '''Delete Button'''
*** '''Delete Button'''
** '''Attach File Button'''
*** '''Attach File Button'''
** '''"Link to Me" Button'''
*** '''"Link to Me" Button'''


* '''Wiki Page Versions'''
** '''Wiki Page Versions'''
** '''Preview version Button''' - identifying the version
*** '''Preview version Button''' - identifying the version
** '''Version to version diff Button''' - identifying the versions
*** '''Version to version diff Button''' - identifying the versions


* '''Wiki Page Revision'''
** '''Wiki Page Revision'''
** '''Last editor name'''
*** '''Name of the last editor'''
** '''Last editor page link'''
*** '''page link of the last editor'''
** '''Revision number'''
*** '''Revision number'''
** '''Revision date'''
*** '''Revision date'''
<pre><nowiki>
<div class="wiki-rev">
  Revision <span class="rev">2</span> -
  <span class="date" title="2009-02-11T15:14:06Z">11 Feb 2009</span> -
  by <a class="user-fn user-url" href="/user/Fulano">Fulano de Tal</a>
</div>
</nowiki></pre>

Revision as of 16:45, 11 February 2009

<entry-title>hWiki 0.0</entry-title> This document represents a draft microformat specification. Although drafts are somewhat mature in the development process, the stability of this document cannot be guaranteed, and implementers should be prepared to keep abreast of future developments and changes. Watch this wiki page, or follow discussions on the #microformats IRC channel to stay up-to-date.

hWiki is a wiki content and functionality identifier.

Introduction

The wikis are popular and may be useful if the the user agent may talk with the user what is the collaborative and editable content on the page, how he can do this and other interaction optimizations wiki-sys-independent. This may be useful for indexers bots too. If they know what is the collaborative text, what is the link for the past versions, etc...

List of Wiki Entities to identify

What we must identify? There are Hierarchic?

  • Wiki Page
<body class="wiki-page"><!-- all this web page is a wiki page -->

or

<div class="wiki-page"><!-- a wiki box inside a more complex web page -->
    • Wiki Header
      • Wiki Name
      • Wiki Page Permission - values: public-unauthenticated, public-authenticated and group-restricted
<div class="wiki-header">
  <h1 class="wiki-name">The Foo Bar Wiki</h1>
  <span class="wiki-permission-unauthenticated">This wiki is public! Click on the edit button!</span>
</div>
    • Wiki Page Name
    • Wiki Content
      • Wiki Content TOC
      • Section Edit Button
    • Wiki Actions
      • Edit Button
      • History Button
      • Delete Button
      • Attach File Button
      • "Link to Me" Button
    • Wiki Page Versions
      • Preview version Button - identifying the version
      • Version to version diff Button - identifying the versions
    • Wiki Page Revision
      • Name of the last editor
      • page link of the last editor
      • Revision number
      • Revision date
<div class="wiki-rev">
  Revision <span class="rev">2</span> -
  <span class="date" title="2009-02-11T15:14:06Z">11 Feb 2009</span> -
  by <a class="user-fn user-url" href="/user/Fulano">Fulano de Tal</a>
</div>