<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article xmlns="http://docbook.org/ns/docbook">
  <section>
    <title> Formatting Syntax</title>
    <para><ulink url="doku&gt;DokuWiki">doku&gt;DokuWiki</ulink> supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the <emphasis>Edit this page</emphasis> button at the top or bottom of the page. If you want to try something, just use the <ulink url="playground:playground">playground</ulink> page. The simpler markup is easily accessible via <ulink url="doku&gt;toolbar">quickbuttons</ulink>, too.</para>
    <section>
      <title> Basic text formatting</title>
      <para>DokuWiki supports <emphasis Role="strong">bold</emphasis>, <emphasis>italic</emphasis>, <emphasis>underlined</emphasis> and <literal>monospaced</literal> texts. Of course you can <emphasis Role="strong"><emphasis><emphasis><literal>combine</literal></emphasis></emphasis></emphasis> all these.</para>
      <literallayout>  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts.
  Of course you can **__//''combine''//__** all these.
</literallayout>
      <para>You can use <subscript>subscript</subscript> and <superscript>superscript</superscript>, too.</para>
      <literallayout>  You can use &lt;sub&gt;subscript&lt;/sub&gt; and &lt;sup&gt;superscript&lt;/sup&gt;, too.
</literallayout>
      <para>You can mark something as deleted as well.</para>
      <literallayout>  You can mark something as &lt;del&gt;deleted&lt;/del&gt; as well.
</literallayout>
      <para><emphasis Role="strong">Paragraphs</emphasis> are created from blank lines. If you want to <emphasis Role="strong">force a newline</emphasis> without a paragraph, you can use two backslashes followed by a whitespace or the end of line.</para>
      <literallayout class="normal">This is some text with some linebreaks
 Note that the two backslashes are only recognized at the end of a line
 or followed by
 a whitespace \\this happens without it.</literallayout>
      <literallayout>  This is some text with some linebreaks\\ Note that the
  two backslashes are only recognized at the end of a line\\
  or followed by\\ a whitespace \\this happens without it.
