Verschillen
Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
Beide kanten vorige revisieVorige revisie | |||
wiki:syntax [2014/05/01 10:43] – NL ken | wiki:syntax [2024/01/14 10:49] (huidige) – Externe bewerking 127.0.0.1 | ||
---|---|---|---|
Regel 1: | Regel 1: | ||
- | ====== | + | ====== |
- | [[DokuWiki]] | + | [[doku>DokuWiki]] |
- | ===== Basis tekstopmaak | + | ===== Basic Text Formatting |
- | DokuWiki | + | DokuWiki |
- | DokuWiki | + | DokuWiki |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | U kunt ook < | + | You can use < |
- | | + | |
- | en < | + | |
- | U kunt ook iets als <del>verwijderd</ | + | You can mark something as <del>deleted</ |
- | | + | |
- | **Paragrafen** worden gemaakt door witregels (de return toets gebruiken). Als u een **nieuwe regel** wilt beginnen maar geen nieuwe paragraaf gebruikt u twee backslashes | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes |
- | Dit is een stukje tekst met wat afbrekingen.\\ | + | This is some text with some linebreaks\\ Note that the |
- | Let er op dat de backslashes | + | two backslashes |
+ | or followed by\\ a whitespace | ||
- | | + | |
- | | + | |
- | | + | |
- | spatie. | + | |
- | Gebruik geforceerde nieuwe regels alleen bij uitzondering. | + | You should use forced newlines only if really needed. |
===== Links ===== | ===== Links ===== | ||
- | DokuWiki | + | DokuWiki |
- | ==== Externe | + | ==== External |
- | Externe | + | External |
- | U kunt een link ook een naam geven: [[http:// | + | DokuWiki supports multiple ways of creating links. External links are recognized |
+ | automagically: | ||
+ | | ||
+ | addresses like this one: < | ||
- | Externe links worden ‘automagisch’ herkend: http:// | + | ==== Internal ==== |
- | of simpelweg www.google.com. U kunt een link ook een naam geven: | + | |
- | [[http:// | + | |
- | E-mailadressen zoals deze: < | + | |
- | ==== Interne ==== | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | Interne | + | Internal |
+ | a [[pagename]] | ||
- | U kunt een [[pagename]] gebruiken | + | [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, |
- | of een titel toevoegen | + | |
- | [[:nl: | + | You can use [[some:namespaces]] by using a colon in the pagename. |
- | Je kunt [[enige: | + | You can use [[some: |
- | Je kunt [[enige:namespaces]] | + | For details about namespaces see [[doku>namespaces]]. |
- | paginanaam. | + | |
- | Voor details over namespaces zie [[doku> | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# |
- | Links naar een specifieke alinea van de pagina is ook mogelijk. Voeg de alineanaam toe achter een hekje zoals bekent in HTML. Dit linkt naar [[nl: | + | This links to [[syntax#internal|this Section]]. |
- | + | ||
- | Dit linkt naar [[nl: | + | |
- | en dit kan korter als [[# | + | |
- | + | ||
- | Opmerkingen: | + | |
- | * Links naar een [[nl: | + | |
- | * DokuWiki gebruikt standaard geen [[wp> | + | |
- | * Als een alinea-titel wordt gewijzigd, wijzigt alinealink '' | + | |
+ | Notes: | ||
+ | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki | + | DokuWiki |
- | DokuWiki | + | DokuWiki |
- | | + | |
- | pagina over Wiki's: [[wp> | + | |
+ | ==== Windows Shares ==== | ||
- | ==== Windows shares | + | Windows shares |
- | Windows | + | |
- | Windows shares als [[\\server\share|deze]] worden ook herkend. | + | Notes: |
- | Opmerkingen: | + | |
- | + | * For Mozilla | |
- | | + | <?php |
- | * Voor Mozilla | + | /** |
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | $lang[' | ||
+ | </ | ||
- | LANG.nosmblinks | + | ==== Image Links ==== |
+ | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
- | ==== Afbeeldings links ==== | + | [[http:// |
- | U kunt ook een afbeelding gebruiken om naar een interne of externe pagina te linken door de syntax voor links en afbeeldingen (zie hieronder) te combineren. | + | [[http:// |
- | [[http://www.php.net|{{wiki: | + | Please note: The image formatting is the only formatting syntax accepted in link names. |
- | {{wiki: | + | The whole [[# |
- | Let op: de enige afbeeldingsnaam die in een link wordt geaccepteerd is de naam die DokuWiki aan de afbeelding heeft gegeven nadat deze op de server is geplaatst. | + | ===== Footnotes |
- | De gehele [[# | + | |
- | ===== Voetnoten | + | |
- | U kunt voetnoten((Dit is de tekst van een voetnoot)) maken door de tekst van de voetnoot tussen dubbele haakjes te plaatsen. | + | You can add footnotes |
- | | + | |
- | van de voetnoot tussen dubbele haakjes te plaatsen. | + | |
- | ===== In secties verdelen | + | ===== Sectioning |
- | U kunt uw materiaal tot in vijf verschillende niveaus verdelen om deze te structureren. Als u meer dan drie koppen gebruikt (Headlines 5, 4 en 3) wordt automatisch een inhoudsopgave aangemaakt | + | 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 |
==== Headline Level 3 ==== | ==== Headline Level 3 ==== | ||
Regel 129: | Regel 123: | ||
== Headline Level 5 == | == Headline Level 5 == | ||
- | ==== Plaatsen van lijnen ==== | + | By using four or more dashes, you can make a horizontal line: |
- | + | ||
- | Door tenminste vier koppeltekens ( - ) achter elkaar te plaatsen ontstaat automatisch een lijn. | + | |
---- | ---- | ||
- | < | + | ===== Media Files ===== |
- | ===== Afbeeldingen en andere bestanden ===== | + | You can include external and internal [[doku> |
- | U kunt interne en externe [[doku> | + | Real size: |
- | Optioneel kunt u ook de afbeelding vergroten of verkleinen. | + | |
- | Werkelijke maat: {{wiki: | + | Resize to given width: {{wiki: |
- | < | + | |
- | {{wiki: | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | </ | + | |
- | Een bepaalde breedte aangegeven: {{wiki: | + | Resized external image: {{https://secure.php.net/ |
- | < | + | |
- | {{wiki: | + | Real size: |
- | </ | + | |
- | Een bepaalde breedte en hoogte aangegeven: {{wiki: | + | |
- | < | + | |
- | {{wiki: | + | |
- | </ | + | |
- | Een externe afbeelding waarvan de afmetingen zijn veranderd: | + | By using left or right whitespaces you can choose the alignment. |
- | < | + | |
- | {{http://de3.php.net/ | + | |
- | </ | + | |
- | Een bepaalde breedte en hoogte aangegeven: {{wiki: | + | |
- | < | + | |
- | {{wiki: | + | |
- | </ | + | |
- | Een externe afbeelding waarvan de afmetingen zijn veranderd: | + | |
- | < | + | |
- | {{http:// | + | |
- | </ | + | |
- | Door links of rechts spaties toe te voegen kunt u links of rechts uitlijnen of centreren. | + | |
{{ wiki: | {{ wiki: | ||
Regel 178: | Regel 157: | ||
{{ wiki: | {{ wiki: | ||
- | U kunt ook een titel toevoegen die in de meeste | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | Als u de naam van een bestand opgeeft (intern of extern), dat geen afbeelding is ('' | + | For linking an image to another page see [[#Image Links]] above. |
- | Om een afbeelding te linken naar een andere pagina kijkt u op [[# | + | ==== Supported Media Formats ==== |
- | ===== Lijsten ===== | + | DokuWiki can embed the following media formats directly. |
- | Dokuwiki ondersteunt opsommingslijsten en genummerde lijsten. Begin een regel met twee spaties om een lijst te maken. Gebruik een * (asterisk) voor een opsomming of een - (koppelteken) voor een genummerde lijst. | + | | Image | '' |
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | * Dit is een opsomming | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | * Dit is de tweede regel | + | |
- | * U kunt verschillende niveaus gebruiken | + | |
- | * Nog een regel | + | |
- | | + | By adding ''? |
- | - Dit is de tweede regel | + | |
- | - U kunt verschillende niveaus gebruiken | + | {{wiki: |
- | - Nog een regel | + | |
+ | {{wiki: | ||
+ | |||
+ | ==== Fallback Formats ==== | ||
+ | |||
+ | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
+ | |||
+ | For example consider this embedded mp4 video: | ||
+ | |||
+ | | ||
+ | |||
+ | When you upload a '' | ||
+ | |||
+ | Additionally DokuWiki supports a " | ||
+ | |||
+ | ===== Lists ===== | ||
+ | |||
+ | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
+ | |||
+ | * 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 | ||
< | < | ||
- | * Dit is een opsomming | + | * This is a list |
- | * Dit is de tweede regel | + | * The second item |
- | * U kunt verschillende niveaus gebruiken | + | * You may have different levels |
- | * Nog een regel | + | * Another item |
- | - Dit is een opsomming | + | - The same list but ordered |
- | - Dit is de tweede regel | + | - Another item |
- | - U kunt verschillende niveaus gebruiken | + | - Just use indention for deeper levels |
- | - Nog een regel | + | - That's it |
</ | </ | ||
- | Kijk ook op [[doku> | ||
- | ===== Tekstomzettingen | + | Also take a look at the [[doku> |
- | DokuWiki can bepaalde voor-gedefineerde tekens of strings | + | |
+ | ===== Text Conversions | ||
+ | |||
+ | DokuWiki can convert certain pre-defined characters or strings | ||
+ | |||
+ | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
- | De [[smileys|tekst-naar-afbeelding conversie]] wordt vooral gedaan voor smileys. En de [[entities|tekst-naar-HTML conversie]] is vooral voor typografische vervangingen, | + | ==== Text to Image Conversions ==== |
- | ==== Tekst naar afbeeldingen conversie ==== | + | DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalents. Those [[doku> |
- | Dokuwiki converteert algemeen gebruikte | + | |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
Regel 238: | Regel 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Regel 244: | Regel 254: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== Tekst naar HTML conversie | + | ==== Text to HTML Conversions |
- | [[Dokuwiki]] converteert lettercodes naar hun overeenkomstige typografische afbeelding. Hier een paar voorbeelden. | + | Typography: |
- | -> <- -> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) |
"He thought ' | "He thought ' | ||
< | < | ||
- | -> <- -> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) |
"He thought ' | "He thought ' | ||
</ | </ | ||
- | N.B.: Deze voorziening kan uitgeschakeld worden in [[doku> | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
- | ===== Citeren ===== | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
- | Soms is het nodig om in een tekst aan te geven of iets een opmerking of een reactie is. U kunt dan de volgende syntax gebruiken: | + | ===== Quoting ===== |
- | Ik geloof dat we het moeten doen | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | + | ||
- | > Nee, ik vind van niet | + | |
- | + | ||
- | >> Nou, ik zeg van wel | + | |
- | + | ||
- | > Echt? | + | |
- | + | ||
- | >> Ja! | + | |
- | + | ||
- | >>> | + | |
- | Ik geloof dat we het moeten doen | + | < |
+ | I think we should do it | ||
- | > Nee, ik vind van niet | + | > No we shouldn' |
- | >> | + | >> |
- | > Echt? | + | > Really? |
- | >> | + | >> |
- | >>> | + | >>> |
+ | </ | ||
- | ===== Tabellen ===== | + | I think we should do it |
- | DokuWiki ondersteunt een eenvoudige syntax om tabellen te maken. | + | > No we shouldn' |
- | ^ Kopje 1 ^ Kopje 2 ^ Kopje 3 ^ | + | >> Well, I say we should |
- | | Regel 1 kol 1 | Regel 1 kol 2 | Regel 1 kol 3 | | + | |
- | | Regel 2 kol 1 | op twee kolommen (let op de twee stokken) || | + | |
- | | Regel 3 kol 1 | Regel 3 kol 2 | Regel 3 kol 3 | | + | |
- | Regels in tabellen moeten beginnen met een | (stok) voor gewone regels of een ^ voor een kopje boven de tabel. | + | > Really? |
- | ^ Kopje 1 ^ Kopje 2 ^ Kopje 3 ^ | + | >> Yes! |
- | | Regel 1 kol 1 | Regel 1 kol 2 | Regel 1 kol 3 | | + | |
- | | Regel 2 kol 1 | op twee kolommen (let op de twee stokken) || | + | |
- | | Regel 3 kol 1 | Regel 3 kol 2 | Regel 3 kol 3 | | + | |
- | Sluit een tabel altijd af met een omhaal (return). | + | >>> |
- | Om cellen horizontaal te verbinden maak dan de opvolgende cel helemaal leeg zoals in het voorbeeld hierboven. Let er op dat er wel altijd hetzelfde aantal stokken gebruikt wordt! | + | ===== Tables ===== |
- | Verticale kopjes zijn ook mogelijk. | + | DokuWiki supports a simple syntax to create tables. |
- | | ^ Kopje 1 | + | ^ Heading |
- | ^ Kopje 3 | + | | Row 1 Col 1 |
- | ^ Kopje 4 | + | | Row 2 Col 1 | some colspan (note the double pipe) || |
- | ^ Kopje 5 | + | | Row 3 Col 1 |
- | | + | Table rows have to start and end with a '' |
- | ^ Kopje 3 | Regel 1 kol 2 | Regel 1 kol 3 | | + | |
- | ^ Kopje 4 | Regel 2 kol 2 | Regel 2 kol 3 | | + | |
- | ^ Kopje 5 | Regel 3 kol 2 | Regel 3 kol 3 | | + | |
- | Je kan ook // | + | |
- | ^ Kop 1 ^ Kop 2 | + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
- | | Rij 1 Col 1 | deze cellen zijn verticaal samengevoegd | + | | Row 2 Col 1 | some colspan (note the double pipe) || |
- | | Rij 2 Col 1 | ::: | Rij 2 Col 3 | + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | |
- | | Rij 3 Col 1 | ::: | Rij 2 Col 3 | | + | |
- | Naast deze //rowspan// syntax mogen deze cellen niets anders dan spaties bevatten. | + | To connect cells horizontally, |
- | < | + | Vertical tableheaders are possible, too. |
- | ^ Kop 1 ^ Kop 2 ^ Kop 3 ^ | + | |
- | | Rij 1 Col 1 | deze cellen zijn verticaal samengevoegd | Rij 1 Col 3 | | + | |
- | | Rij 2 Col 1 | ::: | Rij 2 Col 3 | | + | |
- | | Rij 3 Col 1 | ::: | Rij 2 Col 3 | | + | |
- | </ | + | |
+ | | ^ 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 | | ||
- | De inhoud van een tabel kan gecentreerd, links of rechts uitgelijnd worden. | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
- | Plaats twee spaties achter de tekst om links uit te lijnen, begin de tekst met twee spaties om rechts uit te lijnen en plaats tenminste twee spaties voor én na een tekst om te centreren. | + | |
- | ^ Tabel met uitlijning | + | | ^ Heading 1 ^ Heading 2 ^ |
- | | rechts| | + | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | |
- | |links | + | ^ Heading 4 | no colspan this time | | |
+ | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
+ | |||
+ | You can have rowspans (vertically connected cells) by adding '' | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
+ | |||
+ | Apart from the rowspan syntax those cells should not contain anything else. | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
+ | |||
+ | 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. | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | right| | ||
+ | |left | ||
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | En zo ziet de code er uit: | + | This is how it looks in the source: |
- | ^ Tabel met uitlijning | + | ^ Table with alignment |
- | | rechts| | + | | right| |
- | |links | + | |left |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | Opmerking: Verticale uitlijning wordt niet ondersteund. | + | Note: Vertical alignment is not supported. |
- | + | ||
- | ===== Geen opmaak ===== | + | |
- | Als het nodig is dat de tekst precies zo wordt weergegeven als getypt(zonder opmaak), Sluit dit gedeelte dan in met '' | + | ===== No Formatting ===== |
- | < | + | If you need to display text exactly like it is typed (without any formatting), |
- | Dit is wat tekst die adressen bevat zoals dit: http:// | + | |
- | </nowiki> | + | |
- | Hetzelfde is waar voor %%//__deze__ tekst// met een smiley ;-)%%. | + | |
- | | + | < |
- | | + | This is some text which contains addresses like this: http:// |
- | | + | </ |
- | </ | + | The same is true for %%//__this__ text// with a smiley ;-)%%. |
- | | + | |
+ | < | ||
+ | This is some text which contains addresses like this: http:// | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | ===== Codeblokken | + | ===== Code Blocks |
- | U kunt codeblokken in uw documenten invoegen die niet door ' | + | You can include code blocks into your documents by either indenting them by at least two spaces |
- | | + | |
< | < | ||
- | De code is geformatteerd en alle spaties werden bewaard: zoals <-dit | + | This is preformatted code all spaces are preserved: like |
</ | </ | ||
< | < | ||
- | Deze is ongeveer hetzelfde en kunt u gebruiken door bijvoorbeeld een | + | This is pretty much the same, but you could use it to show that you quoted a file. |
- | citaat aan te geven. | + | |
</ | </ | ||
+ | Those blocks were created by this source: | ||
- | + | This is text is indented by two spaces. | |
- | Deze blokken zijn gemaakt met deze code: | + | |
- | Deze tekst begint met twee spaties | + | |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
- | citaat aan te geven. | + | |
</ | </ | ||
+ | ==== Syntax Highlighting ==== | ||
- | + | [[wiki:DokuWiki]] | |
- | ===== Syntax benadrukken ===== | + | |
- | + | ||
- | [[DokuWiki]] | + | |
<code java> | <code java> | ||
- | /** | + | /** |
* The HelloWorldApp class implements an application that | * The HelloWorldApp class implements an application that | ||
* simply displays "Hello World!" | * simply displays "Hello World!" | ||
Regel 414: | Regel 418: | ||
</ | </ | ||
- | Momenteel worden de syntaxen van de volgende programmeertalen herkend: //4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
+ | |||
+ | There are additional [[doku> | ||
- | ==== Downloadbare Codeblokken | + | ==== Downloadable Code Blocks |
- | Wanneer je '' | + | When you use the '' |
< | < | ||
Regel 431: | Regel 437: | ||
If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
- | |||
- | |||
- | ===== Ingevoegde HTML en PHP code===== | ||
- | Je kunt ruwe HTML of PHP code in je documenten invoegen door het gebruiken van '' | ||
- | |||
- | HTML voorbeeld: | ||
- | |||
- | < | ||
- | < | ||
- | Dit is wat <span style=" | ||
- | </ | ||
- | < | ||
- | <p style=" | ||
- | </ | ||
- | </ | ||
- | |||
- | < | ||
- | Dit is wat <span style=" | ||
- | </ | ||
- | < | ||
- | <p style=" | ||
- | </ | ||
- | |||
- | PHP voorbeeld: | ||
- | |||
- | < | ||
- | <php> | ||
- | echo 'Een logo gegenereerd door PHP:'; | ||
- | echo '< | ||
- | echo ' | ||
- | </ | ||
- | <PHP> | ||
- | echo '< | ||
- | echo '< | ||
- | echo '</ | ||
- | </ | ||
- | </ | ||
- | |||
- | <php> | ||
- | echo 'Een logo gegenereerd door PHP:'; | ||
- | echo '< | ||
- | echo ' | ||
- | </ | ||
- | <PHP> | ||
- | echo '< | ||
- | echo '< | ||
- | echo '</ | ||
- | </ | ||
- | |||
- | **Let op deze opmerking**: | ||
- | |||
===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | DokuWiki kan data integreren van externe XML feeds. Voor het weergeven van XML feeds wordt [[http://simplepie.org/|SimplePie]] gebruikt. Alle formaten die door SimplePie worden begrepen kunnen ook worden gebruikt in DokuWiki. De weergave kan worden beïnvloed met de volgende parameters, gescheiden door spaties: | + | ^ Parameter |
+ | | any number | will be used as maximum number items to show, defaults to 8 | | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | show item dates | | ||
+ | | description| show the item description. All HTML tags will be stripped | | ||
+ | | nosort | ||
+ | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
- | ^ Parameter | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: |
- | | een nummer | wordt gebruikt als maximum aantal weer te geven items, standaard op 8 | | + | |
- | | reverse | + | |
- | | author | + | |
- | | date | geeft itemdatums | | + | |
- | | description| geeft itembeschrijving. Als [[doku> | + | |
- | | //n//[dhm] | vernieuwingsinterval, | + | |
- | Het vernieuwingsinterval is standaard 4 uren. Een waarde onder de 10 minuten wordt behandeld als 10 minuten. Dokuwiki zal over het algemeen proberen om een gecachte versie van de pagina te bewaren, uiteraard is dit verkeerd als een pagina dynamische externe inhoud bevat. De parameter | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
- | + | **Example:** | |
- | **Voorbeeld:** | + | |
{{rss> | {{rss> | ||
Regel 507: | Regel 463: | ||
===== Control Macros ===== | ===== Control Macros ===== | ||
- | Sommige | + | Some syntax |
- | ^ Macro | + | ^ Macro |
- | | %%~~NOTOC~~%% | + | | %%~~NOTOC~~%% |
- | | %%~~NOCACHE~~%% | DokuWiki | + | | %%~~NOCACHE~~%% | DokuWiki |
===== Syntax Plugins ===== | ===== Syntax Plugins ===== | ||
- | Dokuwiki's syntax | + | DokuWiki's syntax |
~~INFO: | ~~INFO: | ||
+ |