wiki:syntax
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedente | |||
wiki:syntax [2021-10-26 18:13] – [Immagini e altri file] admin | wiki:syntax [2024-03-29 12:50] (versione attuale) – modifica esterna 127.0.0.1 | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | ====== | + | ====== |
- | [[DokuWiki]] supporta del semplice linguaggio di formattazione, | + | |
- | ===== Basi per la Formattazione del testo ===== | + | |
- | DokuWiki | + | [[doku>DokuWiki]] 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 "Edit this page". If you want to try something, just use the [[playground: |
- | DokuWiki supporta testi in **grassetto**, | + | ===== Basic Text Formatting ===== |
- | Naturalmente tutti questi si possono **__//'' | + | |
- | Si possono usare anche < | + | DokuWiki supports **bold**, |
- | | + | |
+ | Of course you can **__//'' | ||
- | Inoltre si può contrassegnare qualcosa come <del>cancellato</del>. | + | You can use <sub>subscript</sub> and < |
- | | + | |
- | I **paragrafi** sono creati da righe vuote. Se si vuole **forzare un ritorno a capo** senza un paragrafo, si possono usare due barre retroverse seguite da uno spazio bianco o dalla fine della riga. | + | You can mark something as < |
- | Questo è del testo con qualche interruzione di linea\\ Notare che le | + | You can mark something as <del> |
- | due barre retroverse sono riconosciute soltanto alla fine di una linea\\ | + | |
- | oppure quando seguite da\\ uno spazio bianco \\ecco cosa succede senza di questo. | + | |
- | Questo è del testo con qualche interruzione di linea\\ Notare che le | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
- | due barre retroverse sono riconosciute soltanto alla fine di una riga\\ | + | |
- | oppure quando seguite da\\ uno spazio bianco \\ecco cosa succede senza di questo. | + | |
- | I ritorni | + | This is some text with some linebreaks\\ Note that the |
- | ===== Collegamenti ===== | + | two backslashes are only recognized at the end of a line\\ |
+ | or followed by\\ a whitespace \\this happens without it. | ||
- | DokuWiki supporta molteplici modi per la creazione di collegamenti. | + | This is some text with some linebreaks\\ Note that the |
- | ==== Esterni ==== | + | two backslashes are only recognized at the end of a line\\ |
+ | or followed by\\ a whitespace \\this happens without it. | ||
- | I collegamenti esterni sono riconosciuti automaticamente: | + | You should use forced newlines only if really needed. |
- | DokuWiki supporta molteplici modi per la creazione di collegamenti. I collegamenti esterni sono riconosciuti | + | ===== Links ===== |
- | automaticamente: | + | |
- | anche i testi dei collegamenti: | + | |
- | ==== Interni | + | |
- | I collegamenti interni sono creati usando le parentesi quadre. Si può immettere un [[it: | + | DokuWiki supports multiple ways of creating links. |
- | I collegamenti interni sono creati usando le parentesi quadre. Si può immettere un [[it: | + | ==== External ==== |
- | o, in alternativa, | + | |
- | [[it:pagename|I nomi delle pagine wiki]] sono convertiti automaticamente in minuscolo, i caratteri speciali non sono consentiti. | + | External links are recognized automagically: |
- | Si può specificare la [[it:namespaces|categoria]] usando i due punti (:) nel nome della pagina. | + | DokuWiki supports multiple ways of creating links. External links are recognized |
+ | automagically: | ||
+ | link text as well: [[http:// | ||
+ | addresses like this one: < | ||
- | Si può specificare la [[it: | + | ==== Internal ==== |
- | Per i dettagli si veda [[it: | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | È pure possibile realizzare collegamenti a una specifica sezione. È sufficiente aggiungere il nome della sezione prima del carattere //diesis// (#), come è noto dall' | + | Internal links are created by using square brackets. You can either just give |
+ | | ||
- | Questo collegamento punta a [[syntax# | + | [[doku> |
- | Note: | + | You can use [[some:namespaces]] by using a colon in the pagename. |
- | | + | |
- | * DokuWiki non usa la sintassi [[wp> | + | |
- | * Quando l' | + | |
- | ==== Interwiki ==== | + | For details about namespaces see [[doku> |
- | Dokuwiki supporta i collegamenti [[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# |
- | | + | |
- | Per esempio, questo collegamento punta alla pagina di Wikipedia riguardante i Wiki: [[wp> | + | |
+ | Notes: | ||
- | ==== Partizioni Windows ==== | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
- | Le partizioni Windows come [[\\server\share|questa]] sono pure riconosciute. Notare che esse hanno un senso soltanto in un gruppo omogeneo di utenti come in una [[wp> | + | ==== Interwiki ==== |
- | Le partizioni Windows come [[\\server\share|questa]] sono pure riconosciute. | + | DokuWiki supports |
- | Note: | + | DokuWiki supports [[doku> |
+ | For example this is a link to Wikipedia' | ||
- | * Per ragioni di sicurezza la navigazione diretta di partizioni Windows funziona solo in Microsoft Internet Explorer, in modo predefinito (e soltanto nella "zona locale" | + | ==== Windows Shares |
- | * Per Mozilla e Firefox questa può essere abilitata mediante l' | + | |
- | * Vedere [[bug> | + | |
- | ==== Collegamenti a immagini | + | |
- | Si può anche usare un' | + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> |
- | [[http:// | + | |
- | [[http:// | + | Notes: |
- | Notare: la formattazione dell'immagine è l'unica sintassi di formattazione accettata nei nomi dei collegamenti. | + | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" |
+ | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | ||
+ | <?php | ||
+ | /** | ||
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | $lang[' | ||
+ | </ | ||
- | L' | + | ==== Image Links ==== |
- | ----- | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
+ | [[http:// | ||
- | ===== Note a piè di pagina ===== | + | [[http:// |
- | Si possono aggiungere | + | Please |
- | Si possono aggiungere note a piè di pagina | + | The whole [[# |
- | ===== Suddivisione in sezioni ===== | + | |
- | Si possono usare fino a cinque differenti livelli di intestazione per strutturare il contenuto. Se si hanno più di tre intestazioni, | + | ===== Footnotes ===== |
+ | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | ==== Livello di intestazione 3 ==== | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
- | === Livello di intestazione 4 === | + | |
- | == Livello di intestazione 5 == | + | |
- | | + | ===== Sectioning ===== |
- | === Livello di intestazione | + | |
- | == Livello di intestazione | + | 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 ''< |
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | |||
+ | By using four or more dashes, you can make a horizontal line: | ||
- | Usando quattro o più trattini, si può fare una linea orizzontale: | ||
---- | ---- | ||
- | ===== Immagini e altri file ===== | ||
- | Si possono includere [[doku> | + | ===== Media Files ===== |
- | Dimensione reale: | + | You can include external and internal [[doku> |
- | Ridimensionata a una larghezza data: {{wiki: | + | Real size: {{wiki: |
- | Ridimensionata a larghezza e altezza date((quando il rapporto tra la larghezza e l' | + | Resize to given width: {{wiki: |
- | Immagine esterna ridimensionata: | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | Dimensione reale: | + | Resized external image: {{https:// |
- | Ridimensionata a una larghezza data: {{wiki: | + | |
- | Ridimensionata a larghezza e altezza date: {{wiki: | + | |
- | Immagine esterna ridimensionata: | + | |
+ | Real size: {{wiki: | ||
+ | Resize to given width: | ||
+ | Resize to given width and height: {{wiki: | ||
+ | Resized external image: {{https:// | ||
- | Usando spazi bianchi a sinistra o a destra si può scegliere l' | + | |
+ | By using left or right whitespaces you can choose the alignment. | ||
{{ wiki: | {{ wiki: | ||
Linea 141: | Linea 152: | ||
{{ wiki: | {{ wiki: | ||
- | |||
{{ wiki: | {{ wiki: | ||
Linea 147: | Linea 157: | ||
{{ wiki: | {{ wiki: | ||
- | Naturalmente, si può aggiungere anche un titolo | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | Se si specifica il nome di un file (esterno o interno) che non è un' | + | For linking an image to another page see [[#Image Links]] above. |
- | Per collegare un' | + | ==== Supported Media Formats ==== |
+ | DokuWiki can embed the following media formats directly. | ||
- | ===== Liste ===== | + | | Image | '' |
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | Dokuwiki supporta liste ordinate e non-ordinate. Per creare un elemento di una lista, indentare il testo con due spazi e usare un asterisco ('' | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | * Questa è una lista | + | By adding ''? |
- | * Il secondo elemento | + | |
- | * Si possono avere livelli differenti | + | |
- | * Un altro elemento | + | |
- | - La stessa lista ma ordinata | + | |
- | - Un altro elemento | + | |
- | - Usare semplicemente l' | + | {{wiki: |
- | - È tutto | + | |
+ | ==== 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 | ||
+ | | ||
+ | * Another item | ||
+ | |||
+ | | ||
+ | - Another item | ||
+ | - Just use indention for deeper levels | ||
+ | - That's it | ||
< | < | ||
- | * Questa è una lista | + | * This is a list |
- | * Il secondo elemento | + | * The second item |
- | * Si possono avere livelli differenti | + | * You may have different levels |
- | * Un altro elemento | + | * Another item |
- | - La stessa lista ma ordinata | + | - The same list but ordered |
- | - Un altro elemento | + | - Another item |
- | - Usare semplicemente l' | + | - Just use indention for deeper levels |
- | - È tutto | + | - That's it |
</ | </ | ||
- | ===== Conversioni di testo ===== | ||
- | DokuWiki | + | Also take a look at the [[doku> |
+ | |||
+ | ===== Text Conversions ===== | ||
+ | |||
+ | DokuWiki | ||
+ | |||
+ | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
- | La conversione di testo in immagini è fatta principalmente per le faccine. E la conversione del testo in formato HTML è usata per sostituzione tipografica ma può essere configurata per usare anche altro HTML. | + | ==== Text to Image Conversions |
- | ==== Conversioni di testo in immagini | + | |
- | DokuWiki | + | DokuWiki |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
Linea 207: | Linea 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Linea 212: | Linea 253: | ||
* FIXME %% FIXME %% | * FIXME %% FIXME %% | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== Conversioni di testo in HTML ==== | ||
- | [[DokuWiki]] può convertire semplici caratteri di testo nelle rispettive entità tipograficamente corrette. Ecco un esempio dei caratteri riconosciuti. | + | ==== Text to HTML Conversions ==== |
- | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
+ | |||
+ | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
"He thought ' | "He thought ' | ||
< | < | ||
- | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) |
"He thought ' | "He thought ' | ||
</ | </ | ||
- | La stesso può essere fatto per produrre ogni tipo di codice | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
- | Esistono tre eccezioni che non provengono dal pattern file: moltiplicazione di entità | + | There are three exceptions which do not come from that pattern file: multiplication entity |
- | ===== Citazioni ===== | + | |
- | Talvolta si vuole contrasegnare del testo per mostrare che esso è una risposta o un commento. Si può usare la sintassi seguente: | + | ===== Quoting ===== |
- | Penso che dovremmo farlo | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | + | ||
- | > No, non dovremmo | + | |
- | + | ||
- | >> Be', dico che dovremmo | + | |
- | + | ||
- | > Davvero? | + | |
- | + | ||
- | >> Sì! | + | |
- | + | ||
- | >>> | + | |
- | Penso che dovremmo farlo | + | < |
+ | I think we should do it | ||
- | > No, non dovremmo | + | > No we shouldn' |
- | >> | + | >> |
- | > Davvero? | + | > Really? |
- | >> | + | >> |
- | >>> | + | >>> |
- | ===== Tabelle ===== | + | </ |
- | DokuWiki supporta una semplice sintasi per la creazione di tabelle. | + | I think we should do it |
- | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ | + | > No we shouldn' |
- | | Riga 1 Col 1 | Riga 1 Col 2 | Riga 1 Col 3 | | + | |
- | | Riga 2 Col 1 | Celle unite (notare il doppio pipe) || | + | |
- | | Riga 3 Col 1 | Riga 3 Col 2 | Riga 3 Col 3 | | + | |
- | Le righe delle tabelle devono iniziare e terminare con un carattere '' | + | >> Well, I say we should |
- | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ | + | > Really? |
- | | Riga 1 Col 1 | Riga 1 Col 2 | Riga 1 Col 3 | | + | |
- | | Riga 2 Col 1 | Celle unite (notare il doppio pipe) || | + | |
- | | Riga 3 Col 1 | Riga 3 Col 2 | Riga 3 Col 3 | | + | |
- | Per unire le celle orizzontalmente, | + | >> Yes! |
- | È pure possibile realizzare intestazioni verticali di tabella. | + | >>> |
- | | ^ Intestazione 1 ^ Intestazione 2 ^ | + | ===== Tables ===== |
- | ^ Intestazione 3 | Riga 1 Col 2 | Riga 1 Col 3 | | + | |
- | ^ Intestazione 4 | niente fusione questa volta | | | + | |
- | ^ Intestazione 5 | Riga 2 Col 2 | Riga 2 Col 3 | | + | |
- | Come si può notare, è il separatore di cella prima di una cella che decide il tipo di formattazione: | + | DokuWiki supports a simple syntax to create tables. |
- | | ^ Intestazione | + | ^ Heading |
- | | + | | Row 1 Col 1 |
- | ^ Intestazione 4 | + | | Row 2 Col 1 | some colspan (note the double pipe) || |
- | ^ Intestazione 5 | + | | Row 3 Col 1 |
- | Si possono avere celle unite verticalmente aggiungendo | + | Table rows have to start and end with a '' |
- | ^Intestazione | + | |
- | | Riga 1 Col 1 | questa cella è unita verticalmente | + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
- | | Riga 2 Col 1 | ::: | + | | Row 2 Col 1 | some colspan (note the double pipe) || |
- | | Riga 3 Col 1 | + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | |
- | A parte la sintassi di unione quelle celle non devono contenere niente altro. | + | To connect cells horizontally, |
- | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ | + | Vertical tableheaders are possible, too. |
- | | Riga 1 Col 1 | questa cella è unita verticalmente | Riga 1 Col 3 | | + | |
- | | Riga 2 Col 1 | ::: | Riga 2 Col 3 | | + | |
- | | Riga 3 Col 1 | ::: | Riga 3 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 | | ||
- | Si può allineare anche il contenuto di una tabella. È sufficiente aggiungere almeno due spazi bianchi al lato opposto del testo: aggiungere due spazi a sinistra per allineare a destra, due spazi a destra per allineare a sinistra e almeno due spazi ad entrambi i lati per il testo centrato. | + | As you can see, it's the cell separator before |
- | ^ Tabella con allineamento | + | | |
- | | | + | |
- | |sinistra | + | ^ Heading 4 |
- | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | + | ^ Heading 5 |
- | Ecco come appare nel sorgente: | + | 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. |
- | | | + | |
- | |sinistra | + | |
+ | | 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 | ||
+ | | | ||
+ | |left | | ||
+ | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
+ | |||
+ | This is how it looks in the source: | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | right| | ||
+ | |left | ||
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | Nota: l' | + | Note: Vertical alignment is not supported. |
- | ===== Nessuna formattazione ===== | + | |
- | Se avete bisogno di visualizzare il testo esattamente come è scritto | + | ===== No Formatting ===== |
+ | |||
+ | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' | ||
< | < | ||
- | Questo è del testo che contiene indirizzi come questo | + | This is some text which contains addresses like this: http:// |
</ | </ | ||
- | Lo stesso è vero per %%//__questo__ testo// con una faccina | + | The same is true for %%//__this__ text// with a smiley |
< | < | ||
- | | + | |
</ | </ | ||
- | | + | |
- | ===== Blocchi di codice ===== | + | |
- | È possibile includere blocchi di codice nei documenti sia indentandoli con almeno due spazi (come negli esempi precedenti), | + | ===== Code Blocks ===== |
- | Questo testo è intentrato con due spazi. | + | 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 '' |
- | | + | |
- | < | + | This is text is indented by two spaces. |
- | </ | + | |
- | <file>Questo è praticamente la stessa cosa, ma si potrebbe usare per mostrare che è stato citato un file. | + | <code> |
- | </file> | + | This is preformatted code all spaces are preserved: like <-this |
+ | </code> | ||
+ | < | ||
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | </ | ||
- | Questi blocchi sono stati creati da questi sorgenti: | + | Those blocks were created by this source: |
- | Questo testo è indentrato con due spazi. | + | This is text is indented by two spaces. |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
- | ==== Evidenziazione di sintassi ==== | ||
- | [[wiki: | + | ==== Syntax Highlighting ==== |
+ | |||
+ | [[wiki: | ||
<code java> | <code java> | ||
/** | /** | ||
- | | + | |
- | | + | |
*/ | */ | ||
class HelloWorldApp { | class HelloWorldApp { | ||
public static void main(String[] args) { | public static void main(String[] args) { | ||
- | System.out.println(" | + | System.out.println(" |
} | } | ||
} | } | ||
</ | </ | ||
- | Le seguenti stringhe di linguaggio sono correntemente riconosciuti: //4cs, abap, actionscript-french, actionscript, | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac |
- | ==== Blocchi di codice scaricabili ==== | + | |
- | Quando si usa la sintassi | + | There are additional [[doku> |
+ | |||
+ | ==== Downloadable Code Blocks ==== | ||
+ | |||
+ | When you use the '' | ||
< | < | ||
Linea 386: | Linea 436: | ||
</ | </ | ||
- | Se non si vuole un file scaricabile senza nessuna evidenziazione, specificate un trattino | + | If you don't want any highlighting but want a downloadable |
- | ===== Incorporare codice HTML e PHP ===== | + | |
- | Potete incorporare righe di codice HTML o PHP nei vostri documenti usando i marcatori '' | + | ===== RSS/ATOM Feed Aggregation ===== |
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | Esempio | + | ^ 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). | | ||
- | < | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: |
- | < | + | |
- | Questo è <span style=" | + | |
- | </ | + | |
- | < | + | |
- | <p style=" | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | Questo è <span style=" | + | |
- | </ | + | |
- | < | + | |
- | <p style=" | + | |
- | </ | + | |
- | + | ||
- | Esempio PHP: | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | echo 'Un logo generato da PHP:'; | + | |
- | echo '< | + | |
- | echo ' | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</tr></table>'; | + | |
- | </ | + | |
- | </ | + | |
- | < | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
- | echo 'Un logo generato da PHP:'; | + | |
- | echo '< | + | |
- | echo ' | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</ | + | |
- | </ | + | |
- | **Notate bene**: l' | + | **Example:** |
- | ===== Aggregazione di sorgenti RSS/ATOM ===== | + | |
- | [[DokuWiki]] può integrare dati da sorgenti XML esterne. Per l' | + | |
- | ^ Parametro | + | {{rss>http://slashdot.org/index.rss 5 author date 1h }} |
- | | any number | + | |
- | | reverse | + | |
- | | author | + | |
- | | date | visualizza le date degli elementi | | + | |
- | | description | + | |
- | | //n// | + | |
- | Il periodo di aggiornamento predefinito è di 4 ore. Ogni valore al di sotto di 10 minuti sarà considerato come 10 minuti. Generalmente [[DokuWiki]] cercherà di fornire una versione della pagina memorizzata localmente; ciò è ovviamente inappropriato quando la pagina contiene del contenuto esterno dinamico. Il parametro dice a [[DokuWiki]] di ricaricare nuovamente la pagina se è trascorso un tempo superiore a //periodo di aggiornamento/ | + | {{rss> |
- | **Esempio: | ||
- | {{rss> | + | ===== Control Macros ===== |
- | {{rss> | + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: |
- | ===== Macro di Controllo ===== | + | |
- | Alcune sintassi influenzano come DokuWiki | + | ^ Macro ^ Description | |
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki | ||
- | ^ Macro ^ Descrizione | | + | ===== Syntax Plugins |
- | | %%~~NOTOC~~%% | + | |
- | | %%~~NOCACHE~~%% | DokuWiki si serve automaticamente della memoria cache. Talvolta questo comportamento potrebbe non essere voluto (ad esempio quando è usata la sintassi %%< | + | |
- | ===== Moduli aggiuntivi per la sintassi | + | |
- | La sintassi di DokuWiki | + | DokuWiki's syntax can be extended by [[doku> |
~~INFO: | ~~INFO: | ||
wiki/syntax.1635264829.txt.gz · Ultima modifica: 2021-10-26 18:13 da admin