</literallayout>
      <para>You should use forced newlines only if really needed.</para>
    </section>
    <section>
      <title> Links</title>
      <para>DokuWiki supports multiple ways of creating links.</para>
      <section>
        <title> External</title>
        <para>External links are recognized automagically: <ulink url="http://www.google.com">http://www.google.com</ulink> or simply www.google.com - You can set the link text as well: <ulink url="http://www.google.com">This Link points to google</ulink>. Email addresses like this one: <ulink url="&lt;andi@splitbrain.org&gt;">&lt;andi@splitbrain.org&gt;</ulink> are recognized, too.</para>
        <literallayout>  DokuWiki supports multiple ways of creating links. External links are recognized
  automagically: http://www.google.com or simply www.google.com - You can set
  link text as well: [[http://www.google.com|This Link points to google]]. Email
  addresses like this one: &lt;andi@splitbrain.org&gt; are recognized, too.
</literallayout>
      </section>
      <section>
        <title> Internal</title>
        <para>Internal links are created by using square brackets. You can either just give a <ulink url="pagename">pagename</ulink> or use an additional <ulink url="pagename">link text</ulink>.</para>
        <literallayout>  Internal links are created by using square brackets. You can either just give
  a [[pagename]] or use an additional [[pagename|link text]].
</literallayout>
        <para><ulink url="doku&gt;pagename">Wiki pagenames</ulink> are converted to lowercase automatically, special characters are not allowed.</para>
        <para>You can use <ulink url="some:namespaces">some:namespaces</ulink> by using a colon in the pagename.</para>
        <literallayout>  You can use [[some:namespaces]] by using a colon in the pagename.
</literallayout>
        <para>For details about namespaces see <ulink url="doku&gt;namespaces">doku&gt;namespaces</ulink>.</para>
        <para>Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to <ulink url="syntax#internal">this Section</ulink>.</para>
        <literallayout>  This links to [[syntax#internal|this Section]].
</literallayout>
        <para>Notes:</para>
        <itemizedlist>
          <listitem>
            <para>Links to <ulink url="syntax">existing pages</ulink> are shown in a different style from <ulink url="nonexisting">nonexisting</ulink> ones.</para>
          </listitem>
          <listitem>
            <para>DokuWiki does not use <ulink url="wp&gt;CamelCase">wp&gt;CamelCase</ulink> to automatically create links by default, but this behavior can be enabled in the <ulink url="doku&gt;config">doku&gt;config</ulink> file. Hint: If DokuWiki is a link, then it's enabled.</para>
          </listitem>
          <listitem>
            <para>When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.</para>
          </listitem>
        </itemizedlist>
      </section>
      <section>
        <title> Interwiki</title>
        <para>DokuWiki supports <ulink url="doku&gt;Interwiki">doku&gt;Interwiki</ulink> links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: <ulink url="wp&gt;Wiki">wp&gt;Wiki</ulink>.</para>
        <literallayout>  DokuWiki supports [[doku&gt;Interwiki]] links. These are quick links to other Wikis.
  For example this is a link to Wikipedia's page about Wikis: [[wp&gt;Wiki]].
</literallayout>
      </section>
      <section>
        <title> Windows Shares</title>
        <para>Windows shares like <ulink url="\\server\share">this</ulink> are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate <ulink url="wp&gt;Intranet">wp&gt;Intranet</ulink>.</para>
        <literallayout>  Windows Shares like [[\\server\share|this]] are recognized, too.
</literallayout>
        <para>Notes:</para>
        <itemizedlist>
          <listitem>
            <para>For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone").</para>
          </listitem>
          <listitem>
            <para>For Mozilla and Firefox it can be enabled through the config option <ulink url="http://www.mozilla.org/quality/networking/docs/netprefs.html#file">security.checkloaduri</ulink> but this is not recommended.</para>
          </listitem>
          <listitem>
            <para>See <ulink url="dokubug&gt;151">dokubug&gt;151</ulink> for more info.</para>
          </listitem>
        </itemizedlist>
      </section>
      <section>
        <title> Image Links</title>
        <para>You can also use an image to link to another internal or external page by combining the syntax for links and <ulink url="#images_and_other_files">images</ulink> (see below) like this:</para>
        <literallayout>  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]
</literallayout>
        <para>
          <ulink url="http://www.php.net">
            <inlinemediaobject>
              <imageobject>
                <imagedata fileref="wiki:dokuwiki-128.png"/>
              </imageobject>
            </inlinemediaobject>
          </ulink>
        </para>
        <para>Please note: The image formatting is the only formatting syntax accepted in link names.</para>
        <para>The whole <ulink url="#images_and_other_files">image</ulink> and <ulink url="#links">link</ulink> syntax is supported (including image resizing, internal and external images and URLs and interwiki links).</para>
      </section>
    </section>
    <section>
      <title> Footnotes</title>
      <para>You can add footnotes <footnote><para>This is a footnote</para></footnote> by using double parentheses.</para>
      <literallayout>  You can add footnotes ((This is a footnote)) by using double parentheses.
</literallayout>
    </section>
    <section>
      <title> Sectioning</title>
      <para>You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string <literal><literal>~~NOTOC~~</literal></literal> in the document.</para>
      <section>
        <title> Headline Level 3</title>
        <section>
          <title> Headline Level 4</title>
          <section>
            <title> Headline Level 5</title>
            <literallayout>  ==== Headline Level 3 ====
  === Headline Level 4 ===
  == Headline Level 5 ==
</literallayout>
            <para>By using four or more dashes, you can make a horizontal line:</para>
            <para>----</para>
          </section>
        </section>
      </section>
    </section>
    <section>
      <title> Images and other files</title>
      <para>You can include external and internal <ulink url="doku&gt;images">doku&gt;images</ulink> with curly brackets. Optionally you can specify the size of them.</para>
      <para>Real size: <inlinemediaobject><imageobject><imagedata fileref="wiki:dokuwiki-128.png"/></imageobject></inlinemediaobject></para>
      <para>Resize to given width: <inlinemediaobject><imageobject><imagedata fileref="wiki:dokuwiki-128.png" width="50"/></imageobject></inlinemediaobject></para>
      <para>Resize to given width and height: <inlinemediaobject><imageobject><imagedata fileref="wiki:dokuwiki-128.png" width="200" depth="50"/></imageobject></inlinemediaobject></para>
      <para>Resized external image: <inlinemediaobject><imageobject><imagedata fileref="http://de3.php.net/images/php.gif" width="200" depth="50"/></imageobject></inlinemediaobject></para>
      <literallayout>  Real size:                        {{wiki:dokuwiki-128.png}}
  Resize to given width:            {{wiki:dokuwiki-128.png?50}}
  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}
  Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}
</literallayout>
      <para>By using left or right whitespaces you can choose the alignment.</para>
      <para>
        <inlinemediaobject>
          <imageobject>
            <imagedata fileref="wiki:dokuwiki-128.png" align="right"/>
          </imageobject>
        </inlinemediaobject>
      </para>
      <para>
        <inlinemediaobject>
          <imageobject>
            <imagedata fileref="wiki:dokuwiki-128.png" align="left"/>
          </imageobject>
        </inlinemediaobject>
      </para>
      <para>
        <inlinemediaobject>
          <imageobject>
            <imagedata fileref="wiki:dokuwiki-128.png" align="center"/>
          </imageobject>
        </inlinemediaobject>
      </para>
      <literallayout>  {{ wiki:dokuwiki-128.png}}
  {{wiki:dokuwiki-128.png }}
  {{ wiki:dokuwiki-128.png }}
</literallayout>
      <para>Of course, you can add a title (displayed as a tooltip by most browsers), too.</para>
      <para>
        <inlinemediaobject>
          <imageobject>
            <imagedata fileref="wiki:dokuwiki-128.png" align="center"/>
          </imageobject>
          <textobject>This is the caption</textobject>
        </inlinemediaobject>
      </para>
      <literallayout>  {{ wiki:dokuwiki-128.png |This is the caption}}
</literallayout>
      <para>If you specify a filename (external or internal) that is not an image (<literal>gif, jpeg, png</literal>), then it will be displayed as a link instead.</para>
      <para>For linking an image to another page see <ulink url="#Image Links">#Image Links</ulink> above.</para>
    </section>
    <section>
      <title> Lists</title>
      <para>Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a <literal>*</literal> for unordered lists or a <literal>-</literal> for ordered ones.</para>
      <itemizedlist>
        <listitem>
          <para>This is a list</para>
        </listitem>
        <listitem>
          <para>The second item</para>
        </listitem>
        <listitem>
          <itemizedlist>
            <listitem>
              <para>You may have different levels</para>
            </listitem>
          </itemizedlist>
        </listitem>
        <listitem>
          <para>Another item</para>
        </listitem>
      </itemizedlist>
      <orderedlist>
        <listitem>
          <para>The same list but ordered</para>
        </listitem>
        <listitem>
          <para>Another item</para>
        </listitem>
        <listitem>
          <orderedlist>
            <listitem>
              <para>Just use indention for deeper levels</para>
            </listitem>
          </orderedlist>
        </listitem>
        <listitem>
          <para>That's it</para>
        </listitem>
      </orderedlist>
      <literallayout>  * This is a list
  * The second item
    * You may have different levels
  * Another item

  - The same list but ordered
  - Another item
    - Just use indention for deeper levels
  - That's it</literallayout>
    </section>
    <section>
      <title> Smileys</title>
      <para>DokuWiki converts commonly used <ulink url="wp&gt;emoticon">wp&gt;emoticon</ulink>s to their graphical equivalents. More smileys can be placed in the <literal>smiley</literal> directory and configured in the <literal>conf/smileys.conf</literal> file. Here is an overview of Smileys included in DokuWiki.</para>
      <itemizedlist>
        <listitem>
          <para>8-) 8-) </para>
        </listitem>
        <listitem>
          <para>8-O 8-O </para>
        </listitem>
        <listitem>
          <para>:-( :-( </para>
        </listitem>
        <listitem>
          <para>:-) :-) </para>
        </listitem>
        <listitem>
          <para>=) =) </para>
        </listitem>
        <listitem>
          <para>:-/ :-/ </para>
        </listitem>
        <listitem>
          <para>:-\ :-\ </para>
        </listitem>
        <listitem>
          <para>:-? :-? </para>
        </listitem>
        <listitem>
          <para>:-D :-D </para>
        </listitem>
        <listitem>
          <para>:-P :-P </para>
        </listitem>
        <listitem>
          <para>:-O :-O </para>
        </listitem>
        <listitem>
          <para>:-X :-X </para>
        </listitem>
        <listitem>
          <para>:-| :-| </para>
        </listitem>
        <listitem>
          <para>;-) ;-) </para>
        </listitem>
        <listitem>
          <para>^_^ ^_^ </para>
        </listitem>
        <listitem>
          <para>:?: :?: </para>
        </listitem>
        <listitem>
          <para>:!: :!: </para>
        </listitem>
        <listitem>
          <para>LOL LOL </para>
        </listitem>
        <listitem>
          <para>FIXME FIXME </para>
        </listitem>
        <listitem>
          <para>DELETEME DELETEME </para>
        </listitem>
      </itemizedlist>
    </section>
    <section>
      <title> Typography</title>
      <para><ulink url="DokuWiki">DokuWiki</ulink> can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.</para>
      <para>-&gt; &lt;- &lt;-&gt; =&gt; &lt;= &lt;=&gt; &gt;&gt; &lt;&lt; -- --- 640x480 (c) (tm) (r) "He thought 'It's a man's world'..."</para>
      <literallayout>-&gt; &lt;- &lt;-&gt; =&gt; &lt;= &lt;=&gt; &gt;&gt; &lt;&lt; -- --- 640x480 (c) (tm) (r)
