maio
[h2N7SspZmY.git] / data / cache / 7 / 7a14101eda1141a959fb90251fa64c29.xhtml
blob51c4d01866204543af214f7cff3e4073d86e19f7
4 <h1><a name="formatting_syntax" id="formatting_syntax">Formatting Syntax</a></h1>
5 <div class="level1">
7 <p>
9 <a href="http://www.dokuwiki.org/DokuWiki" class="interwiki iw_doku" title="http://www.dokuwiki.org/DokuWiki">DokuWiki</a> 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 <em>Edit this page</em> button at the top or bottom of the page. If you want to try something, just use the <a href="/~kssilveira/site/doku.php?id=playground:playground" class="wikilink2" title="playground:playground" rel="nofollow">playground</a> page. The simpler markup is easily accessible via <a href="http://www.dokuwiki.org/toolbar" class="interwiki iw_doku" title="http://www.dokuwiki.org/toolbar">quickbuttons</a>, too.
10 </p>
11 <div class="plugin_uparrow">
12 <a href="#" title="Back to top">
13 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
14 </a>
15 </div>
17 </div>
18 <!-- SECTION "Formatting Syntax" [1-518] -->
19 <h2><a name="basic_text_formatting" id="basic_text_formatting">Basic Text Formatting</a></h2>
20 <div class="level2">
22 <p>
24 DokuWiki supports <strong>bold</strong>, <em>italic</em>, <em class="u">underlined</em> and <code>monospaced</code> texts. Of course you can <strong><em class="u"><em><code>combine</code></em></em></strong> all these.
26 </p>
27 <pre class="code">DokuWiki supports **bold**, //italic//, __underlined__ and &#039;&#039;monospaced&#039;&#039; texts.
28 Of course you can **__//&#039;&#039;combine&#039;&#039;//__** all these.</pre>
30 <p>
32 You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
34 </p>
35 <pre class="code">You can use &lt;sub&gt;subscript&lt;/sub&gt; and &lt;sup&gt;superscript&lt;/sup&gt;, too.</pre>
37 <p>
39 You can mark something as <del>deleted</del> as well.
41 </p>
42 <pre class="code">You can mark something as &lt;del&gt;deleted&lt;/del&gt; as well.</pre>
44 <p>
46 <strong>Paragraphs</strong> are created from blank lines. If you want to <strong>force a newline</strong> without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
47 </p>
49 <p>
50 This is some text with some linebreaks<br/>
51 Note that the
52 two backslashes are only recognized at the end of a line<br/>
54 or followed by<br/>
55 a whitespace \\this happens without it.
57 </p>
58 <pre class="code">This is some text with some linebreaks\\ Note that the
59 two backslashes are only recognized at the end of a line\\
60 or followed by\\ a whitespace \\this happens without it.</pre>
62 <p>
64 You should use forced newlines only if really needed.
65 </p>
66 <div class="plugin_uparrow">
67 <a href="#" title="Back to top">
68 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
69 </a>
70 </div>
72 </div>
73 <!-- SECTION "Basic Text Formatting" [519-1655] -->
74 <h2><a name="links" id="links">Links</a></h2>
75 <div class="level2">
77 <p>
79 DokuWiki supports multiple ways of creating links.
80 </p>
81 <div class="plugin_uparrow">
82 <a href="#" title="Back to top">
83 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
84 </a>
85 </div>
87 </div>
88 <!-- SECTION "Links" [1656-1726] -->
89 <h3><a name="external" id="external">External</a></h3>
90 <div class="level3">
92 <p>
94 External links are recognized automagically: <a href="http://www.google.com" class="urlextern" title="http://www.google.com" rel="nofollow">http://www.google.com</a> or simply <a href="http://www.google.com" class="urlextern" title="http://www.google.com" rel="nofollow">www.google.com</a> - You can set the link text as well: <a href="http://www.google.com" class="urlextern" title="http://www.google.com" rel="nofollow">This Link points to google</a>. Email addresses like this one: <a href="mailto:&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;">&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;</a> are recognized, too.
96 </p>
97 <pre class="code">DokuWiki supports multiple ways of creating links. External links are recognized
98 automagically: http://www.google.com or simply www.google.com - You can set
99 link text as well: [[http://www.google.com|This Link points to google]]. Email
100 addresses like this one: &lt;andi@splitbrain.org&gt; are recognized, too.</pre>
101 <div class="plugin_uparrow">
102 <a href="#" title="Back to top">
103 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
104 </a>
105 </div>
107 </div>
108 <!-- SECTION "External" [1727-2317] -->
109 <h3><a name="internal" id="internal">Internal</a></h3>
110 <div class="level3">
114 Internal links are created by using square brackets. You can either just give a <a href="/~kssilveira/site/doku.php?id=wiki:pagename" class="wikilink2" title="wiki:pagename" rel="nofollow">pagename</a> or use an additional <a href="/~kssilveira/site/doku.php?id=wiki:pagename" class="wikilink2" title="wiki:pagename" rel="nofollow">link text</a>.
116 </p>
117 <pre class="code">Internal links are created by using square brackets. You can either just give
118 a [[pagename]] or use an additional [[pagename|link text]].</pre>
122 <a href="http://www.dokuwiki.org/pagename" class="interwiki iw_doku" title="http://www.dokuwiki.org/pagename">Wiki pagenames</a> are converted to lowercase automatically, special characters are not allowed.
123 </p>
126 You can use <a href="/~kssilveira/site/doku.php?id=some:namespaces" class="wikilink2" title="some:namespaces" rel="nofollow">namespaces</a> by using a colon in the pagename.
128 </p>
129 <pre class="code">You can use [[some:namespaces]] by using a colon in the pagename.</pre>
133 For details about namespaces see <a href="http://www.dokuwiki.org/namespaces" class="interwiki iw_doku" title="http://www.dokuwiki.org/namespaces">namespaces</a>.
134 </p>
137 Linking to a specific section is possible, too. Just add the section name behind a hash character as known from <acronym title="HyperText Markup Language">HTML</acronym>. This links to <span class="curid"><a href="/~kssilveira/site/doku.php?id=wiki:syntax#internal" class="wikilink1" title="wiki:syntax">this Section</a></span>.
139 </p>
140 <pre class="code">This links to [[syntax#internal|this Section]].</pre>
144 Notes:
146 </p>
147 <ul>
148 <li class="level1"><div class="li"> Links to <span class="curid"><a href="/~kssilveira/site/doku.php?id=wiki:syntax" class="wikilink1" title="wiki:syntax">existing pages</a></span> are shown in a different style from <a href="/~kssilveira/site/doku.php?id=wiki:nonexisting" class="wikilink2" title="wiki:nonexisting" rel="nofollow">nonexisting</a> ones.</div>
149 </li>
150 <li class="level1"><div class="li"> DokuWiki does not use <a href="http://en.wikipedia.org/wiki/CamelCase" class="interwiki iw_wp" title="http://en.wikipedia.org/wiki/CamelCase">CamelCase</a> to automatically create links by default, but this behavior can be enabled in the <a href="http://www.dokuwiki.org/config" class="interwiki iw_doku" title="http://www.dokuwiki.org/config">config</a> file. Hint: If DokuWiki is a link, then it&#039;s enabled.</div>
151 </li>
152 <li class="level1"><div class="li"> When a section&#039;s heading is changed, its bookmark changes, too. So don&#039;t rely on section linking too much.</div>
153 </li>
154 </ul>
155 <div class="plugin_uparrow">
156 <a href="#" title="Back to top">
157 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
158 </a>
159 </div>
161 </div>
162 <!-- SECTION "Internal" [2318-3552] -->
163 <h3><a name="interwiki" id="interwiki">Interwiki</a></h3>
164 <div class="level3">
168 DokuWiki supports <a href="http://www.dokuwiki.org/Interwiki" class="interwiki iw_doku" title="http://www.dokuwiki.org/Interwiki">Interwiki</a> links. These are quick links to other Wikis. For example this is a link to Wikipedia&#039;s page about Wikis: <a href="http://en.wikipedia.org/wiki/Wiki" class="interwiki iw_wp" title="http://en.wikipedia.org/wiki/Wiki">Wiki</a>.
170 </p>
171 <pre class="code">DokuWiki supports [[doku&gt;Interwiki]] links. These are quick links to other Wikis.
172 For example this is a link to Wikipedia&#039;s page about Wikis: [[wp&gt;Wiki]].</pre>
173 <div class="plugin_uparrow">
174 <a href="#" title="Back to top">
175 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
176 </a>
177 </div>
179 </div>
180 <!-- SECTION "Interwiki" [3553-3890] -->
181 <h3><a name="windows_shares" id="windows_shares">Windows Shares</a></h3>
182 <div class="level3">
186 Windows shares like <a href="file://///server/share" class="windows" title="\\server\share">this</a> are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate <a href="http://en.wikipedia.org/wiki/Intranet" class="interwiki iw_wp" title="http://en.wikipedia.org/wiki/Intranet">Intranet</a>.
188 </p>
189 <pre class="code">Windows Shares like [[\\server\share|this]] are recognized, too.</pre>
193 Notes:
195 </p>
196 <ul>
197 <li class="level1"><div class="li"> For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the “local zone”).</div>
198 </li>
199 <li class="level1"><div class="li"> For Mozilla and Firefox it can be enabled through different workaround mentioned in the <a href="http://kb.mozillazine.org/Links_to_local_pages_don't_work" class="urlextern" title="http://kb.mozillazine.org/Links_to_local_pages_don&#039;t_work" rel="nofollow">Mozilla Knowledge Base</a>.</div>
200 </li>
201 </ul>
202 <div class="plugin_uparrow">
203 <a href="#" title="Back to top">
204 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
205 </a>
206 </div>
208 </div>
209 <!-- SECTION "Windows Shares" [3891-4484] -->
210 <h3><a name="image_links" id="image_links">Image Links</a></h3>
211 <div class="level3">
215 You can also use an image to link to another internal or external page by combining the syntax for links and <a href="#images_and_other_files" title="wiki:syntax &crarr;" class="wikilink1">images</a> (see below) like this:
217 </p>
218 <pre class="code">[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]</pre>
222 <a href="http://www.php.net" class="media" title="http://www.php.net" rel="nofollow"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="media" alt="" /></a>
223 </p>
226 Please note: The image formatting is the only formatting syntax accepted in link names.
227 </p>
230 The whole <a href="#images_and_other_files" title="wiki:syntax &crarr;" class="wikilink1">image</a> and <a href="#links" title="wiki:syntax &crarr;" class="wikilink1">link</a> syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
231 </p>
232 <div class="plugin_uparrow">
233 <a href="#" title="Back to top">
234 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
235 </a>
236 </div>
238 </div>
239 <!-- SECTION "Image Links" [4485-5038] -->
240 <h2><a name="footnotes" id="footnotes">Footnotes</a></h2>
241 <div class="level2">
245 You can add footnotes <sup><a href="#fn__1" name="fnt__1" id="fnt__1" class="fn_top">1)</a></sup> by using double parentheses.
247 </p>
248 <pre class="code">You can add footnotes ((This is a footnote)) by using double parentheses.</pre>
249 <div class="plugin_uparrow">
250 <a href="#" title="Back to top">
251 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
252 </a>
253 </div>
255 </div>
256 <!-- SECTION "Footnotes" [5039-5213] -->
257 <h2><a name="sectioning" id="sectioning">Sectioning</a></h2>
258 <div class="level2">
262 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 <code>~~NOTOC~~</code> in the document.
263 </p>
264 <div class="plugin_uparrow">
265 <a href="#" title="Back to top">
266 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
267 </a>
268 </div>
270 </div>
271 <!-- SECTION "Sectioning" [5214-5500] -->
272 <h3><a name="headline_level_3" id="headline_level_3">Headline Level 3</a></h3>
273 <div class="level3">
274 <div class="plugin_uparrow">
275 <a href="#" title="Back to top">
276 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
277 </a>
278 </div>
280 </div>
282 <h4><a name="headline_level_4" id="headline_level_4">Headline Level 4</a></h4>
283 <div class="level4">
284 <div class="plugin_uparrow">
285 <a href="#" title="Back to top">
286 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
287 </a>
288 </div>
290 </div>
292 <h5><a name="headline_level_5" id="headline_level_5">Headline Level 5</a></h5>
293 <div class="level5">
294 <pre class="code">==== Headline Level 3 ====
295 === Headline Level 4 ===
296 == Headline Level 5 ==</pre>
300 By using four or more dashes, you can make a horizontal line:
302 </p>
303 <hr />
304 <div class="plugin_uparrow">
305 <a href="#" title="Back to top">
306 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
307 </a>
308 </div>
310 </div>
311 <!-- SECTION "Headline Level 3" [5501-5727] -->
312 <h2><a name="images_and_other_files" id="images_and_other_files">Images and Other Files</a></h2>
313 <div class="level2">
317 You can include external and internal <a href="http://www.dokuwiki.org/images" class="interwiki iw_doku" title="http://www.dokuwiki.org/images">images</a> with curly brackets. Optionally you can specify the size of them.
318 </p>
321 Real size: <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="media" alt="" /></a>
322 </p>
325 Resize to given width: <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?w=50&amp;media=wiki:dokuwiki-128.png" class="media" alt="" width="50" /></a>
326 </p>
329 Resize to given width and height<sup><a href="#fn__2" name="fnt__2" id="fnt__2" class="fn_top">2)</a></sup>: <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?w=200&amp;h=50&amp;media=wiki:dokuwiki-128.png" class="media" alt="" width="200" height="50" /></a>
330 </p>
333 Resized external image: <a href="/~kssilveira/site/lib/exe/fetch.php?hash=6a4634&amp;media=http%3A%2F%2Fde3.php.net%2Fimages%2Fphp.gif" class="media" title="http://de3.php.net/images/php.gif"><img src="/~kssilveira/site/lib/exe/fetch.php?hash=6a4634&amp;w=200&amp;h=50&amp;media=http%3A%2F%2Fde3.php.net%2Fimages%2Fphp.gif" class="media" alt="" width="200" height="50" /></a>
335 </p>
336 <pre class="code">Real size: {{wiki:dokuwiki-128.png}}
337 Resize to given width: {{wiki:dokuwiki-128.png?50}}
338 Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}
339 Resized external image: {{http://de3.php.net/images/php.gif?200x50}}</pre>
342 By using left or right whitespaces you can choose the alignment.
343 </p>
346 <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="mediaright" align="right" alt="" /></a>
347 </p>
350 <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="medialeft" align="left" alt="" /></a>
351 </p>
354 <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="mediacenter" alt="" /></a>
356 </p>
357 <pre class="code">{{ wiki:dokuwiki-128.png}}
358 {{wiki:dokuwiki-128.png }}
359 {{ wiki:dokuwiki-128.png }}</pre>
363 Of course, you can add a title (displayed as a tooltip by most browsers), too.
364 </p>
367 <a href="/~kssilveira/site/lib/exe/detail.php?id=wiki%3Asyntax&amp;media=wiki:dokuwiki-128.png" class="media" title="wiki:dokuwiki-128.png"><img src="/~kssilveira/site/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" class="mediacenter" title="This is the caption" alt="This is the caption" /></a>
369 </p>
370 <pre class="code">{{ wiki:dokuwiki-128.png |This is the caption}}</pre>
374 If you specify a filename (external or internal) that is not an image (<code>gif, jpeg, png</code>), then it will be displayed as a link instead.
375 </p>
378 For linking an image to another page see <a href="#image_links" title="wiki:syntax &crarr;" class="wikilink1">Image Links</a> above.
379 </p>
380 <div class="plugin_uparrow">
381 <a href="#" title="Back to top">
382 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
383 </a>
384 </div>
386 </div>
387 <!-- SECTION "Images and Other Files" [5728-7200] -->
388 <h2><a name="lists" id="lists">Lists</a></h2>
389 <div class="level2">
393 Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a <code>*</code> for unordered lists or a <code>-</code> for ordered ones.
395 </p>
396 <ul>
397 <li class="level1"><div class="li"> This is a list</div>
398 </li>
399 <li class="level1"><div class="li"> The second item</div>
400 <ul>
401 <li class="level2"><div class="li"> You may have different levels</div>
402 </li>
403 </ul>
404 </li>
405 <li class="level1"><div class="li"> Another item</div>
406 </li>
407 </ul>
408 <ol>
409 <li class="level1"><div class="li"> The same list but ordered</div>
410 </li>
411 <li class="level1"><div class="li"> Another item</div>
412 <ol>
413 <li class="level2"><div class="li"> Just use indention for deeper levels</div>
414 </li>
415 </ol>
416 </li>
417 <li class="level1"><div class="li"> That&#039;s it</div>
418 </li>
419 </ol>
420 <pre class="code">
421 * This is a list
422 * The second item
423 * You may have different levels
424 * Another item
426 - The same list but ordered
427 - Another item
428 - Just use indention for deeper levels
429 - That&#039;s it
430 </pre>
433 Also take a look at the <a href="http://www.dokuwiki.org/faq%3Alists" class="interwiki iw_doku" title="http://www.dokuwiki.org/faq%3Alists">FAQ on list items</a>.
434 </p>
435 <div class="plugin_uparrow">
436 <a href="#" title="Back to top">
437 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
438 </a>
439 </div>
441 </div>
442 <!-- SECTION "Lists" [7201-7860] -->
443 <h2><a name="text_conversions" id="text_conversions">Text Conversions</a></h2>
444 <div class="level2">
448 DokuWiki can convert certain pre-defined characters or strings into images or other text or <acronym title="HyperText Markup Language">HTML</acronym>.
449 </p>
452 The text to image conversion is mainly done for smileys. And the text to <acronym title="HyperText Markup Language">HTML</acronym> conversion is used for typography replacements, but can be configured to use other <acronym title="HyperText Markup Language">HTML</acronym> as well.
453 </p>
454 <div class="plugin_uparrow">
455 <a href="#" title="Back to top">
456 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
457 </a>
458 </div>
460 </div>
461 <!-- SECTION "Text Conversions" [7861-8165] -->
462 <h3><a name="text_to_image_conversions" id="text_to_image_conversions">Text to Image Conversions</a></h3>
463 <div class="level3">
467 DokuWiki converts commonly used <a href="http://en.wikipedia.org/wiki/emoticon" class="interwiki iw_wp" title="http://en.wikipedia.org/wiki/emoticon">emoticon</a>s to their graphical equivalents. Those <a href="http://www.dokuwiki.org/Smileys" class="interwiki iw_doku" title="http://www.dokuwiki.org/Smileys">Smileys</a> and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:
469 </p>
470 <ul>
471 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_cool.gif" class="middle" alt="8-)" /> 8-) </div>
472 </li>
473 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_eek.gif" class="middle" alt="8-O" /> 8-O </div>
474 </li>
475 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_sad.gif" class="middle" alt=":-(" /> :-( </div>
476 </li>
477 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_smile.gif" class="middle" alt=":-)" /> :-) </div>
478 </li>
479 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_smile2.gif" class="middle" alt="=)" /> =) </div>
480 </li>
481 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_doubt.gif" class="middle" alt=":-/" /> :-/ </div>
482 </li>
483 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_doubt2.gif" class="middle" alt=":-\" /> :-\ </div>
484 </li>
485 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_confused.gif" class="middle" alt=":-?" /> :-? </div>
486 </li>
487 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_biggrin.gif" class="middle" alt=":-D" /> :-D </div>
488 </li>
489 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_razz.gif" class="middle" alt=":-P" /> :-P </div>
490 </li>
491 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_surprised.gif" class="middle" alt=":-O" /> :-O </div>
492 </li>
493 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_silenced.gif" class="middle" alt=":-X" /> :-X </div>
494 </li>
495 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_neutral.gif" class="middle" alt=":-|" /> :-| </div>
496 </li>
497 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_wink.gif" class="middle" alt=";-)" /> ;-) </div>
498 </li>
499 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_fun.gif" class="middle" alt="^_^" /> ^_^ </div>
500 </li>
501 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_question.gif" class="middle" alt=":?:" /> :?: </div>
502 </li>
503 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_exclaim.gif" class="middle" alt=":!:" /> :!: </div>
504 </li>
505 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/icon_lol.gif" class="middle" alt="LOL" /> LOL </div>
506 </li>
507 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/fixme.gif" class="middle" alt="FIXME" /> FIXME </div>
508 </li>
509 <li class="level1"><div class="li"> <img src="/~kssilveira/site/lib/images/smileys/delete.gif" class="middle" alt="DELETEME" /> DELETEME </div>
510 </li>
511 </ul>
512 <div class="plugin_uparrow">
513 <a href="#" title="Back to top">
514 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
515 </a>
516 </div>
518 </div>
519 <!-- SECTION "Text to Image Conversions" [8166-8821] -->
520 <h3><a name="text_to_html_conversions" id="text_to_html_conversions">Text to HTML Conversions</a></h3>
521 <div class="level3">
525 Typography: <a href="/~kssilveira/site/doku.php?id=wiki:dokuwiki" class="wikilink2" title="wiki:dokuwiki" rel="nofollow">DokuWiki</a> can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.
526 </p>
529 → ← ↔ ⇒ ⇐ ⇔ » « – — 640&times;480 © ™ ®
530 “He thought &#039;It&#039;s a man&#039;s world&#039;…”
531 </p>
532 <pre class="code">
533 -&gt; &lt;- &lt;-&gt; =&gt; &lt;= &lt;=&gt; &gt;&gt; &lt;&lt; -- --- 640x480 (c) (tm) (r)
534 &quot;He thought &#039;It&#039;s a man&#039;s world&#039;...&quot;
535 </pre>
538 The same can be done to produce any kind of <acronym title="HyperText Markup Language">HTML</acronym>, it just needs to be added to the <a href="http://www.dokuwiki.org/entities" class="interwiki iw_doku" title="http://www.dokuwiki.org/entities">pattern file</a>.
539 </p>
542 There are three exceptions which do not come from that pattern file: multiplication entity (640&times;480), &#039;single&#039; and “double quotes”. They can be turned off through a <a href="http://www.dokuwiki.org/config%3Atypography" class="interwiki iw_doku" title="http://www.dokuwiki.org/config%3Atypography">config option</a>.
543 </p>
544 <div class="plugin_uparrow">
545 <a href="#" title="Back to top">
546 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
547 </a>
548 </div>
550 </div>
551 <!-- SECTION "Text to HTML Conversions" [8822-9529] -->
552 <h2><a name="quoting" id="quoting">Quoting</a></h2>
553 <div class="level2">
557 Some times you want to mark some text to show it&#039;s a reply or comment. You can use the following syntax:
559 </p>
560 <pre class="code">I think we should do it
562 &gt; No we shouldn&#039;t
564 &gt;&gt; Well, I say we should
566 &gt; Really?
568 &gt;&gt; Yes!
570 &gt;&gt;&gt; Then lets do it!</pre>
574 I think we should do it
576 </p>
577 <blockquote><div class="no">
578 No we shouldn&#039;t</div></blockquote>
579 <blockquote><div class="no">
580 <blockquote><div class="no">
581 Well, I say we should</div></blockquote>
582 </div></blockquote>
583 <blockquote><div class="no">
584 Really?</div></blockquote>
585 <blockquote><div class="no">
586 <blockquote><div class="no">
587 Yes!</div></blockquote>
588 </div></blockquote>
589 <blockquote><div class="no">
590 <blockquote><div class="no">
591 <blockquote><div class="no">
592 Then lets do it!</div></blockquote>
593 </div></blockquote>
594 </div></blockquote>
595 <div class="plugin_uparrow">
596 <a href="#" title="Back to top">
597 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
598 </a>
599 </div>
601 </div>
602 <!-- SECTION "Quoting" [9530-9902] -->
603 <h2><a name="tables" id="tables">Tables</a></h2>
604 <div class="level2">
608 DokuWiki supports a simple syntax to create tables.
610 </p>
611 <table class="inline">
612 <tr class="row0">
613 <th class="col0 leftalign"> Heading 1 </th><th class="col1 leftalign"> Heading 2 </th><th class="col2 leftalign"> Heading 3 </th>
614 </tr>
615 <tr class="row1">
616 <td class="col0 leftalign"> Row 1 Col 1 </td><td class="col1 leftalign"> Row 1 Col 2 </td><td class="col2 leftalign"> Row 1 Col 3 </td>
617 </tr>
618 <tr class="row2">
619 <td class="col0 leftalign"> Row 2 Col 1 </td><td class="col1" colspan="2"> some colspan (note the double pipe) </td>
620 </tr>
621 <tr class="row3">
622 <td class="col0 leftalign"> Row 3 Col 1 </td><td class="col1 leftalign"> Row 3 Col 2 </td><td class="col2 leftalign"> Row 3 Col 3 </td>
623 </tr>
624 </table>
628 Table rows have to start and end with a <code>|</code> for normal rows or a <code>^</code> for headers.
630 </p>
631 <pre class="code">^ Heading 1 ^ Heading 2 ^ Heading 3 ^
632 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
633 | Row 2 Col 1 | some colspan (note the double pipe) ||
634 | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 |</pre>
638 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!
639 </p>
642 Vertical tableheaders are possible, too.
644 </p>
645 <table class="inline">
646 <tr class="row0">
647 <td class="col0 leftalign"> </td><th class="col1 leftalign"> Heading 1 </th><th class="col2 leftalign"> Heading 2 </th>
648 </tr>
649 <tr class="row1">
650 <th class="col0 leftalign"> Heading 3 </th><td class="col1 leftalign"> Row 1 Col 2 </td><td class="col2 leftalign"> Row 1 Col 3 </td>
651 </tr>
652 <tr class="row2">
653 <th class="col0 leftalign"> Heading 4 </th><td class="col1"> no colspan this time </td><td class="col2 leftalign"> </td>
654 </tr>
655 <tr class="row3">
656 <th class="col0 leftalign"> Heading 5 </th><td class="col1 leftalign"> Row 2 Col 2 </td><td class="col2 leftalign"> Row 2 Col 3 </td>
657 </tr>
658 </table>
662 As you can see, it&#039;s the cell separator before a cell which decides about the formatting:
664 </p>
665 <pre class="code">| ^ Heading 1 ^ Heading 2 ^
666 ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 |
667 ^ Heading 4 | no colspan this time | |
668 ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 |</pre>
672 You can have rowspans (vertically connected cells) by adding <code>:::</code> into the cells below the one to which they should connect.
674 </p>
675 <table class="inline">
676 <tr class="row0">
677 <th class="col0 leftalign"> Heading 1 </th><th class="col1 leftalign"> Heading 2 </th><th class="col2 leftalign"> Heading 3 </th>
678 </tr>
679 <tr class="row1">
680 <td class="col0 leftalign"> Row 1 Col 1 </td><td class="col1" rowspan="3"> this cell spans vertically </td><td class="col2 leftalign"> Row 1 Col 3 </td>
681 </tr>
682 <tr class="row2">
683 <td class="col0 leftalign"> Row 2 Col 1 </td><td class="col1 leftalign"> Row 2 Col 3 </td>
684 </tr>
685 <tr class="row3">
686 <td class="col0 leftalign"> Row 3 Col 1 </td><td class="col1 leftalign"> Row 2 Col 3 </td>
687 </tr>
688 </table>
692 Apart from the rowspan syntax those cells should not contain anything else.
694 </p>
695 <pre class="code">^ Heading 1 ^ Heading 2 ^ Heading 3 ^
696 | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 |
697 | Row 2 Col 1 | ::: | Row 2 Col 3 |
698 | Row 3 Col 1 | ::: | Row 2 Col 3 |</pre>
702 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.
704 </p>
705 <table class="inline">
706 <tr class="row0">
707 <th class="col0 centeralign" colspan="3"> Table with alignment </th>
708 </tr>
709 <tr class="row1">
710 <td class="col0 rightalign"> right</td><td class="col1 centeralign"> center </td><td class="col2 leftalign">left </td>
711 </tr>
712 <tr class="row2">
713 <td class="col0 leftalign">left </td><td class="col1 rightalign"> right</td><td class="col2 centeralign"> center </td>
714 </tr>
715 <tr class="row3">
716 <td class="col0"> xxxxxxxxxxxx </td><td class="col1"> xxxxxxxxxxxx </td><td class="col2"> xxxxxxxxxxxx </td>
717 </tr>
718 </table>
722 This is how it looks in the source:
724 </p>
725 <pre class="code">^ Table with alignment ^^^
726 | right| center |left |
727 |left | right| center |
728 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |</pre>
732 Note: Vertical alignment is not supported.
733 </p>
734 <div class="plugin_uparrow">
735 <a href="#" title="Back to top">
736 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
737 </a>
738 </div>
740 </div>
741 <!-- SECTION "Tables" [9903-12795] -->
742 <h2><a name="no_formatting" id="no_formatting">No Formatting</a></h2>
743 <div class="level2">
747 If you need to display text exactly like it is typed (without any formatting), enclose the area either with <code>&lt;nowiki&gt;</code> tags or even simpler, with double percent signs <code>%%</code>.
748 </p>
752 This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
754 The same is true for //__this__ text// with a smiley ;-).
756 </p>
757 <pre class="code">&lt;nowiki&gt;
758 This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
759 &lt;/nowiki&gt;
760 The same is true for %%//__this__ text// with a smiley ;-)%%.</pre>
761 <div class="plugin_uparrow">
762 <a href="#" title="Back to top">
763 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
764 </a>
765 </div>
767 </div>
768 <!-- SECTION "No Formatting" [12796-13451] -->
769 <h2><a name="code_blocks" id="code_blocks">Code Blocks</a></h2>
770 <div class="level2">
774 You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags <code>&lt;code&gt;</code> or <code>&lt;file&gt;</code>.
776 </p>
777 <pre class="code">This is text is indented by two spaces.</pre>
778 <pre class="code">
779 This is preformatted code all spaces are preserved: like &lt;-this
780 </pre>
781 <pre class="file">
782 This is pretty much the same, but you could use it to show that you quoted a file.
783 </pre>
786 Those blocks were created by this source:
788 </p>
789 <pre class="code"> This is text is indented by two spaces.</pre>
790 <pre class="code">&lt;code&gt;
791 This is preformatted code all spaces are preserved: like &lt;-this
792 &lt;/code&gt;</pre>
793 <pre class="code">&lt;file&gt;
794 This is pretty much the same, but you could use it to show that you quoted a file.
795 &lt;/file&gt;</pre>
796 <div class="plugin_uparrow">
797 <a href="#" title="Back to top">
798 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
799 </a>
800 </div>
802 </div>
803 <!-- SECTION "Code Blocks" [13452-14193] -->
804 <h3><a name="syntax_highlighting" id="syntax_highlighting">Syntax Highlighting</a></h3>
805 <div class="level3">
809 <a href="/~kssilveira/site/doku.php?id=wiki:dokuwiki" class="wikilink2" title="wiki:dokuwiki" rel="nofollow">DokuWiki</a> can highlight sourcecode, which makes it easier to read. It uses the <a href="http://qbnz.com/highlighter/" class="urlextern" title="http://qbnz.com/highlighter/" rel="nofollow">GeSHi</a> Generic Syntax Highlighter – so any language supported by GeSHi is supported. The syntax is the same like in the code and file blocks in the previous section, but this time the name of the used language is inserted inside the tag. Eg. <code>&lt;code java&gt;</code> or <code>&lt;file java&gt;</code>.
810 </p>
811 <pre class="code java"><span class="co3">/**
812 * The HelloWorldApp class implements an application that
813 * simply displays &quot;Hello World!&quot; to the standard output.
814 */</span>
815 <span class="kw1">class</span> HelloWorldApp <span class="br0">&#123;</span>
816 <span class="kw1">public</span> <span class="kw1">static</span> <span class="kw4">void</span> main<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> args<span class="br0">&#41;</span> <span class="br0">&#123;</span>
817 <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">System</span></a>.<span class="me1">out</span>.<span class="me1">println</span><span class="br0">&#40;</span><span class="st0">&quot;Hello World!&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">//Display the string.</span>
818 <span class="br0">&#125;</span>
819 <span class="br0">&#125;</span></pre>
822 The following language strings are currently recognized: <em>abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoit, avisynth, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cmake, cobol, cpp, cpp-qt, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang, fo, fortran, freebasic, genero, glsl, gml, gnuplot, groovy, gettext, haskell, hq9plus, html, idl, ini, inno, intercal, io, java5, java, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, pascal, perl, per, php-brief, php, pic16, pixelbender, plsql, povray, powershell, progress, prolog, properties, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xml, xorg_conf, xpp, z80</em>
823 </p>
824 <div class="plugin_uparrow">
825 <a href="#" title="Back to top">
826 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
827 </a>
828 </div>
830 </div>
831 <!-- SECTION "Syntax Highlighting" [14194-16082] -->
832 <h3><a name="downloadable_code_blocks" id="downloadable_code_blocks">Downloadable Code Blocks</a></h3>
833 <div class="level3">
837 When you use the <code>&lt;code&gt;</code> or <code>&lt;file&gt;</code> syntax as above, you might want to make the shown code available for download as well. You can to this by specifying a file name after language code like this:
838 </p>
839 <pre class="code">
840 &lt;file php myexample.php&gt;
841 &lt;?php echo &quot;hello world!&quot;; ?&gt;
842 &lt;/file&gt;
843 </pre>
844 <dl class="file">
845 <dt><a href="/~kssilveira/site/doku.php?do=export_code&amp;id=wiki:syntax&amp;codeblock=6" title="Download Snippet" class="mediafile mf_php">myexample.php</a></dt>
846 <dd><pre class="code file php"><span class="kw2">&lt;?php</span> <span class="kw1">echo</span> <span class="st0">&quot;hello world!&quot;</span><span class="sy0">;</span> <span class="sy1">?&gt;</span></pre>
847 </dd></dl>
850 If you don&#039;t want any highlighting but want a downloadable file, specify a dash (<code>-</code>) as the language code: <code>&lt;code - myfile.foo&gt;</code>.
851 </p>
852 <div class="plugin_uparrow">
853 <a href="#" title="Back to top">
854 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
855 </a>
856 </div>
858 </div>
859 <!-- SECTION "Downloadable Code Blocks" [16083-16613] -->
860 <h2><a name="embedding_html_and_php" id="embedding_html_and_php">Embedding HTML and PHP</a></h2>
861 <div class="level2">
865 You can embed raw <acronym title="HyperText Markup Language">HTML</acronym> or <acronym title="Hypertext Preprocessor">PHP</acronym> code into your documents by using the <code>&lt;html&gt;</code> or <code>&lt;php&gt;</code> tags. (Use uppercase tags if you need to enclose block level elements.)
866 </p>
869 <acronym title="HyperText Markup Language">HTML</acronym> example:
870 </p>
871 <pre class="code">
872 &lt;html&gt;
873 This is some &lt;span style=&quot;color:red;font-size:150%;&quot;&gt;inline HTML&lt;/span&gt;
874 &lt;/html&gt;
875 &lt;HTML&gt;
876 &lt;p style=&quot;border:2px dashed red;&quot;&gt;And this is some block HTML&lt;/p&gt;
877 &lt;/HTML&gt;
878 </pre>
881 <code class="code html4strict">This is some <span class="sc2">&lt;<a href="http://december.com/html/4/element/span.html"><span class="kw2">span</span></a> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;color:red;font-size:150%;&quot;</span>&gt;</span>inline HTML<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/span.html"><span class="kw2">span</span></a>&gt;</span></code>
883 </p>
884 <pre class="code html4strict"><span class="sc2">&lt;<a href="http://december.com/html/4/element/p.html"><span class="kw2">p</span></a> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;border:2px dashed red;&quot;</span>&gt;</span>And this is some block HTML<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/p.html"><span class="kw2">p</span></a>&gt;</span></pre>
886 <acronym title="Hypertext Preprocessor">PHP</acronym> example:
887 </p>
888 <pre class="code">
889 &lt;php&gt;
890 echo &#039;A logo generated by PHP:&#039;;
891 echo &#039;&lt;img src=&quot;&#039; . $_SERVER[&#039;PHP_SELF&#039;] . &#039;?=&#039; . php_logo_guid() . &#039;&quot; alt=&quot;PHP Logo !&quot; /&gt;&#039;;
892 echo &#039;(generated inline HTML)&#039;;
893 &lt;/php&gt;
894 &lt;PHP&gt;
895 echo &#039;&lt;table class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;&#039;;
896 echo &#039;&lt;td&gt;&lt;img src=&quot;&#039; . $_SERVER[&#039;PHP_SELF&#039;] . &#039;?=&#039; . php_logo_guid() . &#039;&quot; alt=&quot;PHP Logo !&quot; /&gt;&lt;/td&gt;&#039;;
897 echo &#039;&lt;/tr&gt;&lt;/table&gt;&#039;;
898 &lt;/PHP&gt;
899 </pre>
902 <code class="code php"><span class="kw1">echo</span> <span class="st_h">'A logo generated by PHP:'</span><span class="sy0">;</span>
903 <span class="kw1">echo</span> <span class="st_h">'&lt;img src=&quot;'</span> <span class="sy0">.</span> <span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st_h">'PHP_SELF'</span><span class="br0">&#93;</span> <span class="sy0">.</span> <span class="st_h">'?='</span> <span class="sy0">.</span> <a href="http://www.php.net/php_logo_guid"><span class="kw3">php_logo_guid</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="sy0">.</span> <span class="st_h">'&quot; alt=&quot;PHP Logo !&quot; /&gt;'</span><span class="sy0">;</span>
904 <span class="kw1">echo</span> <span class="st_h">'(inline HTML)'</span><span class="sy0">;</span></code>
906 </p>
907 <pre class="code php"><span class="kw1">echo</span> <span class="st_h">'&lt;table class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;'</span><span class="sy0">;</span>
908 <span class="kw1">echo</span> <span class="st_h">'&lt;td&gt;&lt;img src=&quot;'</span> <span class="sy0">.</span> <span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st_h">'PHP_SELF'</span><span class="br0">&#93;</span> <span class="sy0">.</span> <span class="st_h">'?='</span> <span class="sy0">.</span> <a href="http://www.php.net/php_logo_guid"><span class="kw3">php_logo_guid</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="sy0">.</span> <span class="st_h">'&quot; alt=&quot;PHP Logo !&quot; /&gt;&lt;/td&gt;'</span><span class="sy0">;</span>
909 <span class="kw1">echo</span> <span class="st_h">'&lt;/tr&gt;&lt;/table&gt;'</span><span class="sy0">;</span></pre>
911 <strong>Please Note</strong>: <acronym title="HyperText Markup Language">HTML</acronym> and <acronym title="Hypertext Preprocessor">PHP</acronym> embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.
912 </p>
913 <div class="plugin_uparrow">
914 <a href="#" title="Back to top">
915 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
916 </a>
917 </div>
919 </div>
920 <!-- SECTION "Embedding HTML and PHP" [16614-18143] -->
921 <h2><a name="rss_atom_feed_aggregation" id="rss_atom_feed_aggregation">RSS/ATOM Feed Aggregation</a></h2>
922 <div class="level2">
925 <a href="/~kssilveira/site/doku.php?id=wiki:dokuwiki" class="wikilink2" title="wiki:dokuwiki" rel="nofollow">DokuWiki</a> can integrate data from external <acronym title="Extensible Markup Language">XML</acronym> feeds. For parsing the <acronym title="Extensible Markup Language">XML</acronym> feeds, <a href="http://simplepie.org/" class="urlextern" title="http://simplepie.org/" rel="nofollow">SimplePie</a> 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:
927 </p>
928 <table class="inline">
929 <tr class="row0">
930 <th class="col0 leftalign"> Parameter </th><th class="col1"> Description </th>
931 </tr>
932 <tr class="row1">
933 <td class="col0"> any number </td><td class="col1"> will be used as maximum number items to show, defaults to 8 </td>
934 </tr>
935 <tr class="row2">
936 <td class="col0 leftalign"> reverse </td><td class="col1"> display the last items in the feed first </td>
937 </tr>
938 <tr class="row3">
939 <td class="col0 leftalign"> author </td><td class="col1"> show item authors names </td>
940 </tr>
941 <tr class="row4">
942 <td class="col0 leftalign"> date </td><td class="col1"> show item dates </td>
943 </tr>
944 <tr class="row5">
945 <td class="col0"> description</td><td class="col1"> show the item description. If <a href="http://www.dokuwiki.org/config%3Ahtmlok" class="interwiki iw_doku" title="http://www.dokuwiki.org/config%3Ahtmlok">HTML</a> is disabled all tags will be stripped </td>
946 </tr>
947 <tr class="row6">
948 <td class="col0"> <em>n</em>[dhm] </td><td class="col1"> refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). </td>
949 </tr>
950 </table>
954 The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. <a href="/~kssilveira/site/doku.php?id=wiki:dokuwiki" class="wikilink2" title="wiki:dokuwiki" rel="nofollow">DokuWiki</a> 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 <a href="/~kssilveira/site/doku.php?id=wiki:dokuwiki" class="wikilink2" title="wiki:dokuwiki" rel="nofollow">DokuWiki</a> to re-render the page if it is more than <em>refresh period</em> since the page was last rendered.
955 </p>
958 <strong>Example:</strong>
960 </p>
961 <pre class="code">{{rss&gt;http://slashdot.org/index.rss 5 author date 1h }}</pre>
962 <ul class="rss"><li><div class="li"><a href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/AKPck8S4Q2E/Opera-Acquires-Fastmailfm" class="urlextern" title="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/AKPck8S4Q2E/Opera-Acquires-Fastmailfm" rel="nofollow">Opera Acquires Fastmail.fm</a> by Soulskill (2010/04/30 14:59)</div></li><li><div class="li"><a href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/aIY0sg_OoKc/What-Happened-To-Obamas-Open-Source-Adviser" class="urlextern" title="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/aIY0sg_OoKc/What-Happened-To-Obamas-Open-Source-Adviser" rel="nofollow">What Happened To Obama&#039;s Open Source Adviser?</a> by kdawson (2010/04/30 14:15)</div></li><li><div class="li"><a href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/S4ni8dKlUjQ/Purple-Pokeberries-Yield-Cheap-Solar-Power" class="urlextern" title="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/S4ni8dKlUjQ/Purple-Pokeberries-Yield-Cheap-Solar-Power" rel="nofollow">Purple Pokeberries Yield Cheap Solar Power</a> by kdawson (2010/04/30 13:27)</div></li><li><div class="li"><a href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/TLY3eyIMagk/Apple-To-Shut-Down-Lala-On-May-31" class="urlextern" title="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/TLY3eyIMagk/Apple-To-Shut-Down-Lala-On-May-31" rel="nofollow">Apple To Shut Down Lala On May 31</a> by kdawson (2010/04/30 12:42)</div></li><li><div class="li"><a href="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/pXjVvqy26ak/Recourse-For-Draconian-Encryption-Requirements" class="urlextern" title="http://rss.slashdot.org/~r/Slashdot/slashdot/~3/pXjVvqy26ak/Recourse-For-Draconian-Encryption-Requirements" rel="nofollow">Recourse For Draconian Encryption Requirements?</a> by kdawson (2010/04/30 12:03)</div></li></ul><div class="plugin_uparrow">
963 <a href="#" title="Back to top">
964 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
965 </a>
966 </div>
968 </div>
969 <!-- SECTION "RSS/ATOM Feed Aggregation" [18144-19423] -->
970 <h2><a name="control_macros" id="control_macros">Control Macros</a></h2>
971 <div class="level2">
975 Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:
977 </p>
978 <table class="inline">
979 <tr class="row0">
980 <th class="col0 leftalign"> Macro </th><th class="col1"> Description </th>
981 </tr>
982 <tr class="row1">
983 <td class="col0 leftalign"> ~~NOTOC~~ </td><td class="col1"> If this macro is found on the page, no table of contents will be created </td>
984 </tr>
985 <tr class="row2">
986 <td class="col0"> ~~NOCACHE~~ </td><td class="col1"> 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 </td>
987 </tr>
988 </table>
989 <div class="plugin_uparrow">
990 <a href="#" title="Back to top">
991 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
992 </a>
993 </div>
995 </div>
996 <!-- SECTION "Control Macros" [19424-19927] -->
997 <h2><a name="syntax_plugins" id="syntax_plugins">Syntax Plugins</a></h2>
998 <div class="level2">
1002 DokuWiki&#039;s syntax can be extended by <a href="http://www.dokuwiki.org/plugins" class="interwiki iw_doku" title="http://www.dokuwiki.org/plugins">Plugins</a>. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:
1003 </p>
1004 <ul><li><div class="li"><a href="http://www.dokuwiki.org/plugin:todo" class="urlextern" title="http://www.dokuwiki.org/plugin:todo" rel="nofollow">ToDo</a> <em>2010-04-03</em> by <a href="mailto:&#x62;&#x61;&#x62;&#x62;&#x61;&#x67;&#x65;&#x40;&#x64;&#x69;&#x67;&#x69;&#x74;&#x61;&#x6c;&#x62;&#x72;&#x69;&#x6e;&#x6b;&#x2e;&#x63;&#x6f;&#x6d;" class="mail JSnocheck" title="&#x62;&#x61;&#x62;&#x62;&#x61;&#x67;&#x65;&#x40;&#x64;&#x69;&#x67;&#x69;&#x74;&#x61;&#x6c;&#x62;&#x72;&#x69;&#x6e;&#x6b;&#x2e;&#x63;&#x6f;&#x6d;">Babbage</a><br />Create a checkbox based todo list</div></li><li><div class="li"><a href="http://dokuwiki.org/plugin:uparrow" class="urlextern" title="http://dokuwiki.org/plugin:uparrow" rel="nofollow">Plugin UpArrow (syntax component)</a> <em>2009-05-21
1005 </em> by <a href="mailto:&#x63;&#x68;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;" class="mail JSnocheck" title="&#x63;&#x68;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;">Michael Klier</a><br />Shows an arrow image which links to top of the page.</div></li><li><div class="li"><a href="http://wiki.symplus.co.jp/computer/en/chart2_plugin" class="urlextern" title="http://wiki.symplus.co.jp/computer/en/chart2_plugin" rel="nofollow">XML/SWF Charts Plugin</a> <em>2008-10-30</em> by <a href="mailto:&#x49;&#x2e;&#x4f;&#x62;&#x61;&#x74;&#x61;&#x79;&#x61;&#x40;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#x6f;&#x6d;" class="mail JSnocheck" title="&#x49;&#x2e;&#x4f;&#x62;&#x61;&#x74;&#x61;&#x79;&#x61;&#x40;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#x6f;&#x6d;">Ikuo Obataya</a><br />Create SWF Charts by www.maani.us <br /> &lt;chart2 (filename)&gt; script &lt;/chart2&gt;</div></li><li><div class="li"><a href="http://dokuwiki.org/plugin:info" class="urlextern" title="http://dokuwiki.org/plugin:info" rel="nofollow">Info Plugin</a> <em>2008-09-12</em> by <a href="mailto:&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;">Andreas Gohr</a><br />Displays information about various DokuWiki internals</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:gallery" class="urlextern" title="http://www.dokuwiki.org/plugin:gallery" rel="nofollow">Fortune Plugin</a> <em>2008-01-25</em> by <a href="mailto:&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;">Andreas Gohr</a><br />Displays random fortune cookies using AJAX requests</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:skill" class="urlextern" title="http://www.dokuwiki.org/plugin:skill" rel="nofollow">Skill Plugin</a> <em>13/10/2005</em> by <a href="mailto:&#x69;&#x44;&#x6f;&#x40;&#x77;&#x6f;&#x6f;&#x77;&#x2d;&#x66;&#x72;&#x2e;&#x63;&#x6f;&#x6d;" class="mail JSnocheck" title="&#x69;&#x44;&#x6f;&#x40;&#x77;&#x6f;&#x6f;&#x77;&#x2d;&#x66;&#x72;&#x2e;&#x63;&#x6f;&#x6d;">iDo</a><br />Add the possibility to show skill level</div></li><li><div class="li"><a href="http://wiki.splitbrain.org/plugin:countdown" class="urlextern" title="http://wiki.splitbrain.org/plugin:countdown" rel="nofollow">Countdown v2.5rc</a> <em>2009-12-18</em> by <a href="mailto:&#x65;&#x6b;&#x6b;&#x61;&#x72;&#x74;&#x40;&#x65;&#x6b;&#x6b;&#x61;&#x72;&#x74;&#x2e;&#x64;&#x65;" class="mail JSnocheck" title="&#x65;&#x6b;&#x6b;&#x61;&#x72;&#x74;&#x40;&#x65;&#x6b;&#x6b;&#x61;&#x72;&#x74;&#x2e;&#x64;&#x65;">Ekkart Kleinod</a><br />This plugin displays the days until a specified date.</div></li><li><div class="li"><a href="" class="urlextern" rel="nofollow"></a> <em></em> by <a href="mailto:" class="mail JSnocheck"></a><br /></div></li><li><div class="li"><a href="http://wiki.splitbrain.org/plugin:html_comment" class="urlextern" title="http://wiki.splitbrain.org/plugin:html_comment" rel="nofollow">HTML Comment Plugin</a> <em>2005-10-08</em> by <a href="mailto:&#x63;&#x68;&#x72;&#x69;&#x73;&#x40;&#x63;&#x68;&#x72;&#x69;&#x73;&#x61;&#x72;&#x6e;&#x64;&#x74;&#x2e;&#x64;&#x65;" class="mail JSnocheck" title="&#x63;&#x68;&#x72;&#x69;&#x73;&#x40;&#x63;&#x68;&#x72;&#x69;&#x73;&#x61;&#x72;&#x6e;&#x64;&#x74;&#x2e;&#x64;&#x65;">Christopher Arndt</a><br />allows HTML comments to be retained in the output</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:tag" class="urlextern" title="http://www.dokuwiki.org/plugin:tag" rel="nofollow">Tag Plugin (tag component)</a> <em>2009-05-11
1006 </em> by <a href="mailto:&#x64;&#x6f;&#x6b;&#x75;&#x77;&#x69;&#x6b;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;" class="mail JSnocheck" title="&#x64;&#x6f;&#x6b;&#x75;&#x77;&#x69;&#x6b;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;">Gina Häußge, Michael Klier, Esther Brunner</a><br />Displays links to categories the page belongs to</div></li><li><div class="li"><a href="http://wiki.splitbrain.org/plugin:indexmenu" class="urlextern" title="http://wiki.splitbrain.org/plugin:indexmenu" rel="nofollow">Indexmenu tag</a> <em>2009-08-29</em> by <a href="mailto:&#x73;&#x61;&#x6d;&#x75;&#x65;&#x6c;&#x65;&#x40;&#x6e;&#x65;&#x74;&#x73;&#x6f;&#x6e;&#x73;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x73;&#x61;&#x6d;&#x75;&#x65;&#x6c;&#x65;&#x40;&#x6e;&#x65;&#x74;&#x73;&#x6f;&#x6e;&#x73;&#x2e;&#x6f;&#x72;&#x67;">Samuele Tognini</a><br />Indexmenu tag plugin.</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:changes" class="urlextern" title="http://www.dokuwiki.org/plugin:changes" rel="nofollow">Changes Plugin</a> <em>2009-11-10</em> by <a href="mailto:&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;">Andreas Gohr</a><br />List the most recent changes of the wiki</div></li><li><div class="li"><a href="http://lacroa.altervista.org/dokucount/" class="urlextern" title="http://lacroa.altervista.org/dokucount/" rel="nofollow">WikiStatistics</a> <em>2010-01-24</em> by <a href="mailto:&#x65;&#x6d;&#x61;&#x6e;&#x75;&#x65;&#x6c;&#x65;&#x34;&#x35;&#x40;&#x69;&#x6e;&#x74;&#x65;&#x72;&#x66;&#x72;&#x65;&#x65;&#x2e;&#x69;&#x74;" class="mail JSnocheck" title="&#x65;&#x6d;&#x61;&#x6e;&#x75;&#x65;&#x6c;&#x65;&#x34;&#x35;&#x40;&#x69;&#x6e;&#x74;&#x65;&#x72;&#x66;&#x72;&#x65;&#x65;&#x2e;&#x69;&#x74;">Emanuele, Thomas</a><br />Display statistics about the Wiki and their users</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:columns" class="urlextern" title="http://www.dokuwiki.org/plugin:columns" rel="nofollow">Columns Plugin</a> <em>2009-08-30</em> by <a href="mailto:&#x73;&#x70;&#x61;&#x6d;&#x62;&#x6f;&#x78;&#x30;&#x33;&#x40;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x72;&#x75;" class="mail JSnocheck" title="&#x73;&#x70;&#x61;&#x6d;&#x62;&#x6f;&#x78;&#x30;&#x33;&#x40;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x72;&#x75;">Mykola Ostrovskyy</a><br />Arrange information in multiple columns.</div></li><li><div class="li"><a href="http://wiki.splitbrain.org/plugin:cloud" class="urlextern" title="http://wiki.splitbrain.org/plugin:cloud" rel="nofollow">Cloud Plugin</a> <em>2009-09-12
1007 </em> by <a href="mailto:&#x64;&#x6f;&#x6b;&#x75;&#x77;&#x69;&#x6b;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;" class="mail JSnocheck" title="&#x64;&#x6f;&#x6b;&#x75;&#x77;&#x69;&#x6b;&#x69;&#x40;&#x63;&#x68;&#x69;&#x6d;&#x65;&#x72;&#x69;&#x63;&#x2e;&#x64;&#x65;">Gina Häußge, Michael Klier, Esther Brunner</a><br />displays the most used words in a word cloud</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:clock" class="urlextern" title="http://www.dokuwiki.org/plugin:clock" rel="nofollow">Clock Plugin</a> <em>2010-03-30</em> by <a href="mailto:&#x6c;&#x75;&#x69;&#x73;&#x2e;&#x6d;&#x61;&#x63;&#x68;&#x75;&#x63;&#x61;&#x20;&#x5b;&#x61;&#x74;&#x5d;&#x20;&#x67;&#x75;&#x6c;&#x69;&#x78;&#x2e;&#x63;&#x6c;" class="mail JSnocheck" title="&#x6c;&#x75;&#x69;&#x73;&#x2e;&#x6d;&#x61;&#x63;&#x68;&#x75;&#x63;&#x61;&#x20;&#x5b;&#x61;&#x74;&#x5d;&#x20;&#x67;&#x75;&#x6c;&#x69;&#x78;&#x2e;&#x63;&#x6c;">Luis Machuca Bezzaza</a><br />Displays a realtime clock</div></li><li><div class="li"><a href="http://www.dokuwiki.org/plugin:s5" class="urlextern" title="http://www.dokuwiki.org/plugin:s5" rel="nofollow">S5 Slideshow Plugin</a> <em>2009-01-07</em> by <a href="mailto:&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;" class="mail JSnocheck" title="&#x61;&#x6e;&#x64;&#x69;&#x40;&#x73;&#x70;&#x6c;&#x69;&#x74;&#x62;&#x72;&#x61;&#x69;&#x6e;&#x2e;&#x6f;&#x72;&#x67;">Andreas Gohr</a><br />Display a Wiki page as S5 slideshow presentation</div></li></ul><div class="plugin_uparrow">
1008 <a href="#" title="Back to top">
1009 <img src="lib/plugins/uparrow/images/tango-small.png" alt="Back to top"/>
1010 </a>
1011 </div>
1013 </div>
1014 <!-- SECTION "Syntax Plugins" [19928-] --><div class="footnotes">
1015 <div class="fn"><sup><a href="#fnt__1" id="fn__1" name="fn__1" class="fn_bot">1)</a></sup>
1016 This is a footnote</div>
1017 <div class="fn"><sup><a href="#fnt__2" id="fn__2" name="fn__2" class="fn_bot">2)</a></sup>
1018 when the aspect ratio of the given width and height doesn&#039;t match that of the image, it will be cropped to the new ratio before resizing</div>
1019 </div>