"He thought 'It's a man's world'..."</literallayout>
      <para>Please note: These conversions can be turned off through a <ulink url="doku&gt;config:typography">config option</ulink> and a <ulink url="doku&gt;entities">pattern file</ulink>.</para>
    </section>
    <section>
      <title> Quoting</title>
      <para>Some times you want to mark some text to show it's a reply or comment. You can use the following syntax:</para>
      <literallayout>  I think we should do it
</literallayout>
      <literallayout>  &gt; No we shouldn't
</literallayout>
      <literallayout>  &gt;&gt; Well, I say we should
</literallayout>
      <literallayout>  &gt; Really?
</literallayout>
      <literallayout>  &gt;&gt; Yes!
</literallayout>
      <literallayout>  &gt;&gt;&gt; Then lets do it!
</literallayout>
      <para>I think we should do it</para>
      <blockquote>
        <para>No we shouldn't</para>
      </blockquote>
      <blockquote>
        <para>Well, I say we should</para>
      </blockquote>
      <blockquote>
        <para>Really?</para>
      </blockquote>
      <blockquote>
        <para>Yes!</para>
      </blockquote>
      <blockquote>
        <para>Then lets do it!</para>
      </blockquote>
    </section>
    <section>
      <title> Tables</title>
      <para>DokuWiki supports a simple syntax to create tables.</para>
      <table>
        <thead>
          <row>
            <entry>
              <para> Heading 1 </para>
            </entry>
            <entry>
              <para> Heading 2 </para>
            </entry>
            <entry>
              <para> Heading 3 </para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry>
              <para> Row 1 Col 1 </para>
            </entry>
            <entry>
              <para> Row 1 Col 2 </para>
            </entry>
            <entry>
              <para> Row 1 Col 3 </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> Row 2 Col 1 </para>
            </entry>
            <entry>
              <para> some colspan (note the double pipe) </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> Row 3 Col 1 </para>
            </entry>
            <entry>
              <para> Row 2 Col 2 </para>
            </entry>
            <entry>
              <para> Row 2 Col 3 </para>
            </entry>
          </row>
        </tbody>
      </table>
      <para>Table rows have to start and end with a <literal>|</literal> for normal rows or a <literal>^</literal> for headers.</para>
      <literallayout>  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^
  | Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
  | Row 2 Col 1    | some colspan (note the double pipe) ||
  | Row 3 Col 1    | Row 2 Col 2     | Row 2 Col 3        |
</literallayout>
      <para>To connect cells horizontally, just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators!</para>
      <para>Vertical tableheaders are possible, too.</para>
      <table>
        <tbody>
          <row>
            <entry>
              <para> </para>
            </entry>
            <entry>
              <para> Heading 1 </para>
            </entry>
            <entry>
              <para> Heading 2 </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> Heading 3 </para>
            </entry>
            <entry>
              <para> Row 1 Col 2 </para>
            </entry>
            <entry>
              <para> Row 1 Col 3 </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> Heading 4 </para>
            </entry>
            <entry>
              <para> no colspan this time </para>
            </entry>
            <entry>
              <para> </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> Heading 5 </para>
            </entry>
            <entry>
              <para> Row 2 Col 2 </para>
            </entry>
            <entry>
              <para> Row 2 Col 3 </para>
            </entry>
          </row>
        </tbody>
      </table>
      <para>As you can see, it's the cell separator before a cell which decides about the formatting:</para>
      <literallayout>  |              ^ Heading 1            ^ Heading 2          ^
  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        |
  ^ Heading 4    | no colspan this time |                    |
  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |
</literallayout>
      <para>Note: Vertical spans (rowspan) are not possible.</para>
      <para>You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text.</para>
      <table>
        <thead>
          <row>
            <entry>
              <para> Table with alignment </para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry>
              <para> right</para>
            </entry>
            <entry>
              <para> center </para>
            </entry>
            <entry>
              <para>left </para>
            </entry>
          </row>
          <row>
            <entry>
              <para>left </para>
            </entry>
            <entry>
              <para> right</para>
            </entry>
            <entry>
              <para> center </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> xxxxxxxxxxxx </para>
            </entry>
            <entry>
              <para> xxxxxxxxxxxx </para>
            </entry>
            <entry>
              <para> xxxxxxxxxxxx </para>
            </entry>
          </row>
        </tbody>
      </table>
      <para>This is how it looks in the source:</para>
      <literallayout>  ^           Table with alignment           ^^^
  |         right|    center    |left          |
  |left          |         right|    center    |
  | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
</literallayout>
    </section>
    <section>
      <title> Non-parsed Blocks</title>
      <para>You can include non-parsed blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags <literal>code</literal> or <literal>file</literal>.</para>
      <literallayout>This is preformatted code all spaces are preserved: like              &lt;-this</literallayout>
      <literallayout>This is pretty much the same, but you could use it to show that you quoted a file.</literallayout>
      <para>To let the parser ignore an area completely (ie. do no formatting on it), enclose the area either with <literal>nowiki</literal> tags or even simpler, with double percent signs <literal><literal>%%</literal></literal>.</para>
      <para>This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.</para>
      <para>See the source of this page to see how to use these blocks.</para>
    </section>
    <section>
      <title> Syntax Highlighting</title>
      <para><ulink url="wiki:DokuWiki">wiki:DokuWiki</ulink> can highlight sourcecode, which makes it easier to read. It uses the <ulink url="http://qbnz.com/highlighter/">GeSHi</ulink> Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax is the same like in the code block in the previous section, but this time the name of the used language is inserted inside the tag. Eg. <literal><literal>&lt;code java&gt;</literal></literal>.</para>
      <literallayout language="java">
/**
 * The HelloWorldApp class implements an application that
 * simply displays "Hello World!" to the standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); //Display the string.
    }
}</literallayout>
      <para>The following language strings are currently recognized: <emphasis>abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoit, bash, basic4gl, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, delphi, diff, div, dos, dot, d, eiffel, fortran, freebasic, genero, glsl, gml, gnuplot, groovy, gettext, haskell, html, idl, ini, inno, io, java5, java, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, perl, per, php-brief, php, pic16, plsql, povray, powershell, progress, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, typoscript, vbnet, vb, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80</emphasis></para>
    </section>
    <section>
      <title> RSS/ATOM Feed Aggregation</title>
      <para><ulink url="DokuWiki">DokuWiki</ulink> can integrate data from external XML feeds. For parsing the XML feeds, <ulink url="http://simplepie.org/">SimplePie</ulink> is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:</para>
      <table>
        <thead>
          <row>
            <entry>
              <para> Parameter </para>
            </entry>
            <entry>
              <para> Description </para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry>
              <para> any number </para>
            </entry>
            <entry>
              <para> will be used as maximum number items to show, defaults to 8 </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> reverse </para>
            </entry>
            <entry>
              <para> display the last items in the feed first </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> author </para>
            </entry>
            <entry>
              <para> show item authors names </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> date </para>
            </entry>
            <entry>
              <para> show item dates </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> description</para>
            </entry>
            <entry>
              <para> show the item description. If <ulink url="doku&gt;config:htmlok">HTML</ulink> is disabled all tags will be stripped </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> <emphasis>n</emphasis>[dhm] </para>
            </entry>
            <entry>
              <para> refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). </para>
            </entry>
          </row>
        </tbody>
      </table>
      <para>The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. <ulink url="wiki:DokuWiki">wiki:DokuWiki</ulink> will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells <ulink url="wiki:DokuWiki">wiki:DokuWiki</ulink> to re-render the page if it is more than <emphasis>refresh period</emphasis> since the page was last rendered.</para>
      <para>
        <emphasis Role="strong">Example:</emphasis>
      </para>
      <literallayout>  {{rss&gt;http://slashdot.org/index.rss 5 author date 1h }}
</literallayout>
      <para>{{<ulink url="rss&gt;http://slashdot.org/index.rss 5 author date 1h }}&#10;&#10;&#10;===== Embedding HTML and PHP =====&#10;&#10;You can embed raw HTML or PHP code into your documents by using the ''html'' or ''php'' tags like this:&#10;&lt;code&gt;&#10;&lt;html&gt;&#10;This is some &lt;span style=&quot;color:red;font-size:150%;&quot;&gt;inline HTML&lt;/span&gt;&#10;&lt;/html&gt;&#10;&lt;HTML&gt;&#10;&lt;p style=&quot;border:2px dashed red;&quot;&gt;And this is some block HTML&lt;/p&gt;&#10;&lt;/HTML&gt;&#10;&lt;/code&gt;&#10;&#10;&lt;html&gt;&#10;This is some &lt;span style=&quot;color:red;font-size:150%;&quot;&gt;inline HTML&lt;/span&gt;&#10;&lt;/html&gt;&#10;&lt;HTML&gt;&#10;&lt;p style=&quot;border:2px dashed red;&quot;&gt;And this is some block HTML&lt;/p&gt;&#10;&lt;/HTML&gt;&#10;&#10;&lt;code&gt;&#10;&lt;php&gt;&#10;echo 'A logo generated by PHP:';&#10;echo '&lt;img src=&quot;' . $_SERVER['PHP_SELF'">rss&gt;http://slashdot.org/index.rss 5 author date 1h }}


===== Embedding HTML and PHP =====

You can embed raw HTML or PHP code into your documents by using the ''html'' or ''php'' tags like this:
&lt;code&gt;
&lt;html&gt;
This is some &lt;span style="color:red;font-size:150%;"&gt;inline HTML&lt;/span&gt;
&lt;/html&gt;
&lt;HTML&gt;
&lt;p style="border:2px dashed red;"&gt;And this is some block HTML&lt;/p&gt;
&lt;/HTML&gt;
&lt;/code&gt;

&lt;html&gt;
This is some &lt;span style="color:red;font-size:150%;"&gt;inline HTML&lt;/span&gt;
&lt;/html&gt;
&lt;HTML&gt;
&lt;p style="border:2px dashed red;"&gt;And this is some block HTML&lt;/p&gt;
&lt;/HTML&gt;

&lt;code&gt;
&lt;php&gt;
echo 'A logo generated by PHP:';
echo '&lt;img src="' . $_SERVER['PHP_SELF'</ulink>] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /&gt;'; echo '(generated inline HTML)'; &lt;/<ulink url="php&gt;&#10;&lt;PHP&gt;&#10;echo '&lt;table class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;';&#10;echo '&lt;td&gt;&lt;img src=&quot;' . $_SERVER['PHP_SELF'">php&gt;
&lt;PHP&gt;
echo '&lt;table class="inline"&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;';
echo '&lt;td&gt;&lt;img src="' . $_SERVER['PHP_SELF'</ulink>] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /&gt;&lt;/<ulink url="td&gt;';&#10;echo '&lt;/tr&gt;&lt;/table&gt;';&#10;&lt;/PHP&gt;&#10;&lt;/code&gt;&#10;&#10;&lt;php&gt;&#10;echo 'A logo generated by PHP:';&#10;echo '&lt;img src=&quot;' . $_SERVER['PHP_SELF'">td&gt;';
echo '&lt;/tr&gt;&lt;/table&gt;';
&lt;/PHP&gt;
&lt;/code&gt;

&lt;php&gt;
echo 'A logo generated by PHP:';
echo '&lt;img src="' . $_SERVER['PHP_SELF'</ulink>] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /&gt;'; echo '(inline HTML)'; &lt;/<ulink url="php&gt;&#10;&lt;PHP&gt;&#10;echo '&lt;table class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;';&#10;echo '&lt;td&gt;&lt;img src=&quot;' . $_SERVER['PHP_SELF'">php&gt;
&lt;PHP&gt;
echo '&lt;table class="inline"&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;';
echo '&lt;td&gt;&lt;img src="' . $_SERVER['PHP_SELF'</ulink>] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /&gt;&lt;/<ulink url="td&gt;';&#10;echo '&lt;/tr&gt;&lt;/table&gt;';&#10;&lt;/PHP&gt;&#10;&#10;**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.&#10;&#10;===== Control Macros =====&#10;&#10;Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:&#10;&#10;^ Macro           ^ Description ">td&gt;';
echo '&lt;/tr&gt;&lt;/table&gt;';
&lt;/PHP&gt;

**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.

===== Control Macros =====

Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:

^ Macro           ^ Description </ulink>|</para>
      <table>
        <tbody>
          <row>
            <entry>
              <para> ~~NOTOC~~ </para>
            </entry>
            <entry>
              <para> If this macro is found on the page, no table of contents will be created </para>
            </entry>
          </row>
          <row>
            <entry>
              <para> ~~NOCACHE~~ </para>
            </entry>
            <entry>
              <para> DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the &lt;php&gt; syntax above is used), adding this macro will force DokuWiki to rerender a page on every call </para>
            </entry>
          </row>
        </tbody>
      </table>
    </section>
    <section>
      <title> Syntax Plugins</title>
      <para>DokuWiki's syntax can be extended by <ulink url="doku&gt;plugins">Plugins</ulink>. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:</para>
      <para>~~INFO:syntaxplugins~~</para>
    </section>
  </section>
</article>
