//Thanks to Roman Porotnikov\n//http://www.jroller.com/page/deep/20030701\n\n//NB this systemConfig needs to be evaluated before other ones \n//that use the Aspects so the name starts with "."\n//since they're loaded alphabetically\n//should really put it into the main source code, but\n//wanted to keep everything upgrade-proof\n\nAspects = new Object();\n\nAspects.addBefore = function(obj, fname, before) {\n var oldFunc = obj[fname];\n obj[fname] = function() {\n return oldFunc.apply(this, before(arguments, oldFunc, this));\n };\n};\n\nAspects.addAfter = function(obj, fname, after) {\n var oldFunc = obj[fname];\n obj[fname] = function() {\n return after(oldFunc.apply(this, arguments), arguments, oldFunc, this);\n };\n};\n\nAspects.addAround = function(obj, fname, around) {\n var oldFunc = obj[fname];\n obj[fname] = function() {\n return around(arguments, oldFunc, this);\n };\n};
TiddlyWiki può anche generare un ArchivioRss. Abilita il campo corrispondente delle Opzioni della barra laterale, per generare automaticamente un file RSS 2.0, che avrà lo stesso nome del tuo Tiddly ma con l'estensione .xml e che riporterà le tue ultime modifiche. Anche questa caratteristica di TiddlyWiki è sperimentale (come le altre) è sarà un pò ballerina fino a quando non avremo lisciato tutti i bug..\n\nNota che devi editare il tiddler SiteUrl per inserirvi il percorso assoluto del tuo file, senza spazi iniziali od interruzioni di linea prima e dopo l'indirizzo.
Edita 'ArchivioRss'.
Una delle caratteristiche più particolari di TiddlyWiki è che è interamente autocontenuto in un singolo file HTML. Il file riporta i contenuti ipertestuali, le parti in ~JavaScript, i Fogli Stile a Cascata ed il codice HTML necessari per visionare ed editare il file. In questo modo diventa semplicissimo riportare il file in un sito web, o distribuirlo via e-mail. Tutti quelli che disporranno di un browser abbastanza recente saranno in grado di leggerlo ed editarlo a loro volta. \n
TiddlyWiki\sbackup
Questo è il tutorial di TiddlyWiki, un programma straordinario creato da Jeremy Ruston.\nHome site di TiddlyWiki : http://www.tiddlywiki.com \n\nTiddlyWiki è uno dei più efficaci strumenti di comunicazione che io abbia mai visto ed è anche divertente da usare e da editare\n\nNota che questo sito si presenta al meglio con [[Firefox|http://www.mozilla.org/products/firefox/]]. Funziona altrettanto bene con IE e Safari, mentre potrebbe non funzionare con Opera.\n[[Firefox|http://www.mozilla.org/products/firefox/]] è gratis e vale la pena scaricarlo se non lo hai ancora fatto.\n\nContinua e clicca su TiddlyWikiTutorial.
/***\n|Plugin Name|CSS Monospacing Wikifier|\n|Authors|Clint and Paul|\n|Version|1.0|\n|Date|November 1, 2005|\n|Requires| Tiddlywiki 1.2.36 and 1.2.37 only |\n!Description\nCurrently the block javascript formatting don't work when using CSS:\n{{{\n //{{{\n //}}}\n}}}\n\nThis plugin enables using:\n{{{\n /*{{{*/\n /*}}}*/\n}}}\nto render a monospaced/code format that won't conflict with CSS.\n\n!Code\n***/\n//{{{\nfor( var i=0; i<config.formatters.length; i++ )\n if ( config.formatters[i].name=='monospacedByLineForPlugin') break ;\n\nif ( i >= config.formatters.length ) {\n var e = "Can't find formatter for monospacedByLineForPlugin!" ;\n displayMessage( e ) ;\n throw( e ) ;\n}\n\nconfig.formatters.splice( i, 0, {\n name: "monospacedByLineForCSS",\n match: "/\s\s*[\s\s{]{3}\s\s*/",\n lookahead: "/\s\s*[\s\s{]{3}\s\s*/\s\sn*((?:^[^\s\sn]*\s\sn)+?)(\s\sn*/\s\s*[\s\s}]{3}\s\s*/\s\sn)", \n handler: config.formatterHelpers.monospacedByLineHelper});\n//}}}
This collection can be found more complete and with more detail at [[HtmlDog|http://www.htmldog.com/]]. [[HtmlDog|http://www.htmldog.com/]] also has good tutorials and information regarding CSS and HTML.\n\n<<listTags "css reference">>
!Rules\n*''color''- use color name, hex (#ffffff), or rgb (rgb(255,0,0)) specifies foreground (text and border) color of a box\n*''background-color''- color or 'transparent'\n*''background''- combines some or all of the values for background-color, background-image, background-repeat, background-attachment and background-position.\n*''background-image''- use 'none' or a URI\n*''background-repeat''- use 'repeat', 'repeat-x', 'repeat-y', 'or 'no-repeat'\n*''background-position''- 'top', 'right', 'bottom', 'left', 'center', or a measurement(em,px,%,ex)\n*''background-attachment''- use 'scroll' or 'fixed'\n\n!Examples\n*''color'': #000;\n*''background-color'': transparent;\n*''background'': red url(images/poobah.gif) no-repeat top left;\n*''background-image'': url(someimage.jpg);\n*''background-repeat'': no-repeat;\n*''background-position'': top right;\n*''background-attachment'': fixed;\n\n
!Rules\n*''padding''- measurement(em,px,%,ex)\n*''border''- combination of border-width, border-style, and border-color\n*''border-style''- use 'none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', or 'outset'\n*''border-color''- color or 'transparent'\n*''border-width''- measurement(em,px,%,ex) or 'thin', 'medium', or 'thick'\n*''outline''- combines outline-color, outline-style and outline-width (not supported by IE or Firefox)\n*''outline-style''- same as border-style (not supported by IE or Firefox)\n*''outline-color''- color or 'inverted'\n*''outline-width''- same as border-width (not supported by IE or Firefox)\n*''margin''- measurement(em,px,%,ex) or 'auto'\n*''width''- measurement(em,px,%,ex) or 'auto'\n*''height''- measurement(em,px,%,ex) or 'auto'\n*''min-width''- measurement(em,px,%,ex) or 'auto' (not supported in IE)\n*''max-width''- measurement(em,px,%,ex) or 'auto' (not supported in IE)\n*''min-height''- measurement(em,px,%,ex) or 'auto' (not supported in IE, but height acts as the same)\n*''max-height''- measurement(em,px,%,ex) or 'auto' (not supported in IE)\n\n*''padding, border, border-style, border-color, border-width, and margin''- can be selected by using top, right, bottom, or left rules (eg border-top) but were not included for simplicity and brevity.\n\n!Examples\n*''padding'': 1em;\n*''border'': 1px solid black;\n*''border-style'': dotted;\n*''border-color'': #e6e6e6;\n*''border-width'': 1px;\n*''outline'': 1px solid black;\n*''outline-style'': dashed;\n*''outline-color'': inverted;\n*''outline-width'': .25em;\n*''margin'': 2em;\n*''width'': 400px;\n*''height'': 100px;\n*''min-width'': 25em;\n*''max-width'': 75em;\n*''min-height'': 30em;\n*''max-height'': 200px;\n
!Rules\n*''list-style''- combination of list-style-type, list-style-position and list-style-image\n*''list-style-type''- use 'none', 'disc', 'circle', 'square', 'decimal', 'decimal-leading-zero', 'lower-roman', 'upper-roman', 'lower-greek', 'lower-latin', 'upper-latin', 'armenian', and 'georgian'\n*''list-style-image''- use 'none' or a URI\n*''list-style-position''- use 'inside' or 'outside' (places it in or out of the list-item box, outside is the default)\n\n*The following list-styles aren't supported by IE: 'decimal-leading-zero', 'lower-greek', 'lower-latin', and 'upper-latin' \n\n!Examples\n*''list-style'': square inside;\n*''list-style-type'': square;\n*''list-style-image'': url(images/myface.jpg); \n*''list-style-position'': inside;\n
!Rules\n*''content''- URI, string, normal, open-quote, close-quote, no-open-quote, no-close-quote, attr([attribute name]), used with :before or :after psuedo-selector (No IE support)\n*''cursor''- use 'auto', 'crosshair', 'default', 'help', 'move', 'n-resize', 'ne-resize', 'e-resize', 'se-resize', 's-resize', 'sw-resize', 'w-resize', 'nw-resize', 'text', 'pointer', 'progress', 'wait', or a URI\n*''direction''- use 'ltr' (left to right) or 'rtl'(right to left)\n*''unicode-bidi''- use 'normal', 'embed', or 'bidi-override' \n\n!Examples\n*''content'': content: ">>";\n*''cursor'': help;\n*''direction'': rtl;\n*''unicode-bidi'': embed;\n
!Rules\n*''page-break-before''- use 'auto', 'always', 'avoid', 'left', or 'right'\n*''page-break-after''- use 'auto', 'always', 'avoid', 'left', or 'right'\n*''page-break-inside''- use 'auto' or 'avoid'\n*''orphans''- use a number (default is 2)\n*''widows''- use a number (default is 2)\n\n!Examples\n*''page-break-before'': always;\n*''page-break-after'': avoid;\n*''page-break-inside'': avoid;\n*''orphans'': 3;\n*''widows'': 4;
!Rules\n*''position''- use 'static', 'relative', 'absolute', or 'fixed' (fixed is not supported by IE)\n*''top''- measurement(em,px,%,ex) or 'auto'\n*''right''- measurement(em,px,%,ex) or 'auto'\n*''bottom''- measurement(em,px,%,ex) or 'auto'\n*''left''- measurement(em,px,%,ex) or 'auto'\n*''clip''- use 'auto' or 'rect([top] [right] [bottom] [left])', requires position:absolute\n*''overflow''- use 'visible', 'hidden', 'scroll', or 'auto'\n*''z-index''use 'auto' or a number(higher number puts it on topo of others), requires position:absolute\n*''float''- use 'left', 'right', or 'none'\n*''clear''- use 'left', 'right', 'none', or 'both'\n*''display''- use 'none', 'inline', 'block', 'inline-block', 'list-item', 'table', 'inline-table', 'table-row-group', 'table-header-group', 'table-footer-group', 'table-row', 'table-column-group', 'table-column', 'table-cell', 'table-caption',\n*''visibility''- use 'visible' or 'hidden'\n\n*''table, inline-table, table-row-group, table-header-group, table-footer-group, table-row, table-column-group, table-column, table-cell, and table-caption'' are not supported by IE\n\n!Examples\n*''position'': absolute;\n*''top'': 3em;\n*''right'': 200px;\n*''bottom'': -25px;\n*''left'': 33%;\n*''clip'': rect(10px 50px 30px 10px);\n*''overflow'': hidden;\n*''z-index'': 2;\n*''float'': left;\n*''clear'': both;\n*''display'': block;\n*''visibility'': hidden;\n
!Rules\n*''table-layout''- use 'auto' or 'fixed' (rendering algorithm, not in IE)\n*''border-collapse''- use 'collapse' or 'separate' (default)\n*''border-spacing''- measurement(em,px,ex) one number is a padding around each cell, with two numbers the first is the horizontal and second is the vertical spacing. Not supported in IE. Will only work with border-collapse:separate.\n*''empty-cells''- use 'show' (default) or 'hide' Not in IE.\n*''caption-side''- use 'top' (default), 'right', 'bottom', 'left'\n\n!Examples\n*''table-layout'': fixed;\n*''border-collapse'': collapse;\n*''border-spacing'': .25em .5em;\n*''empty-cells'': hide;\n*''caption-side'': right;
!Rules\n*''font''- a combination of font-style, font-variant, font-weight, font-size, line-height and font-family]\n*''font-family''- multiple font names separated by commas\n*''font-size''- measurement(px,em,%,ex) or word (larger, normal, small)\n*''font-weight''- use 'bold' or 'normal'\n*''font-style''- use 'italic' or 'normal'\n*''font-variant''- use 'small-caps' or 'normal'\n*''line-height''- measurement(px,em,%,ex) or 'normal'\n*''letter-spacing''- measurement(px,em,&,ex) or 'normal'\n*''word-spacing''- measurement(px,em,&,ex) or 'normal'\n*''text-align''- use 'left', 'right', 'center', or 'justify'\n*''text-decoration''- use 'none', 'underline', 'overline', or 'line-through'\n*''text-indent''- measurement(px,em,&,ex), applies to the first line of text\n*''text-transform''- use 'capitalize', 'uppercase', 'lowercase', or 'none'\n*''vertical-align''- measurement(px,em,&,ex), 'baseline', 'sub', 'super', 'top', 'text-top', 'middle' , 'bottom', 'text-bottom',this only applies to vertical position in an inline box.\n*''white-space''- 'normal', 'pre', 'nowrap', 'pre-wrap', 'pre-line;\n\n\n!Example\n*''font'': italic bold 1.5em/2 arial, Helvetica, sans-serif;\n*''font-family'': "Times New Roman", Times, serif;\n*''font-size'': 1.5em; (or 12px or 80%)\n*''font-weight'': bold;\n*''font-style'': italic;\n*''font-variant'': small-caps;\n*''line-height'': 1.2em;\n*''letter-spacing'': 1em;\n*''word-spacing'': 2em;\n*''text-align'': center;\n*''text-decoration'': underline;\n*''text-indent'': 5px;\n*''text-transform'': capitalize;\n*''vertical-align'': baseline;\n*''white-pace'': pre;
<<newJournal " DD MMM YYYY" MyStuff>>
!Codice\n{{{\n<<tabs tabsClass\nMacros "Descrizione delle macro di TiddlyWiki" Macros\nEtichette"Descrizione del funzionamento delle Etichette in TiddlyWiki" Etichette\n>>\n}}}\n\n!Esecuzione\n<<tabs tabsClass\nMacros "Descrizione delle macro di TiddlyWiki" Macros\nEtichette "Descrizione del funzionamento delle Etichette in TiddlyWiki" Etichette\n>>\n\n!Parameters\n*First Line\n**tabsClass: The CSS class that the tabs box takes; useful for formating your StyleSheet.\n*Other Lines\n**The title of the tab\n**The text that appears when your mouseover the tab\n**The tiddler that appears when you click the tab.
// // by [[Clint Checketts]]\nconfig.options.chkConfirmDelete= true;\nconfig.shadowTiddlers.AdvancedOptions += "\sn<<option chkConfirmDelete>> ConfermaCancelazioneTiddler"\n\nwindow.deleteTiddler_orig_confirmDelete = window.deleteTiddler;\nwindow.deleteTiddler= function(title) {\n if (config.options.chkConfirmDelete) {\n deleteIt = confirm("Sei sicuro di voler eliminare il tiddler " + title + "?");\n}\n if (deleteIt){\n deleteTiddler_orig_confirmDelete(title);\n }\n}
Gli elenchi sono una delle cose più facili da fare in TiddlyWiki. Per un elenco puntato basta mettere un asterisco (''*'') all'inizio di ogni linea che vuoi elencare, aggiungendone un altro per ogni livello di classificazione inferiore.\n \n*Prima Voce\n**Sotto Voce A\n***Sotto Voce Inferiore i\n***Sotto Voce Inferiore ii\n**Sotto Voce B\n*Seconda Voce\n*Terza Voce\n\nCodice:\n\n{{{\n*Prima Voce\n**Sotto Voce A\n***Sotto Voce Inferiore i\n***Sotto Voce Inferiore ii\n**Sotto Voce B\n*Seconda Voce\n*Terza Voce\n}}}\n\nLa procedura è la stessa anche per gli elenchi numerati, basta usare il cancelletto (''#'') invece dell'asterisco.\n\n#Prima Voce\n##Sotto Voce A\n###Sotto Voce Inferiore i\n###Sotto Voce Inferiore ii\n##Sotto Voce B\n#Seconda Voce\n#Terza Voce\n\nCodice:\n\n{{{\n#Prima Voce\n##Sotto Voce A\n###Sotto Voce Inferiore i\n###Sotto Voce Inferiore ii\n##Sotto Voce B\n#Seconda Voce\n#Terza Voce\n}}}
* vedi |caption|c non funza\n\n\nPuoi creare tabelle richiudendo il testo tra due barre verticali (||)\n\n|!Intestazioni: inserisci un punto esclamativo subito dopo la barra verticale. |!Intestazione2|!Intestazione3|\n|Riga1,Colonna1|Riga1,Colonna2|Riga1,Colonna3|\n|>|>|Per una riga estesa su più colonne usa >|\n|Per una colonna su più righe usa ~|>| Lascia spazio per un allineamento a a destra nella cella|\n|~|>| Lascia spazi vuoti a margine per centrare il testo nella cella |\n|>|>|bgcolor(red):Aggiungi colore alla cella usando il bgcolor (metti il tuo colore qua):|\n|caption|c\n\n*|Inserisci una nota terminando la tavola con la barra verticale seguita da| c|c\n\nCodice per la tabella superiore\n\n{{{\n|!Headings: add an exclamation point (!) right after the vertical bar.|!Heading2|!Heading3|\n|Row 1, Column 1|Row 1, Column 2|Row 1, Column 3|\n|>|>|Have one row span multiple columns by using a >|\n|Have one column span multiple rows by using a ~|>| Use a space to right-align text in a cell|\n|~|>| Enclose text in a cell with spaces to center it |\n|>|>|bgcolor(green):Add color to a cell using bgcolor(yourcolorhere):|\n|Add a caption by ending the table with a vertical bar followed by a c|c\n}}}
I'm sure you've noticed by now that there are a lot of places where words are stuck together, like HowToMakeATiddler or EasyToEdit. Here's the reason for that: Whenever you type in a word that's mixed case (also known as a WikiWord), TiddlyWiki will automatically create a link to a [[Tiddler]] with that title. \n\nTry it! Doubleclick on this [[Tiddler]] to go into editing mode and put a few words together in the space below. When you've got a WikiWord made up, click "done."\n\n----\n\n----\n\nSee how TiddlyWiki automatically converted your WikiWord into an italicized link? Click on it. \n\nYou should see your WikiWord as a title and the words "This tiddler doesn't yet exist. Double-click to create it" underneath it. If you double click and write something in the text box, a new [[Tiddler]] will be created with the title you've given it. Now if you write that same WikiWord in any other [[Tiddler]], TiddlyWiki will automatically create a link that to same entry.\n\n"But," you say, "what if I want to make a tiddler that's just one word? Or one that doesn't use mixed case?" Open up editing mode, and enclose the word you want to turn into a tiddler in double brackets, like these:\n\n{{{\n[[Non-Wiki Word or Phrase]]\n}}}\n\n<<tiddler HowToDewikifyAWikiWord>>\n\nThat's all there is to it.
!Codice\n{{{\n<<today>> Mostra data e ora attuale.\n}}}\n\n!Esecuzione\nOggi è <<today>>.
HelloThere\n[[Benvenuti]]\n\n
Fai doppio click sull'area del tiddler per accedere alla fase editoriale. Digita quello che vuoi e clicca sul comando ' Chiudi' del tiddler menù.\n\nBello vero ? \n\nPer [[Salvare le tue modifiche]] dovrai salvare anche l'intero TiddlyWiki sul tuo disco. Vai a [[Trasportabile]] per sapere come.\n\nOra impara come :\n*[[Creare un Tiddler]]\n*[[Formattare il Testo]]\n*[[Incorporare le Immagini]]\n*[[Creare Elenchi]]\n*[[Inserire Collegamenti Esterni]]\n*[[Creare Tabelle]]\n*[[Titolare]]\n*[[Inserire blocchi di citazione]]\n*[[Inserire una linea di separazione]]\n*[[Modificare gli stili di pagina]]\n*[[Intestare con le Parole non wiki]]\n*[[Non intestare con le WikiParole]]\n*[[Usare caratteri proporzionati]]\n*[[Etichettare un tiddler|Etichette]]\n*[[Inserire una Macro|Macros]]\n*[[Cambiare un Menù od il Titolo di pagina|Tiddler Speciali]]\n*[[Inserire commenti nei Tiddler]]\n\nDouble click on this entry. This will bring you into Editing Mode. Type whatever you want to in the large text box, then move your mouse next to the title of this tiddler and click "done".\n\nIsn't that cool?\n\nNow, if you want to know [[Salvare le tue modifiche]], you'll have to save the TiddlyWiki to your hard drive. Find out how in EasyToCarry.
!Codice\n{{{\n<<list>> ..Elenca tutti i tiddler in ordine alfabetico \n}}}\n\n!Esecuzione\nElenco alfabetico dei tiddler:\n<<list>>
<<list untagged>>
tasto destro [[qui|#]]
!Codice\n{{{\nCrea un menù a cascata di tutti tiddlers etichettati con <<tag Caratteristiche>>.\n}}}\n\n!Esecuzione\nClicca qui > <<tag Caratteristiche>> per scorrere una lista di tutti tiddlers etichettati con Caratteristiche
Le etichette permettono di ordinare i tiddlers in categorie. Al fondo di questo tiddler puoi notare che è marcato con l'etichetta "Caratteristiche" Cliccando si aprirà un menù a scorrimento che elenca tutti gli altri tiddler della stessa categoria. E' possibile aprire tutti gli altri tiddler unitariamente o singolarmente. \n\nPer aggiungere un etichetta seleziona "Modifica" dal menù strumenti per editare il tiddler e scegli un'etichetta dalla lista o inseriscila direttamente nella apposita riga . \n\nVedi anche : EtichetteSpeciali\n\nTags offer a way of categorizing tiddlers. At the bottom of this tiddler, you can see that it is tagged with the "Features" tag. If you click on this tag, a list will pop up with links to the other tiddlers with the same tag. You have option of opening all of the tiddlers with this tag, or just the one you want. \n\nTo add a tag to a tiddler, just switch the tiddler to editing mode and add words to the bottom field, below the main body field text box. \n\nLeggete anche : SpecialTags
Le etichette non vengono solo usate per categorizzare i tiddler, alcune <<tag EtichetteSpeciali>>ne possono anche determinare i comportamenti ad esempio escludendo i tiddler dalla lista della barra laterale.\n\nPer farlo seleziona una delle EtichetteSpeciali dal menù Etichetta del tiddler che stai modificando.\n\nNot only can tags be used to organize tiddlers, but some <<tag SpecialTags>> also have various interesting effects on how tiddlers behave, such as by excluding the tiddler from the sidebar or the search results. \n\nSimply add the desired special tag to the [[tags|Tags]] list.
version.extensions.smileyMacro = {major: 0, minor: 1, revision: 0, date: new Date(2005,7,20)};\n//Author: Alan Hecht\nconfig.macros.smiley = {}\nconfig.macros.smiley.handler = function(place,macroName,params)\n{\n var palette = ["transparent","#000000","#1a1507","#352e18","#464646","#666666","#a3141e","#b06b63","#cc9900","#dd9030","#dddddd","#e89d00","#edc32a","#f3cb3c","#fdf201","#fdf526","#ff3149","#ffac00","#ffbf06","#ffc846","#ffcc66","#ffd758","#ffdd01","#ffea7b","#ffed55","#ffffff"];\n var data = params;\n var imageMap = null;\n if(data[0] == ":-)" || data[0] == ":)")\n\n imageMap = "aaaaabbbbbaaaaaaaabdtyyvtdbaaaaabnyxxxxxujbaaabmyyffyffuujbaadyyyeeyeetttdabppppddyddpmmlbbwoooooooowsrlbbwwpooooowwmrlbbwwboooowwwbllbbwwwboooowbrllbacwwwbbbbbrllcaablswwwwsrrlibaaablsssrrllibaaaaabcrrlllcbaaaaaaaabbbbbaaaaa";\n else if(data[0] == ":-(" || data[0] == ":(")\n imageMap = "aaaaabbbbbaaaaaaaabdtyyvtdbaaaaabnyxxxxxujbaaabmyyyyyyyuujbaadyyyeeyeetttdabppppddyddpmmlbbwoooooooowsrlbbwwpooooowwmrlbbwwoooooowwrllbbwwwwbbbbbsrllbacwwbwwwwsbllcaablswwwwsrrlibaaablsssrrllibaaaaabcrrlllcbaaaaaaaabbbbbaaaaa";\n else if(data[0] == ";-)" || data[0] == ";)")\n imageMap = "aaaaabbbbbaaaaaaaabdtyyvtdbaaaaabnyxxxxxujbaaabmyyxxxxxuujbaadyyyxxxeetttdabppphddyddpmmlbbwoooooooowsrlbbwwpooooowwmrlbbwwboooowwwbllbbwwwboooowbrllbacwwwbbbbbrllcaablswwwwsrrlibaaablsssrrllibaaaaabcrrlllcbaaaaaaaabbbbbaaaaa";\n else if(data[0] == ":-|" || data[0] == ":|")\n imageMap = "aaaaabbbbbaaaaaaaabdtyyvtdbaaaaabnyxxxxxujbaaabmyyffyffuujbaadyyyeeyeetttdabppppddyddpmmlbbwoooooooowsrlbbwwpooooowwmrlbbwwoooooowwrllbbwwwwbbbbbsrllbacwwwwwwwsrllcaablswwwwsrrlibaaablsssrrllibaaaaabcrrlllcbaaaaaaaabbbbbaaaaa";\n else if(data[0] == ":-D" || data[0] == ":D")\n imageMap = "aaaaabbbbbaaaaaaaabdtyyvtdbaaaaabnyxxxxxujbaaabmyyeeyeeuujbaadyyyeeyeetttdabppppyyyyypmmlbbwbbbbbbbbbbblbbwbkzzzzzzzkbwbbwbfzzzzzzzfbwbbwbkzzzzzzzkbwbacwbkzzzzzkblcaablsbkzzzkblibaaablsbbbbblibaaaaabcrrlllcbaaaaaaaabbbbbaaaaa";\n else\n createTiddlyElement(place,"span",null,"errorNoSuchMacro","unknown smiley");\n if(imageMap)\n {\n var box = createTiddlyElement(place,"span",null,"smiley",String.fromCharCode(160));\n box.style.position = "relative";\n box.style.width = "15px";\n box.style.height = "15px";\n box.style.marginLeft = "1px";\n box.style.marginRight = "1px";\n box.style.paddingRight = "12px";\n box.style.verticalAlign = "top";\n\n //now divide into 15x15 grid and create each pixel\n // rows\n for(r=0; r<15; r++)\n {\n // columns\n for(c=0; c<15; c++)\n {\n //create each pixel with the correct background\n var pix = document.createElement("img");\n pix.className = "smileyPixel";\n pix.style.position = "absolute";\n pix.border = 0;\n pix.style.top = r + "px";\n pix.style.left = c + "px";\n pix.style.width = "1px";\n pix.style.height = "1px";\n pix.style.backgroundColor = palette[imageMap.charCodeAt((r*15)+c)-97];\n pix.src = "data:image/gif,GIF89a%01%00%01%00%91%FF%00%FF%FF%FF%00%00%00%C0%C0%C0%00%00%00!%F9%04%01%00%00%02%00%2C%00%00%00%00%01%00%01%00%40%02%02T%01%00%3B";\n box.appendChild(pix);\n }\n }\n }\n}\n
// //''Name:'' Favicon\n// //''Version:'' <<getversion favicon>> (<<getversiondate favicon "DD MMM YYYY">>)\n// //''Author:'' AlanHecht\n// //''Type:'' SystemConfig\n\n// //''Description:'' favicon allows you to stipulate the location of a webpage icon (also known as a favorite icon or favicon) for your TiddlyWiki. The location of the icon is absolute (meaning that you need to give the full URL path, including the "http:"). This allows you to use any favicon icon that exists on the Web -- even if it is on a totally different server.\n\n// //''Directions:'' <<tiddler StartupBehaviorDirections>> \n// //Then, in the code section below, change the line beginning with {{{n.href}}} so that the value inside the quotation marks is the absolute URL for the icon file (usually named favicon.ico).\n\n// //''Notes:'' Many web browsers -- with the exception of Microsoft Internet Explorer (IE) -- load favicons in the browser address bar automatically. However, IE users will not see your favicon unless they 1) have IE set as the computer's default browser, and 2) create a favorite (aka bookmark) for your site (and even then, IE sometimes still doesn't play nice).\n\n// //''Related Links:'' for more information on creating favicons, visit ''[[this page|http://www.chami.com/html-kit/services/favicon/]]'' which also has a tool to convert an image of your choice into a favicon file.\n\n// //''Revision History:''\n// // v0.1.0 (18 July 2005) - initial release\n\n// //''Code section:''\nversion.extensions.favicon = {major: 0, minor: 1, revision: 0, date: new Date("Jul 18, 2005")};\nvar n = document.createElement("link");\nn.rel = "shortcut icon";\nn.href = "http://www.tiddlywiki.com/favicon.ico";\ndocument.getElementsByTagName("head")[0].appendChild(n);
var n =document.createElement("link");\nn.rel ="shortcut icon";\nn.href ="http://www.tiddlywiki.com/favicon.ico";\ndocument.getElementsByTagName("head")[0].appendChild(n);
TiddlyWiki accetta le seguenti opzioni di formattazione:\n*''Grassetto'': richiudi il testo desiderato tra due coppie di apostrofi.\n{{{\n''testo in grassetto''\n}}}\n\n*==Barrato==: :richiudi il testo desiderato tra due coppie di uguale.\n{{{\n==testo barrato==\n}}}\n\n*__Sottolineato__ :richiudi il testo desiderato tra due coppie di sotto trattini. \n{{{\n__testo sottolineato__\n}}}\n\n*//Corsivo// : richiudi il testo desiderato tra due coppie di barre a destra.\n{{{\n//testo corsivo//\n}}}\n\n*^^Apice^^ : richiudi il testo desiderato tra due coppie di accenti circonflessi.\n{{{\n^^testo in apice ^^\n}}}\n\n*~~Pedice~~:richiudi il testo desiderato tra due coppie di tilde.\n{{{\n~~testo in pedice~~\n}}}\n\n*@@color(green):testo colorato@@ : richiudi il testo desiderato tra due coppie di chiocciolette e specifica il colore\n{{{\n@@color(coloredesiderato):testo colorato@@\n}}}\n\n*@@bgcolor(red):colore di sfondo@@ : richiudi il testo desiderato tra due coppie di chiocciolette e specifica il colore di sfondo del testo\n{{{\n@@bgcolor(coloredesiderato):colore di sfondo@@\n}}}
Lista dei termini 'aperti' di questa traduzione. \n----\n|!Tiddler| ||Un piccolo bambino; un pesciolino, un tappo(piccoletto), una scheggia, un frammento|\n|!Fram mén to |s.m.||\n| |1 AU | |ciascun piccolo pezzo di un oggetto rotto: frammenti di un bicchiere, parte staccata da un tutto: un f. del tempio greco|\n| |2 TS |filol.|brano di un’opera letteraria incompleta o perduta (abbr. fr.): i frammenti dei lirici greci . CO estens., ''passo, brano di un’opera'': ci sono frammenti nella sua opera che possiamo avvicinare a Leopardi|\n| |3 TS |lett.|''breve poesia o prosa lirica, tipica del frammentismo''|\n| |4 TS |filat.|pezzo di lettera su cui è incollato un francobollo annullato|\n|!Tab || |Casella |\n|!Tag |||Categoria, Etichetta, Tipo, Specie, Segnalatori |\n|!Monospaced text |||Testo Proporzionale |\n|!Slider |||Slitta (Scivola via) |\n|!Tip |||Tip (nuvoletta) |\n|!Nifty |||carino, accurato |\n|!Sparklines || |( scintille)|\n|!Self-contained |||autocontenuto |
La grammatica è quella disciplina che ha come oggetto la conoscenza delle regole che servono a far funzionare una lingua.
Benvenuti su TiddlyWiki un WikiWikiWeb di MicroContenuti costruito da JeremyRuston. Scritto in HTML, CSS e ~JavaScript, funziona con qualunque browser moderno senza logiche ServerSide. Puoi usarlo per creare documenti AutoContenuti e pubblicarli sul web, spedirli in e-mail o portarlo con te in una WikiPenna. Questa è la versione <<version>> di TiddlyWiki che è distribuito sotto [[Licenza Open Source]]. \n
Before we attempt to rearrange the page's layout, it is important to understand the page's structure. What is the page's structure? Think of a tree. The base element for a web page is the HTML element, like the trunk of a tree. Many elements branch out of the HTML element and even more elements branch out of those elements. So the page's structure branches out like a tree. Got it?\n\nNow the elements that we are concerned with are the MainMenu and Sidebar. Here's how they sit in TiddlyWiki:\n\n*~ContentWrapper\n**Sidebar\n***~SidebarOptions\n***~SidebarTabs\n**mainMenu\n**~DisplayArea (where the tiddler's are)\n\n\nTo move the sidebar under the MainMenu we have to move it in two ways: 1) we need to place the MainMenu before or at the top of the sidebar (using JavaScript) and 2) we have to change how it displays on the page (using CSS).\n\nCreate a tiddler and name it whatever you want. ('HTML Structure' is usually a good name.) Give it the tag of 'systemConfig'. This will make it execute the JavaScript in the tiddler the next time the page is refreshed. Now insert the following code:\n\n{{{\nvar sidebar = document.getElementById('sidebar');\nsidebar.insertBefore(document.getElementById('mainMenu'),document.getElementById('sidebarOptions'));\n}}}\n\nThis 'grabs' the sidebar then grabs the mainMenu element and moves it to be before the sidebarOptions element. Save your TiddlyWiki file and refresh it. This will execute the new HTML Structure tiddler and rearrange the page structure. Now the page's structure looks like this (notice where the mainMenu has moved to):\n\n*~ContentWrapper\n**Sidebar\n***''mainMenu''\n***~SidebarOptions\n***~SidebarTabs\n**~DisplayArea (where the tiddler's are)\n\nYou may be scratching your head wondering why we need to do anything else. In the TiddlyWiki the mainMenu is overlapping the sidebar and its still on the wrong side of the page. We'll fix it with CSS.\n\nCSS rules allow you to change how the page displays. They're pretty easy to understand once you see them written out. We'll just add a few rules that undo the default TiddlyWiki styles.\n\nCreate a tiddler named 'StyleSheet' and add the following rules:\n\n{{{\n#mainMenu{\n position: static;\n}\n#sidebar{\n left: 0;\n}\n#displayArea{\n margin-right: 0;\n}\n}}}\n\nThe first rule turns off a 'position: absolute;' rule. Absolute positioning is what make the mainMenu overlap the sidebar. 'Static' tells the sidebar to move on down and display after the mainMenu.\n\nThe second rule tells the sidebar to be zero pixels from the left side of the screen. It was set at 'right:0;' by TiddlyWiki before.\n\nThe final rule is actually not necessary but once we move the sidebar to the left side of the screen we want to let the tiddler's fill in the empty area again. So we remove the displayArea's right margin.\n\nTo keep the TiddlyWiki useable you'll probably want to keep the mainMenu realatively short. Next time I'll show you how to make your mainMenu horizontal and part of the header.
[[info|http://www.elsdesign.com/tiddlywiki/#ImportTiddlersHelp]]
/***\n''Import Tiddlers Plugin for TiddlyWiki version 1.2.35 or above''\n^^author: Eric Shulman - ELS Design Studios\nsource: http://www.elsdesign.com/tiddlywiki/#ImportTiddlersPlugin\nlicense: [[Creative Commons Attribution-ShareAlike 2.5 License|http://creativecommons.org/licenses/by-sa/2.5/]]^^\n\nWhen many people share and edit copies of the same TiddlyWiki document, the ability to quickly collect all these changes back into a single, updated document that can then be redistributed to the entire group is very important. This function is also very useful when moving your own tiddlers from document to document (e.g., when upgrading to the latest version of TiddlyWiki, or 'pre-loading' your favorite stylesheets into a new 'empty' TiddlyWiki document.)\n\n!!!!!Usage\n<<<\nThe ''import tiddlers'' sidebar menu lets you combine tiddlers from any two TiddlyWiki documents. When selected, a control panel is displayed consisting of an "import source document" filename input (text field plus a ''[Browse...]'' button), a listbox of available tiddlers, a "differences only" checkbox, an "add tags" input field and four push buttons: ''[open]'', ''[select all]'', ''[import]'' and ''[close]''.\n\nPress ''[browse]'' to select a TiddlyWiki document file to import. You can also type in the path/filename (or URL) of the document you want to import and press ''[open]''. //Note: there is a 1-second delay built in to the import function to allow the browser some time to access and load the document before updating the listbox with the titles of all tiddlers that are available to be imported.//\n\nSelect one or more titles from the listbox (hold CTRL or SHIFT while clicking to add/remove the highlight from individual list items). You can press ''[select all]'' to quickly highlight all tiddler titles in the list. Use the ''[-]'', ''[+]'', or ''[=]'' links to adjust the listbox size so you can view more (or less) tiddler titles at one time. When you have chosen the tiddlers you want to import and entered any extra tags, press ''[import]'' to begin copying them to the current TiddlyWiki document.\n\n''Differences Only:''\n\nThe "differences only" checkbox allows you to filter the list so that you only see tiddlers that either A) don't exist in the current document, or B) have a different date/time stamp (indicating that the tiddler has been changed in some way). This makes it very quick and easy to find and import just the updated tiddlers you are interested in.\n\n''Import Tagging:''\n\nTiddlers that have been imported can be automatically tagged, so they will be easier to find later on, after they have been added to your document. New tags are entered into the "add tags" input field, and then //added// to the existing tags for each tiddler as it is imported.\n\n''Skip, Rename, Merge, or Replace:''\n\nWhen importing a tiddler whose title is identical to one that already exists, the import process pauses and the tiddler title is displayed in an input field, along with four push buttons: ''[skip]'', ''[rename]'', ''[merge]'' and ''[replace]''.\n\nTo bypass importing this tiddler, press ''[skip]''. To import the tiddler with a different name (so that both the tiddlers will exist when the import is done), enter a new title in the input field and then press ''[rename]''. Press ''[merge]'' to combine the content from both tiddlers into a single tiddler. Press ''[replace]'' to overwrite the existing tiddler with the imported one, discarding the previous tiddler content.\n\n//Note: if both the title ''and'' modification date/////time match, the imported tiddler is assumed to be identical to the existing one, and will be automatically skipped (i.e., not imported) without asking.//\n<<<\n!!!!!Import Report History\n<<<\nWhenever tiddlers are imported, a report is generated into ImportedTiddlers, indicating when the latest import was performed, the number of tiddlers successfully imported, from what location, and by whom. It also includes a list with the title, date and author of each tiddler that was imported.\n\nWhen the import process is completed, the ImportedTiddlers report is automatically displayed for your review. If more tiddlers are subsequently imported, a new report is //added// to ImportedTiddlers, above the previous report (i.e., at the top of the tiddler), so that a reverse-chronological history of imports is maintained.\n\nIf a cumulative record is not desired, the ImportedTiddlers report may be deleted at any time. A new ImportedTiddlers report will be created the next time tiddlers are imported.\n<<<\n!!!!!Installation\n<<<\ncopy/paste the following tiddlers into your document:\n''ImportTiddlersPlugin'' (tagged with <<tag systemConfig>>)\n\ncreate/edit ''SideBarOptions'': (sidebar menu items) \n^^Add "< < ImportTiddlers > >" macro^^\n\n''Quick Installation Tip #1:''\nIf you are using an unmodified version of TiddlyWiki (core release version <<version>>), you can get a new, empty TiddlyWiki with the Import Tiddlers plugin pre-installed (''[[download from here|TW+ImportTiddlers.html]]''), and then simply import all your content from your old document into this new, empty document.\n\n''Quick Installation Tip #2:''\nIf you are developing a TiddlyWiki custom code adaptation, you may want to copy/paste the plugin tiddlers directly into the 'storeArea' of your document's source code. To simplify this process, here's a file containing just the storeArea DIV's for the tiddlers you need to install: ''[[import.html|import.html]]''\n<<<\n!!!!!Revision History\n<<<\n''2005.11.29 [1.2.1]''\nfixed formatting of 'detail info' in importReport()\n''2005.11.11 [1.2.0]''\nadded 'inline' param to embed controls in a tiddler\n''2005.11.09 [1.1.0]''\nonly load HTML and CSS the first time the macro handler is called. Allows for redundant placement of the macro without creating multiple instances of controls with the same ID's.\n''2005.10.25 [1.0.5]''\nfixed typo in importReport() that prevented reports from being generated\n''2005.10.09 [1.0.4]''\ncombined documentation with plugin code instead of using separate tiddlers\n''2005.08.05 [1.0.3]''\nmoved CSS and HTML definitions into plugin code instead of using separate tiddlers\n''2005.07.27 [1.0.2]''\ncore update 1.2.29: custom overlayStyleSheet() replaced with new core setStylesheet()\n''2005.07.23 [1.0.1]''\nadded parameter checks and corrected addNotification() usage\n''2005.07.20 [1.0.0]''\nInitial Release\n<<<\n!!!!!Credits\n<<<\nThis feature was developed by EricShulman from [[ELS Design Studios|http:/www.elsdesign.com]]\n<<<\n!!!!!Code\n***/\n//{{{\n// define macro "importTiddlers" to render controls\nversion.extensions.importTiddlers = {major: 1, minor: 2, revision: 1, date: new Date(2005,11,29)};\nconfig.macros.importTiddlers = {\n label: "import tiddlers", prompt: "Copy selected tiddlers from another document"\n};\n\nconfig.macros.importTiddlers.css = '\s\n#importPanel {\s\n display: none;\s\n background-color: #eee;\s\n position:absolute; z-index:11; width:30em; right:105%; top:3em;\s\n padding: 0.5em; margin:0em;\s\n border:1px solid black; border-bottom-width: 3px; border-right-width: 3px;\s\n -moz-border-radius:1em;\s\n font-size: 8pt;\s\n}\s\n#importPanel input { width: 100%; margin: 1px; font-size:8pt; }\s\n#importPanel select { width: 100%; margin: 1px; font-size:8pt; }\s\n#importPanel .importButton { padding: 0em; margin: 0px; font-size:8pt; }\s\n#importPanel .importListButton { padding:0em 0.25em 0em 0.25em; color: #000000; }\s\n#importAskPanel { display:none; margin:0.5em 0em 0em 0em; }\s\n';\n\nconfig.macros.importTiddlers.html = '\s\n<div id="importPanel">\s\nimport from source document:\s\n<input type="file" id="fileImportSource" size=45\s\n onKeyUp="window.importSource=this.value"\s\n onChange="window.importSource=this.value; onClickImportButton(this)">\s\n<span style="float:left; padding:1px; white-space:nowrap">\s\n <input type=checkbox id="chkImportDiffsOnly" checked style="height:1em; width:auto"\s\n onClick="window.importDiffsOnly=this.checked; refreshImportList();">show differences only\s\n</span>\s\n<span style="float:right; padding:1px; white-space:nowrap">\s\n <a href="JavaScript:;" id="importSmaller" class="importListButton"\s\n onclick="onClickImportButton(this)" title="reduce list size">&#150;</a>\s\n <a href="JavaScript:;" id="importLarger" class="importListButton"\s\n onclick="onClickImportButton(this)" title="increase list size">+</a>\s\n <a href="JavaScript:;" id="importMaximize" class="importListButton"\s\n onclick="onClickImportButton(this)" title="maximize/restore list size">=</a>\s\n</span>\s\n<select id="importList" size=1 multiple\s\n onchange="setTimeout(\s'refreshImportList(\s'+this.selectedIndex+\s')\s',1)">\s\n <!-- NOTE: delay refresh so list is updated AFTER onchange event is handled -->\s\n</select>\s\nadd tags:\s\n<input type=text id="txtImportTags" size=15 onKeyUp="window.importTags=this.value" autocomplete=off>\s\n<div align=center>\s\n <input type=button id="importOpen" class="importButton" style="width:23%" value="open"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importSelectAll" class="importButton" style="width:23%" value="select all"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importStart" class="importButton" style="width:23%" value="import"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importClose" class="importButton" style="width:23%" value="close"\s\n onclick="onClickImportButton(this)">\s\n</div>\s\n<div id="importAskPanel">\s\n tiddler already exists:\s\n <input type=text id="importNewTitle" size=15 autocomplete=off">\s\n <div align=center>\s\n <input type=button id="importSkip" class="importButton" style="width:23%" value="skip"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importRename" class="importButton" style="width:23%" value="rename"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importMerge" class="importButton" style="width:23%" value="merge"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importReplace" class="importButton" style="width:23%" value="replace"\s\n onclick="onClickImportButton(this)">\s\n </div>\s\n</div>\s\n</div>\s\n<!-- hidden frame for remote page load -->\s\n<span style="position:absolute; display:none;">\s\n<iframe name="importFrame" id="importFrame" src="" height=0 width=0></iframe>\s\n</span>\s\n';\n\nconfig.macros.importTiddlers.handler = function(place,macroName,params) {\n if (params[0]!="inline")\n createTiddlyButton(place,this.label,this.prompt,onClickImportMenu);\n if (!document.getElementById("importPanel")) {\n setStylesheet(config.macros.importTiddlers.css,"importTiddlers");\n var newspan=createTiddlyElement(place,"span",null,null,null)\n newspan.innerHTML=config.macros.importTiddlers.html;\n store.addNotification(null,refreshImportList); // refresh listbox after every tiddler change\n }\n if (params[0]!="inline") return;\n document.getElementById("importPanel").style.position="static";\n document.getElementById("importPanel").style.display="block";\n}\n\n// IE needs explicit global scoping for functions/vars called from browser events\nwindow.refreshImportList=refreshImportList;\nwindow.onClickImportButton=onClickImportButton;\nwindow.getImportedTiddlers=getImportedTiddlers;\nwindow.importSource=""; // path/filename or URL of document to import\nwindow.importedTiddlers; // hash-indexed array of tiddlers from other document\nwindow.importTags=""; // text of tags added to imported tiddlers\n\nwindow.importListSize=10; // # of lines to show in imported tiddler list\nwindow.importDiffsOnly=true; // show differences option (toggle)\nwindow.importIndex=0; // current processing index in import list\n\n// Import menu item (show/hide import panel)\nfunction onClickImportMenu(e)\n{\n if (!e) var e = window.event;\n var thePanel = document.getElementById("importPanel");\n if (thePanel==undefined) return;\n var isOpen = thePanel.style.display=="block";\n if(config.options.chkAnimate)\n anim.startAnimating(new Slider(thePanel,!isOpen,e.shiftKey || e.altKey,"none"));\n else\n thePanel.style.display = isOpen ? "none" : "block" ;\n e.cancelBubble = true;\n if (e.stopPropagation) e.stopPropagation();\n return(false);\n}\n\nfunction onClickImportButton(which)\n{\n // DEBUG alert(which.id);\n var theList = document.getElementById('importList');\n if (!theList) return;\n var thePanel = document.getElementById('importPanel');\n var theAskPanel = document.getElementById('importAskPanel');\n var theNewTitle = document.getElementById('importNewTitle');\n switch (which.id)\n {\n case 'fileImportSource':\n case 'importOpen': // load import source into hidden frame\n importReport(); // if an import was in progress, generate a report\n window.importedTiddlers=null; // clear the imported tiddler buffer\n refreshImportList(); // reset/resize the listbox\n if (window.importSource=="") break;\n try\n {\n // Load document into hidden iframe so we can read it's DOM\n // set timeout for 1 second and return to browser processing, so it has\n // some time to finish loading the document before we try to read the storeArea\n var url=window.importSource;\n if (url.charAt(1)==":") url="file://"+url; // fixup pc local filename\n window.frames['importFrame'].location.href=url;\n setTimeout('getImportedTiddlers()',1000);\n }\n catch(e)\n {\n displayMessage("Error opening "+window.importSource.replace(/\s\s/g,'/')+": " + ((e.message)?e.message:e));\n }\n break;\n case 'importSelectAll': // select all tiddler list items (i.e., not headings)\n importReport(); // if an import was in progress, generate a report\n for (var t = 0; t < theList.options.length; t++)\n theList.options[t].selected=(theList.options[t].value!="");\n break;\n case 'importStart': // initiate the import processing\n importReport(); // if an import was in progress, generate a report\n window.importIndex=0;\n window.importIndex=importTiddlers(0);\n importStopped();\n break;\n case 'importClose': // unload imported tiddlers or hide the import control panel\n // if imported tiddlers not loaded, close the import control panel\n if (!window.importedTiddlers) { thePanel.style.display='none'; break; }\n importReport(); // if an import was in progress, generate a report\n window.importedTiddlers=null; // clear the imported tiddler buffer\n refreshImportList(); // reset/resize the listbox\n break;\n case 'importSkip': // don't import the tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n theImported.status='skipped after asking'; // mark item as skipped\n theAskPanel.style.display='none';\n window.importIndex=importTiddlers(window.importIndex+1); // resume with NEXT item\n importStopped();\n break;\n case 'importRename': // change name of imported tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n theImported.status = 'renamed from '+theImported.title; // mark item as renamed\n theImported.set(theNewTitle.value,null,null,null,null); // change the tiddler title\n theItem.value = theNewTitle.value; // change the listbox item text\n theItem.text = theNewTitle.value; // change the listbox item text\n theAskPanel.style.display='none';\n window.importIndex=importTiddlers(window.importIndex); // resume with THIS item\n importStopped();\n break;\n case 'importMerge': // join existing and imported tiddler content\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theItem.value];\n var theText = theExisting.text+'\sn----\sn^^merged from: [['+window.importSource+'#'+theItem.value+'|'+window.importSource+'#'+theItem.value+']]^^\sn^^'+theImported.modified.toLocaleString()+' by '+theImported.modifier+'^^\sn'+theImported.text;\n var theDate = new Date();\n var theTags = theExisting.getTags()+' '+theImported.getTags();\n theImported.set(null,theText,null,theDate,theTags);\n theImported.status = 'merged with '+theExisting.title; // mark item as merged\n theImported.status += ' - '+theExisting.modified.formatString("MM/DD/YYYY hh:mm:ss");\n theImported.status += ' by '+theExisting.modifier;\n theAskPanel.style.display='none';\n window.importIndex=importTiddlers(window.importIndex); // resume with this item\n importStopped();\n break;\n case 'importReplace': // substitute imported tiddler for existing tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theItem.value];\n theImported.status = 'replaces '+theExisting.title; // mark item for replace\n theImported.status += ' - '+theExisting.modified.formatString("MM/DD/YYYY hh:mm:ss");\n theImported.status += ' by '+theExisting.modifier;\n theAskPanel.style.display='none';\n window.importIndex=importTiddlers(window.importIndex); // resume with THIS item\n importStopped();\n break;\n case 'importSmaller': // decrease current listbox size, minimum=5\n if (theList.options.length==1) break;\n theList.size-=(theList.size>5)?1:0;\n window.importListSize=theList.size;\n break;\n case 'importLarger': // increase current listbox size, maximum=number of items in list\n if (theList.options.length==1) break;\n theList.size+=(theList.size<theList.options.length)?1:0;\n window.importListSize=theList.size;\n break;\n case 'importMaximize': // toggle listbox size between current and maximum\n if (theList.options.length==1) break;\n theList.size=(theList.size==theList.options.length)?window.importListSize:theList.options.length;\n break;\n }\n}\n\nfunction getImportedTiddlers()\n{\n try\n {\n // make sure document has valid tiddler store area\n var importDocument = window.frames['importFrame'].document;\n if (!importDocument)\n { throw("could not get file contents from importFrame"); }\n var importStoreArea = importDocument.getElementById("storeArea");\n if (!importStoreArea || !(importStore=importStoreArea.childNodes) || (importStore.length==0))\n { throw("no tiddlers found in file"); }\n importStoreArea.normalize();\n var link=unescape(window.frames['importFrame'].location.href).replace(/\s\s/g,"/")\n displayMessage('read '+importStoreArea.innerHTML.length+' bytes from '+link);\n }\n catch(e)\n {\n displayMessage("Error reading "+window.importSource+": " + ((e.message)?e.message:e));\n }\n window.importedTiddlers = new Array();\n for(var t = 0; t < importStore.length; t++)\n {\n var e = importStore[t];\n var title = null;\n if(e.getAttribute)\n title = e.getAttribute("tiddler");\n if(!title && e.id && (e.id.substr(0,5) == "store"))\n title = e.id.substr(5);\n if(title && title != "")\n {\n var theImported = new Tiddler();\n theImported.loadFromDiv(e,title);\n window.importedTiddlers.push(theImported);\n }\n }\n refreshImportList();\n}\n\nfunction importStopped()\n{\n var theList = document.getElementById('importList');\n var theNewTitle = document.getElementById('importNewTitle');\n if (!theList) return;\n if (window.importIndex==-1)\n importReport(); // import finished... generate the report\n else\n {\n // DEBUG alert('import stopped at: '+window.importIndex);\n // import collision... show the ask panel and set the title edit field\n document.getElementById('importAskPanel').style.display='block';\n theNewTitle.value=theList.options[window.importIndex].value;\n }\n}\n\nfunction refreshImportList(selectedIndex)\n{\n var theList = document.getElementById("importList");\n if (!theList) return;\n // if nothing to show, reset list content and size\n if (!window.importedTiddlers) \n {\n while (theList.length > 0) { theList.options[0] = null; }\n theList.options[0]=new Option('please open a document...',"",false,false);\n theList.size=1; // show one line only\n return;\n }\n // get the sort order\n if (!selectedIndex) selectedIndex=0;\n if (selectedIndex==0) importSortBy='title'; // heading\n if (selectedIndex==1) importSortBy='title';\n if (selectedIndex==2) importSortBy='modified';\n if (selectedIndex>2) return; // heading or tiddler item, no refresh needed\n // get the alphasorted list of tiddlers (optionally, filter out unchanged tiddlers)\n var tiddlers = [];\n\n // don't import tiddler if title/date/time match (i.e., no changes)\n for (t=0;t<window.importedTiddlers.length;t++)\n {\n if ( window.importDiffsOnly\n && store.tiddlers[window.importedTiddlers[t].title]\n && (window.importedTiddlers[t].modified-store.tiddlers[window.importedTiddlers[t].title].modified==0))\n continue;\n tiddlers.push(window.importedTiddlers[t]);\n }\n tiddlers.sort(function (a,b) {if(a['title'] == b['title']) return(0); else return (a['title'] < b['title']) ? -1 : +1; });\n // clear current list contents\n while (theList.length > 0) { theList.options[0] = null; }\n // add heading and control items to list\n var i=0;\n var indent=String.fromCharCode(160)+String.fromCharCode(160);\n theList.options[i++]=new Option('Select tiddlers to import',"",false,false);\n theList.options[i++]=new Option(((importSortBy=="title" )?">":indent)+' [by title]',"",false,false);\n theList.options[i++]=new Option(((importSortBy=="modified")?">":indent)+' [by date]',"",false,false);\n theList.options[i++]=new Option(tiddlers.length+' tiddler'+((tiddlers.length!=1)?'s are ':' is ')+(window.importDiffsOnly?'different':'in the document'),"",false,false);\n // output the tiddler list\n switch(importSortBy)\n {\n case "title":\n for(var t = 0; t < tiddlers.length; t++)\n theList.options[i++] = new Option(tiddlers[t].title,tiddlers[t].title,false,false);\n break;\n case "modified":\n // sort descending for newest date first\n tiddlers.sort(function (a,b) {if(a['modified'] == b['modified']) return(0); else return (a['modified'] > b['modified']) ? -1 : +1; });\n var lastSection = "";\n for(var t = 0; t < tiddlers.length; t++)\n {\n var tiddler = tiddlers[t];\n var theSection = tiddler.modified.toLocaleDateString();\n if (theSection != lastSection)\n {\n theList.options[i++] = new Option(theSection,"",false,false);\n lastSection = theSection;\n }\n theList.options[i++] = new Option(indent+indent+tiddler.title,tiddler.title,false,false);\n }\n break;\n }\n theList.selectedIndex=selectedIndex; // select current control item\n if (theList.size<window.importListSize)\n theList.size=window.importListSize;\n if (theList.size>theList.options.length)\n theList.size=theList.options.length;\n}\n\nfunction importTiddlers(startIndex)\n{\n if (!window.importedTiddlers) return -1;\n\n var theList = document.getElementById('importList');\n if (!theList) return;\n // if starting new import, reset import status flags\n if (startIndex==0)\n for (var t=0;t<window.importedTiddlers.length;t++)\n window.importedTiddlers[t].status="";\n for (var i=startIndex; i<theList.options.length; i++)\n {\n // if list item is not selected or is a heading (i.e., has no value), skip it\n if ((!theList.options[i].selected) || ((t=theList.options[i].value)==""))\n continue;\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==t) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theImported.title];\n // don't import the "ImportedTiddlers" history from the other document...\n if (theImported.title=='ImportedTiddlers')\n continue;\n // don't import tiddler if title/date/time match (i.e., no changes)\n if (theExisting && ((theImported.modified-theExisting.modified)==0))\n continue;\n // if tiddler exists and import not marked for replace or merge, stop importing\n if (theExisting && (theImported.status.substr(0,7)!="replace") && (theImported.status.substr(0,5)!="merge"))\n return i;\n // append importation tags (if any)\n if (window.importTags!="")\n theImported.set(null,null,null,null,theImported.getTags()+' '+window.importTags)\n // set the status to 'added' (if not already set by the 'ask the user' UI)\n theImported.status=(theImported.status=="")?'added':theImported.status;\n // do the import!\n store.tiddlers[theImported.title] = theImported;\n store.dirty=true;\n }\n return(-1); // signals that we really finished the entire list\n}\n\nfunction importReport()\n{\n\n if (!window.importedTiddlers) return;\n // DEBUG alert('importReport: start');\n\n // if import was not completed, the Ask panel will still be open... close it now.\n document.getElementById('importAskPanel').style.display='none'; \n // get the alphasorted list of tiddlers\n var tiddlers = window.importedTiddlers;\n window.importedTiddlers.sort(function (a,b) {if(a['title'] == b['title']) return(0); else return (a['title'] < b['title']) ? -1 : +1; });\n // gather the statistics\n var count=window.importedTiddlers.length; var added=0; var replaced=0; var renamed=0; var skipped=0; var merged=0;\n for (var t=0; t<count; t++)\n if (window.importedTiddlers[t].status)\n {\n if (window.importedTiddlers[t].status=='added') added++;\n if (window.importedTiddlers[t].status.substr(0,7)=='skipped') skipped++;\n if (window.importedTiddlers[t].status.substr(0,6)=='rename') renamed++;\n if (window.importedTiddlers[t].status.substr(0,7)=='replace') replaced++;\n if (window.importedTiddlers[t].status.substr(0,6)=='merged') merged++;\n }\n var omitted=count-(added+replaced+renamed+skipped+merged);\n // DEBUG alert('stats done: '+count+' total, '+added+' added, '+skipped+' skipped, '+renamed+' renamed, '+replaced+' replaced, '+merged+' merged');\n // skip the report if nothing was imported\n if (added+replaced+renamed+merged==0) return;\n // quick message area summary report\n displayMessage((added+replaced+renamed+merged)+' of '+count+' tiddler'+((count!=1)?'s':"")+' imported from '+window.importSource.replace(/\s\s/g,'/'))\n // create the report tiddler (if not already present)\n var tiddler = store.tiddlers['ImportedTiddlers'];\n if (!tiddler) // create new report tiddler if it doesn't exist\n {\n tiddler = new Tiddler();\n tiddler.title = 'ImportedTiddlers';\n tiddler.text = "";\n }\n // format the report header\n var now = new Date();\n newText = "";\n newText += "On "+now.toLocaleString()+", "+config.options.txtUserName+" ";\n newText += "imported tiddlers from ["+"["+window.importSource+"|"+window.importSource+"]"+"]:\sn";\n newText += "<"+"<"+"<\sn";\n newText += "Out of "+count+" tiddler"+((count!=1)?"s ":" ")+" in {{{"+window.importSource.replace(/\s\s/g,'/')+"}}}:\sn";\n if (added+renamed>0)\n newText += (added+renamed)+" new tiddler"+(((added+renamed)!=1)?"s were":" was")+" added to your document.\sn";\n if (merged>0)\n newText += merged+" tiddler"+((merged!=1)?"s were":" was")+" merged with "+((merged!=1)?"":"an ")+"existing tiddler"+((merged!=1)?"s":"")+".\sn"; \n if (replaced>0)\n newText += replaced+" existing tiddler"+((replaced!=1)?"s were":" was")+" replaced.\sn"; \n if (skipped>0)\n newText += skipped+" tiddler"+((skipped!=1)?"s were":" was")+" skipped after asking.\sn"; \n if (omitted>0)\n newText += omitted+" tiddler"+((omitted!=1)?"s":"")+((omitted!=1)?" were":" was")+" unchanged/not selected, and "+((omitted!=1)?"were":"was")+" not imported.\sn";\n if (window.importTags!="")\n newText += "imported tiddlers were tagged with: \s""+window.importTags+"\s"\sn";\n // output the tiddler detail and reset status flags\n for (var t=0; t<count; t++)\n if (window.importedTiddlers[t].status!="")\n {\n newText += "#["+"["+window.importedTiddlers[t].title+"]"+"]";\n newText += ((window.importedTiddlers[t].status!="added")?("^^\sn"+window.importedTiddlers[t].status+"^^"):"")+"\sn";\n window.importedTiddlers[t].status="";\n }\n newText += "<"+"<"+"<\sn";\n // update the ImportedTiddlers content and show the tiddler\n tiddler.text = newText+((tiddler.text!="")?'----\sn':"")+tiddler.text;\n tiddler.modifier = config.options.txtUserName;\n tiddler.modified = new Date();\n store.tiddlers[tiddler.title] = tiddler;\n displayTiddler(document.getElementById('sidebar'),"ImportedTiddlers",1,null,null,false);\n // update the page display\n store.notifyAll();\n}\n//}}}\n
// Eric Shulman - ELS Design Studios\n// Import Tiddlers Plug-in for TiddlyWiki version 1.2.25 or above\n\n// define macro "importaTiddlers" to render controls\nversion.extensions.importaTiddlers = {major: 1, minor: 0, revision: 2, date: new Date(2005,7,27)};\nconfig.macros.importaTiddlers = {\n label: "Importa tiddlers", prompt: "Importa tiddlers da un altro TiddlyWiki"\n};\n\nconfig.macros.importaTiddlers.css = '\s\n#importPanel {\s\n display: none;\s\n background-color: #eeeeaa;\s\n position:absolute; z-index:11; width:25em; left:-28em; top:3em;\s\n padding: 0.5em; margin:0em;\s\n border:1px solid black; border-bottom-width: 3px; border-right-width: 3px;\s\n font-size: 7pt;\s\n}\s\n#importPanel input { width: 100%; margin: 1px; font-size:8pt; }\s\n#importPanel select { width: 100%; margin: 1px; font-size:8pt; }\s\n#importPanel .importButton { padding: 0em; margin: 0px; font-size:8pt; }\s\n#importPanel .importListButton { padding:0em 0.25em 0em 0.25em; color: #000000; }\s\n#importAskPanel { display:none; margin:0.5em 0em 0em 0em; }\s\n';\n\nconfig.macros.importaTiddlers.html = '\s\n<div id="importPanel">\s\nDocumento di origine:\s\n<input type="file" id="fileImportSource" size=31\s\n onKeyUp="window.importSource=this.value"\s\n onChange="window.importSource=this.value; onClickImportButton(this)">\s\n<span style="float:left; padding:1px; white-space:nowrap">\s\n <input type=checkbox id="chkImportDiffsOnly" checked style="height:1em; width:auto"\s\n onClick="window.importDiffsOnly=this.checked; refreshImportList();">Elenca solo differenti\s\n</span>\s\n<span style="float:right; padding:1px; white-space:nowrap">\s\n <a href="JavaScript:;" id="importSmaller" class="importListButton"\s\n onclick="onClickImportButton(this)" title="reduce list size">&#150;</a>\s\n <a href="JavaScript:;" id="importLarger" class="importListButton"\s\n onclick="onClickImportButton(this)" title="increase list size">+</a>\s\n <a href="JavaScript:;" id="importMaximize" class="importListButton"\s\n onclick="onClickImportButton(this)" title="maximize/restore list size">=</a>\s\n</span>\s\n<select id="importList" size=1 multiple\s\n onchange="setTimeout(\s'refreshImportList(\s'+this.selectedIndex+\s')\s',1)">\s\n <!-- NOTE: delay refresh so list is updated AFTER onchange event is handled -->\s\n</select>\s\nAggiungi etichette:\s\n<input type=text id="txtImportTags" size=15 onKeyUp="window.importTags=this.value" autocomplete=off>\s\n<div align=center>\s\n <input type=button id="importOpen" class="importButton" style="width:23%" value="open"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importSelectAll" class="importButton" style="width:23%" value="select all"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importStart" class="importButton" style="width:23%" value="import"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importClose" class="importButton" style="width:23%" value="close"\s\n onclick="onClickImportButton(this)">\s\n</div>\s\n<div id="importAskPanel">\s\n Il tiddler esiste già:\s\n <input type=text id="importNewTitle" size=15 autocomplete=off">\s\n <div align=center>\s\n <input type=button id="importSkip" class="importButton" style="width:23%" value="skip"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importRename" class="importButton" style="width:23%" value="rename"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importMerge" class="importButton" style="width:23%" value="merge"\s\n onclick="onClickImportButton(this)">\s\n <input type=button id="importReplace" class="importButton" style="width:23%" value="replace"\s\n onclick="onClickImportButton(this)">\s\n </div>\s\n</div>\s\n</div>\s\n<!-- hidden frame for remote page load -->\s\n<span style="position:absolute; display:none;">\s\n<iframe name="importFrame" id="importFrame" src="" height=0 width=0></iframe>\s\n</span>\s\n';\n\nconfig.macros.importaTiddlers.handler = function(place,macroName,params) {\n createTiddlyButton(place,this.label,this.prompt,onClickImportMenu);\n setStylesheet(config.macros.importaTiddlers.css,"importaTiddlers");\n var newspan=createTiddlyElement(place,"span",null,null,null)\n newspan.innerHTML=config.macros.importaTiddlers.html;\n store.addNotification(null,refreshImportList); // refresh listbox after every tiddler change\n}\n\n// IE needs explicit global scoping for functions/vars called from browser events\nwindow.refreshImportList=refreshImportList;\nwindow.onClickImportButton=onClickImportButton;\nwindow.getImportedTiddlers=getImportedTiddlers;\nwindow.importSource=""; // path/filename or URL of document to import\nwindow.importedTiddlers; // hash-indexed array of tiddlers from other document\nwindow.importTags=""; // text of tags added to imported tiddlers\n\nwindow.importListSize=10; // # of lines to show in imported tiddler list\nwindow.importDiffsOnly=true; // show differences option (toggle)\nwindow.importIndex=0; // current processing index in import list\n\n// Import menu item (show/hide import panel)\nfunction onClickImportMenu(e)\n{\n if (!e) var e = window.event;\n var thePanel = document.getElementById("importPanel");\n if (thePanel==undefined) return;\n var isOpen = thePanel.style.display=="block";\n if(config.options.chkAnimate)\n anim.startAnimating(new Slider(thePanel,!isOpen,e.shiftKey || e.altKey,"none"));\n else\n thePanel.style.display = isOpen ? "none" : "block" ;\n e.cancelBubble = true;\n if (e.stopPropagation) e.stopPropagation();\n return(false);\n}\n\nfunction onClickImportButton(which)\n{\n // DEBUG alert(which.id);\n var theList = document.getElementById('importList');\n if (!theList) return;\n var thePanel = document.getElementById('importPanel');\n var theAskPanel = document.getElementById('importAskPanel');\n var theNewTitle = document.getElementById('importNewTitle');\n switch (which.id)\n {\n case 'fileImportSource':\n case 'importOpen': // load import source into hidden frame\n importReport(); // if an import was in progress, generate a report\n window.importedTiddlers=null; // clear the imported tiddler buffer\n refreshImportList(); // reset/resize the listbox\n if (window.importSource=="") break;\n try\n {\n // Load document into hidden iframe so we can read it's DOM\n // set timeout for 1 second and return to browser processing, so it has\n // some time to finish loading the document before we try to read the storeArea\n var url=window.importSource;\n if (url.charAt(1)==":") url="file://"+url; // fixup pc local filename\n window.frames['importFrame'].location.href=url;\n setTimeout('getImportedTiddlers()',1000);\n }\n catch(e)\n {\n clearMessage();\n displayMessage("Error opening "+window.importSource+": " + ((e.message)?e.message:e));\n }\n break;\n case 'importSelectAll': // select all tiddler list items (i.e., not headings)\n importReport(); // if an import was in progress, generate a report\n for (var t = 0; t < theList.options.length; t++)\n theList.options[t].selected=(theList.options[t].value!="");\n break;\n case 'importStart': // initiate the import processing\n importReport(); // if an import was in progress, generate a report\n window.importIndex=0;\n window.importIndex=importaTiddlers(0);\n importStopped();\n break;\n case 'importClose': // unload imported tiddlers or hide the import control panel\n // if imported tiddlers not loaded, close the import control panel\n if (!window.importedTiddlers) { thePanel.style.display='none'; break; }\n importReport(); // if an import was in progress, generate a report\n window.importedTiddlers=null; // clear the imported tiddler buffer\n refreshImportList(); // reset/resize the listbox\n break;\n case 'importSkip': // don't import the tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n theImported.status='skipped after asking'; // mark item as skipped\n theAskPanel.style.display='none';\n window.importIndex=importaTiddlers(window.importIndex+1); // resume with NEXT item\n importStopped();\n break;\n case 'importRename': // change name of imported tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n theImported.status = 'renamed from '+theImported.title; // mark item as renamed\n theImported.set(theNewTitle.value,null,null,null,null); // change the tiddler title\n theItem.value = theNewTitle.value; // change the listbox item text\n theItem.text = theNewTitle.value; // change the listbox item text\n theAskPanel.style.display='none';\n window.importIndex=importaTiddlers(window.importIndex); // resume with THIS item\n importStopped();\n break;\n case 'importMerge': // join existing and imported tiddler content\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theItem.value];\n var theText = theExisting.text+'\sn----\sn^^merged from: [['+window.importSource+'#'+theItem.value+'|'+window.importSource+'#'+theItem.value+']]^^\sn^^'+theImported.modified.toLocaleString()+' by '+theImported.modifier+'^^\sn'+theImported.text;\n var theDate = new Date();\n var theTags = theExisting.getTags()+' '+theImported.getTags();\n theImported.set(null,theText,null,theDate,theTags);\n theImported.status = 'merged with '+theExisting.title; // mark item as merged\n theImported.status += ' - '+theExisting.modified.formatString("MM/DD/YYYY hh:mm:ss");\n theImported.status += ' by '+theExisting.modifier;\n theAskPanel.style.display='none';\n window.importIndex=importaTiddlers(window.importIndex); // resume with this item\n importStopped();\n break;\n case 'importReplace': // substitute imported tiddler for existing tiddler\n var theItem = theList.options[window.importIndex];\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==theItem.value) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theItem.value];\n theImported.status = 'replaces '+theExisting.title; // mark item for replace\n theImported.status += ' - '+theExisting.modified.formatString("MM/DD/YYYY hh:mm:ss");\n theImported.status += ' by '+theExisting.modifier;\n theAskPanel.style.display='none';\n window.importIndex=importaTiddlers(window.importIndex); // resume with THIS item\n importStopped();\n break;\n case 'importSmaller': // decrease current listbox size, minimum=5\n if (theList.options.length==1) break;\n theList.size-=(theList.size>5)?1:0;\n window.importListSize=theList.size;\n break;\n case 'importLarger': // increase current listbox size, maximum=number of items in list\n if (theList.options.length==1) break;\n theList.size+=(theList.size<theList.options.length)?1:0;\n window.importListSize=theList.size;\n break;\n case 'importMaximize': // toggle listbox size between current and maximum\n if (theList.options.length==1) break;\n theList.size=(theList.size==theList.options.length)?window.importListSize:theList.options.length;\n break;\n }\n}\n\nfunction getImportedTiddlers()\n{\n try\n {\n // make sure document has valid tiddler store area\n var importDocument = window.frames['importFrame'].document;\n if (!importDocument)\n { throw("could not get file contents from importFrame"); }\n var importStoreArea = importDocument.getElementById("storeArea");\n if (!importStoreArea || !(importStore=importStoreArea.childNodes) || (importStore.length==0))\n { throw(" non sono stati trovati tiddler nel file"); }\n importStoreArea.normalize();\n var link=unescape(window.frames['importFrame'].location.href).replace(/\s\s/g,"/")\n clearMessage();\n displayMessage('read '+importStoreArea.innerHTML.length+' bytes from ',link);\n }\n catch(e)\n {\n clearMessage();\n displayMessage("Error reading "+window.importSource+": " + ((e.message)?e.message:e));\n }\n window.importedTiddlers = new Array();\n for(var t = 0; t < importStore.length; t++)\n {\n var e = importStore[t];\n var title = null;\n if(e.getAttribute)\n title = e.getAttribute("tiddler");\n if(!title && e.id && (e.id.substr(0,5) == "store"))\n title = e.id.substr(5);\n if(title && title != "")\n {\n var theImported = new Tiddler();\n theImported.loadFromDiv(e,title);\n window.importedTiddlers.push(theImported);\n }\n }\n refreshImportList();\n}\n\nfunction importStopped()\n{\n var theList = document.getElementById('importList');\n var theNewTitle = document.getElementById('importNewTitle');\n if (!theList) return;\n if (window.importIndex==-1)\n importReport(); // import finished... generate the report\n else\n {\n // DEBUG alert('importazione terminata in: '+window.importIndex);\n // import collision... show the ask panel and set the title edit field\n document.getElementById('importAskPanel').style.display='block';\n theNewTitle.value=theList.options[window.importIndex].value;\n }\n}\n\nfunction refreshImportList(selectedIndex)\n{\n var theList = document.getElementById("importList");\n if (!theList) return;\n // if nothing to show, reset list content and size\n if (!window.importedTiddlers) \n {\n while (theList.length > 0) { theList.options[0] = null; }\n theList.options[0]=new Option('apri il documento...',"",false,false);\n theList.size=1; // show one line only\n return;\n }\n // get the sort order\n if (!selectedIndex) selectedIndex=0;\n if (selectedIndex==0) importSortBy='title'; // heading\n if (selectedIndex==1) importSortBy='title';\n if (selectedIndex==2) importSortBy='modified';\n if (selectedIndex>2) return; // heading or tiddler item, no refresh needed\n // get the alphasorted list of tiddlers (optionally, filter out unchanged tiddlers)\n var tiddlers = [];\n\n // don't import tiddler if title/date/time match (i.e., no changes)\n for (t=0;t<window.importedTiddlers.length;t++)\n {\n if ( window.importDiffsOnly\n && store.tiddlers[window.importedTiddlers[t].title]\n && (window.importedTiddlers[t].modified-store.tiddlers[window.importedTiddlers[t].title].modified==0))\n continue;\n tiddlers.push(window.importedTiddlers[t]);\n }\n tiddlers.sort(function (a,b) {if(a['title'] == b['title']) return(0); else return (a['title'] < b['title']) ? -1 : +1; });\n // clear current list contents\n while (theList.length > 0) { theList.options[0] = null; }\n // add heading and control items to list\n var i=0;\n var indent=String.fromCharCode(160)+String.fromCharCode(160);\n theList.options[i++]=new Option('Seleziona i tiddlers da importare',"",false,false);\n theList.options[i++]=new Option(((importSortBy=="title" )?">":indent)+' [per titolo]',"",false,false);\n theList.options[i++]=new Option(((importSortBy=="modified")?">":indent)+' [per data]',"",false,false);\n theList.options[i++]=new Option(tiddlers.length+' tiddler'+((tiddlers.length!=1)?' sono ':' è ')+(window.importDiffsOnly?'differente/i':'nel documento'),"",false,false);\n // output the tiddler list\n switch(importSortBy)\n {\n case "title":\n for(var t = 0; t < tiddlers.length; t++)\n theList.options[i++] = new Option(tiddlers[t].title,tiddlers[t].title,false,false);\n break;\n case "modified":\n // sort descending for newest date first\n tiddlers.sort(function (a,b) {if(a['modified'] == b['modified']) return(0); else return (a['modified'] > b['modified']) ? -1 : +1; });\n var lastSection = "";\n for(var t = 0; t < tiddlers.length; t++)\n {\n var tiddler = tiddlers[t];\n var theSection = tiddler.modified.toLocaleDateString();\n if (theSection != lastSection)\n {\n theList.options[i++] = new Option(theSection,"",false,false);\n lastSection = theSection;\n }\n theList.options[i++] = new Option(indent+indent+tiddler.title,tiddler.title,false,false);\n }\n break;\n }\n theList.selectedIndex=selectedIndex; // select current control item\n if (theList.size<window.importListSize)\n theList.size=window.importListSize;\n if (theList.size>theList.options.length)\n theList.size=theList.options.length;\n}\n\nfunction importaTiddlers(startIndex)\n{\n if (!window.importedTiddlers) return -1;\n\n var theList = document.getElementById('importList');\n if (!theList) return;\n // if starting new import, reset import status flags\n if (startIndex==0)\n for (var t=0;t<window.importedTiddlers.length;t++)\n window.importedTiddlers[t].status="";\n for (var i=startIndex; i<theList.options.length; i++)\n {\n // if list item is not selected or is a heading (i.e., has no value), skip it\n if ((!theList.options[i].selected) || ((t=theList.options[i].value)==""))\n continue;\n for (var j=0;j<window.importedTiddlers.length;j++)\n if (window.importedTiddlers[j].title==t) break;\n var theImported = window.importedTiddlers[j];\n var theExisting = store.tiddlers[theImported.title];\n // don't import the "ImportedTiddlers" history from the other document...\n if (theImported.title=='ImportedTiddlers')\n continue;\n // don't import tiddler if title/date/time match (i.e., no changes)\n if (theExisting && ((theImported.modified-theExisting.modified)==0))\n continue;\n // if tiddler exists and import not marked for replace or merge, stop importing\n if (theExisting && (theImported.status.substr(0,7)!="replace") && (theImported.status.substr(0,5)!="merge"))\n return i;\n // append importation tags (if any)\n if (window.importTags!="")\n theImported.set(null,null,null,null,theImported.getTags()+' '+window.importTags)\n // set the status to 'added' (if not already set by the 'ask the user' UI)\n theImported.status=(theImported.status=="")?'added':theImported.status;\n // do the import!\n store.tiddlers[theImported.title] = theImported;\n store.dirty=true;\n }\n return(-1); // signals that we really finished the entire list\n}\n\nfunction importReport()\n{\n\n if (!window.importedTiddlers) return;\n // DEBUG alert('importReport: start');\n\n // if import was not completed, the Ask panel will still be open... close it now.\n document.getElementById('importAskPanel').style.display='none'; \n // get the alphasorted list of tiddlers\n var tiddlers = window.importedTiddlers;\n window.importedTiddlers.sort(function (a,b) {if(a['title'] == b['title']) return(0); else return (a['title'] < b['title']) ? -1 : +1; });\n // gather the statistics\n var count=window.importedTiddlers.length; var added=0; var replaced=0; var renamed=0; var skipped=0; var merged=0;\n for (var t=0; t<count; t++)\n if (window.importedTiddlers[t].status)\n {\n if (window.importedTiddlers[t].status=='added') added++;\n if (window.importedTiddlers[t].status.substr(0,7)=='skipped') skipped++;\n if (window.importedTiddlers[t].status.substr(0,6)=='rename') renamed++;\n if (window.importedTiddlers[t].status.substr(0,7)=='replace') replaced++;\n if (window.importedTiddlers[t].status.substr(0,6)=='merged') merged++;\n }\n var omitted=count-(added+replaced+renamed+skipped+merged);\n // DEBUG alert('stats done: '+count+' total, '+added+' added, '+skipped+' skipped, '+renamed+' renamed, '+replaced+' replaced, '+merged+' merged');\n // skip the report if nothing was imported\n if (added+replaced+renamed+merged==0) return;\n // quick message area summary report\n clearMessage();\n displayMessage((added+replaced+renamed+merged)+' of '+count+' tiddler'+((count!=1)?'s':"")+' imported from ',window.importSource)\n // create the report tiddler (if not already present)\n var tiddler = store.tiddlers['ImportedTiddlers'];\n if (!tiddler) // create new report tiddler if it doesn't exist\n {\n tiddler = new Tiddler();\n tiddler.title = 'Tiddlers Importati ';\n tiddler.text = "";\n }\n // format the report header\n var now = new Date();\n newText = "";\n newText += "Il giorno "+now.toLocaleString()+", "+config.options.txtUserName+" ";\n newText += "ha importato dei tiddlers da ["+"["+window.importSource+"|"+window.importSource+"]"+"]:\sn";\n newText += "<"+"<"+"<\sn";\n newText += "Ho trovato "+count+" tiddler"+((count!=1)?"s ":" ")+" in "+window.importSource+":\sn";\n if (added+renamed>0)\n newText += (added+renamed)+" nuovo/i tiddler"+(((added+renamed)!=1)?"s sono stati":" è stato")+" importato/i nel tuo documento.\sn";\n if (merged>0)\n newText += merged+" tiddler"+((merged!=1)?" sono stati":" è stato")+" incollato/i "+((merged!=1)?"":" in ")+" tiddler esistente/i"+((merged!=1)?"s":"")+".\sn"; \n if (replaced>0)\n newText += replaced+" tiddler "+((replaced!=1)?" sono stati":" è stato")+" sostituito.\sn"; \n if (skipped>0)\n newText += skipped+" tiddler"+((skipped!=1)?" sono stati":" è stato ")+" ignorato.\sn"; \n if (omitted>0)\n newText += omitted+" tiddler"+((omitted!=1)?"s":"")+((omitted!=1)?" non sono stati":"non è stato")+" selezionato/i è "+((omitted!=1)?"non sono stati":"non è stato")+" importato/i.\sn";\n if (window.importTags!="")\n newText += "i tiddler importati sono stati etichettati con: \s""+window.importTags+"\s"\sn";\n // output the tiddler detail and reset status flags\n for (var t=0; t<count; t++)\n if (window.importedTiddlers[t].status!="")\n {\n newText += "#["+"["+window.importedTiddlers[t].title+"]"+"]";\n newText += ((window.importedTiddlers[t].status!="added")?("\sn^"+"^"+window.importedTiddlers[t].status+"^"+"^"):"")+"\sn";\n window.importedTiddlers[t].status="";\n }\n newText += "<"+"<"+"<\sn";\n // update the ImportedTiddlers content and show the tiddler\n tiddler.text = newText+((tiddler.text!="")?'----\sn':"")+tiddler.text;\n tiddler.modifier = config.options.txtUserName;\n tiddler.modified = new Date();\n store.tiddlers[tiddler.title] = tiddler;\n displayTiddler(document.getElementById('sidebar'),"ImportedTiddlers",1,null,null,false);\n // update the page display\n store.notifyAll();\n}
Il giorno Friday, December 09, 2005 15:45:27, mat01 ha importato dei tiddlers da [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nHo trovato 127 tiddlers in H:\sMyTiddlyWikiHome.htm:\n10 nuovo/i tiddlers sono stati importato/i nel tuo documento.\n117 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[CSS Monospacing Wikifier]]\n#[[CSS Reference]]\n#[[CSS-Colors and Backgrounds]]\n#[[CSS-Dimensions, padding, margins, and borders]]\n#[[CSS-Lists]]\n#[[CSS-Misc]]\n#[[CSS-Paged Media]]\n#[[CSS-Positioning and Display]]\n#[[CSS-Tables]]\n#[[CSS-Text and Fonts]]\n<<<\n----\nIl giorno Tuesday, December 06, 2005 23:13:23, mat01 ha importato dei tiddlers da [[F:\sMyTiddlyWikiHome.htm|F:\sMyTiddlyWikiHome.htm]]:\n<<<\nHo trovato 117 tiddlers in F:\sMyTiddlyWikiHome.htm:\n1 nuovo/i tiddler è stato importato/i nel tuo documento.\n116 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[ImportTiddlersPlugin]]\n<<<\n----\nIl giorno Thursday, October 13, 2005 15:55:13, mat01 ha importato dei tiddlers da [[H:\sTiddlyWiki\swikibikes.html|H:\sTiddlyWiki\swikibikes.html]]:\n<<<\nHo trovato 45 tiddlers in H:\sTiddlyWiki\swikibikes.html:\n1 nuovo/i tiddler è stato importato/i nel tuo documento.\n44 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[confirm delete tiddler]]\n<<<\n----\nIl giorno Thursday, October 06, 2005 23:01:27, mat01 ha importato dei tiddlers da [[F:\sMyTiddlyWikiHome.htm|F:\sMyTiddlyWikiHome.htm]]:\n<<<\nHo trovato 84 tiddlers in F:\sMyTiddlyWikiHome.htm:\n1 nuovo/i tiddler è stato importato/i nel tuo documento.\n83 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[.function decorator]]\n<<<\n----\nIl giorno Thursday, October 06, 2005 23:00:55, mat01 ha importato dei tiddlers da [[F:\sMyTiddlyWikiHome.htm|F:\sMyTiddlyWikiHome.htm]]:\n<<<\nHo trovato 84 tiddlers in F:\sMyTiddlyWikiHome.htm:\n1 nuovo/i tiddler è stato importato/i nel tuo documento.\n1 tiddler è stato incollato/i in tiddler esistente/i.\n82 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[BackupFolder]]\n^^merged with BackupFolder - 9/19/2005 16:31:0 by mat01^^\n#[[backups macro]]\n<<<\n----\nIl giorno Tuesday, October 04, 2005 15:57:28, mat01 ha importato dei tiddlers da [[H:\sTiddlyWiki\sTiddlyWiki.htm|H:\sTiddlyWiki\sTiddlyWiki.htm]]:\n<<<\nHo trovato 116 tiddlers in H:\sTiddlyWiki\sTiddlyWiki.htm:\n1 nuovo/i tiddler è stato importato/i nel tuo documento.\n115 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[HelloThere]]\n<<<\n----\nIl giorno Monday, October 03, 2005 13:59:02, mat01 ha importato dei tiddlers da [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nHo trovato 79 tiddlers in H:\sMyTiddlyWikiHome.htm:\n1 nuovo/i tiddler è stato importati nel tuo documento.\n78 tiddlers non sono stati selezionato/i è non sono stati importato/i.\n#[[version]]\n<<<\n----\nIl Monday, October 03, 2005 13:47:12, mat01 ha importato dei tiddlers da [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nC'erano 79 tiddlers in H:\sMyTiddlyWikiHome.htm:\n1 nuovi tiddlerè stato importati nel tuo documento.\n78 tiddlersnon sono stati selezionato/i è non sono stati importato.\n#[[BackupFolder]]\n<<<\n----\nOn Monday, October 03, 2005 13:46:26, mat01 imported tiddlers from [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nOut of 79 tiddlers in H:\sMyTiddlyWikiHome.htm:\n1 new tiddler was added to your document.\n78 tiddlers were unchanged/not selected, and were not imported.\n#[[BackupFolder]]\n<<<\n----\nOn Monday, October 03, 2005 13:26:27, mat01 imported tiddlers from [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nOut of 79 tiddlers in H:\sMyTiddlyWikiHome.htm:\n1 new tiddler was added to your document.\n78 tiddlers were unchanged/not selected, and were not imported.\n#[[ImportTiddlersInfo]]\n<<<\n----\nOn Monday, October 03, 2005 13:25:54, mat01 imported tiddlers from [[H:\sMyTiddlyWikiHome.htm|H:\sMyTiddlyWikiHome.htm]]:\n<<<\nOut of 79 tiddlers in H:\sMyTiddlyWikiHome.htm:\n1 new tiddler was added to your document.\n78 tiddlers were unchanged/not selected, and were not imported.\n#[[Calendiario]]\n<<<\n----\nOn Monday, October 03, 2005 13:20:39, mat01 imported tiddlers from [[H:\sTiddlyWiki\sTiddlyWiki_Dev.htm|H:\sTiddlyWiki\sTiddlyWiki_Dev.htm]]:\n<<<\nOut of 42 tiddlers in H:\sTiddlyWiki\sTiddlyWiki_Dev.htm:\n1 new tiddler was added to your document.\n41 tiddlers were unchanged/not selected, and were not imported.\nimported tiddlers were tagged with: "pippo"\n#[[StuffToDo]]\n<<<\n----\nOn Monday, October 03, 2005 13:19:59, mat01 imported tiddlers from [[H:\sTiddlyWiki\sTiddlyWiki_Dev.htm|H:\sTiddlyWiki\sTiddlyWiki_Dev.htm]]:\n<<<\nOut of 42 tiddlers in H:\sTiddlyWiki\sTiddlyWiki_Dev.htm:\n1 new tiddler was added to your document.\n41 tiddlers were unchanged/not selected, and were not imported.\n#[[Community]]\n<<<\n----\nOn Monday, October 03, 2005 12:46:44, mat01 imported tiddlers from [[H:\sTiddlyWiki\sTiddlyWiki_Dev.htm|H:\sTiddlyWiki\sTiddlyWiki_Dev.htm]]:\n<<<\nOut of 42 tiddlers in H:\sTiddlyWiki\sTiddlyWiki_Dev.htm:\n1 new tiddler was added to your document.\n41 tiddlers were unchanged/not selected, and were not imported.\n#[[HelloThere]]\n<<<\n----\nOn Saturday, September 17, 2005 15:25:23, mat01 imported tiddlers from [[F:\sTiddlyWiki\slocalizzazioni\sTiddlyWiki Italiano betao1 .html|F:\sTiddlyWiki\slocalizzazioni\sTiddlyWiki Italiano betao1 .html]]:\n<<<\nOut of 115 tiddlers in F:\sTiddlyWiki\slocalizzazioni\sTiddlyWiki Italiano betao1 .html:\n1 new tiddler was added to your document.\n114 tiddlers were unchanged/not selected, and were not imported.\n#[[Italiano]]\n<<<\n----\nOn Friday, September 16, 2005 12:19:34, mat01 imported tiddlers from [[H:\sTiddlyWiki\sTiddlyWikiTutorialITA.htm|H:\sTiddlyWiki\sTiddlyWikiTutorialITA.htm]]:\n<<<\nOut of 71 tiddlers in H:\sTiddlyWiki\sTiddlyWikiTutorialITA.htm:\n63 new tiddlers were added to your document.\n6 existing tiddlers were replaced.\n1 tiddler was skipped after asking.\n1 tiddler was unchanged/not selected, and was not imported.\n#[[AdvancedOptions]]\n#[[Benvenuti]]\n#[[Blocchi di Citazione]]\n#[[Come Titolare]]\n#[[Creare un Tiddler]]\n#[[CustomMacros]]\n#[[DefaultTiddlers]]\n^^replaces DefaultTiddlers - 8/18/2005 13:46:0 by JeremyRuston^^\n#[[Elenca Tiddlers non marcati ]]\n#[[Esporta Questo Wiki]]\n#[[Facile da Editare]]\n#[[Facile da Trasportare]]\n#[[Formattare il Testo]]\n#[[Glossario]]\n#[[HowToDewikifyAWikiWord]]\n#[[HowToFormatStyle]]\n#[[HowToMakeExternalLinks]]\n#[[HowToMakeLists]]\n#[[HowToMakeTables]]\n#[[ImportTiddlersPlugin]]\n^^replaces ImportTiddlersPlugin - 9/16/2005 12:4:0 by mat01^^\n#[[Incorporare le Immagini]]\n#[[ItAliano]]\n#[[KeyboardShortcuts]]\n#[[Licenza Open Source]]\n#[[Linea di separazione]]\n#[[Macros]]\n#[[MainMenu]]\n^^replaces MainMenu - 9/16/2005 12:17:22 by mat01^^\n#[[MicroContenuti]]\n#[[MissingTiddlers]]\n#[[MonospacedText]]\n#[[NdT]]\n#[[NewRevisions]]\n#[[NonWikiWordLinks]]\n#[[Orphans]]\n#[[Problemi di Traduzione]]\n#[[Salvare le tue modifiche]]\n#[[SideBarOptions]]\n^^replaces SideBarOptions - 9/16/2005 12:17:1 by mat01^^\n#[[SiteSubtitle]]\n^^replaces SiteSubtitle - 7/12/2005 13:18:0 by JeremyRuston^^\n#[[SiteTitle]]\n^^replaces SiteTitle - 8/17/2005 22:37:0 by JeremyRuston^^\n#[[SiteUrl]]\n^^skipped after asking^^\n#[[Sparklines]]\n#[[SpecialTags]]\n#[[SpecialTiddlers]]\n#[[StyleSheet]]\n#[[Tags]]\n#[[Tiddler]]\n#[[TiddlyWiki]]\n#[[TiddlyWikiTutorial]]\n#[[ToDo]]\n#[[Untagged list handler]]\n#[[UntaggedTiddlers]]\n#[[WikiWikiWeb]]\n#[[WikiWord]]\n#[[anti crawlers]]\n#[[double square brackets]]\n#[[excludeLists]]\n#[[excludeSearch]]\n#[[favicon image]]\n#[[list]]\n#[[newJournal]]\n#[[newTiddler]]\n#[[slider]]\n#[[smiley]]\n#[[systemConfig]]\n#[[systemTiddler]]\n#[[tabs]]\n#[[tag]]\n#[[tiddler]]\n#[[today]]\n#[[version]]\n#[[versione]]\n<<<\n
!Codice\n{{{\n<<tiddler ItAliano>> Riporta il contenuto del tiddler indicato.\n}}}\n\n!Esecuzione\n<<tiddler ItAliano>>\n\n!Attenzione:\nAl momento non c'è protezione se si crea inavvertitamente un loop di ritorno infinito.
BOzza vai a :http://www.tiddlywiki.com/#EmbeddedImages\n\nEcco come si presenta una immagine incorporata: \n\n[img[Jules Verne by Félix Nadar|http://upload.wikimedia.org/wikipedia/commons/b/b6/Jules_Verne.jpg]]\n\nEcco il codice: \n\n{{{\n[img[testo alternativo|Url dell'immagine ]]\n}}}\n\nDue note sull'uso delle immagini:\n#Se aggiungi le immagini al wiki lo appesantisci -- dovrai essere certo che il wiki possa prendere le immagini che hai puntato.\n#Collegare le immagini "a caldo" sul server altrui è considerato maleducato. Scarica le immagini sul tuo pc e caricale sul tuo server o su un host gratuito come [[Image Shack|http://www.imageshack.us/]].\n\nTwo notes about using images:\n#First, if you add images to the wiki, the wiki becomes less portable--you have to make sure that the wiki can get to the images you link to. \n#Second, it's considered rude to "hotlink" images on other people's servers. Don't just directly link to someone else's image; download it onto your computer and upload it back to your own server or to a free image host like [[Image Shack|http://www.imageshack.us/]].
Ovviamente i collegamenti possono anche puntare all'esterno del wiki. Ad esempio al sito padre di TW [[TiddlyWiki.com|http://www.tiddlywiki.com]].\n\n''Codice''\n{{{\n[[text|url]]\n}}}
Se vuoi segnalare una citazione di un testo adopera i blocchi di citazione. Richiudi il testo desiderato tra due coppie aperte di tre parentesi acute (<<<) inserite in una riga vuota, in questo modo:\n\n[[Bill Whittle|http://www.ejectejecteject.com/archives/000091.html]] ha scritto:\n\n<<<\nWe need a map. Several are for sale. How do we choose?\n\nWell, it seems like a good idea to choose the map that best conforms to the coastline we see unveiling before us. We choose the map that best fits the territory. We choose the map that best matches ''reality'' – the objective, external, indisputable reality of bays and promontories, capes and gulfs and rivers and shoals.\n\nWe can, indeed, lay out competing philosophies on the table, and see where each conforms to reality and where it does not. No maps are without distortions; none of these are likely to be, either. And one map may conform perfectly to the coastline in one area, and be dreadfully amiss in another. We can cut and paste them as we wish. This is too important for us to be arguing about who is right – all our energies must go to //getting it// right.\n\nAnd before we start, we must agree to one thing, and one thing only: we will never be so full of arrogance and blinded by pride that we dare confront a place where the map does not match the coastline, and proclaim that ''the coastline must be wrong.''\n\nNavigation by means of reason and logic, taking sightings from historical landmarks and always keeping the firm hand of common sense on the wheel, can steer us clear of these dangerous and confusing times. This sort of thinking, what is essentially scientific thinking, is a new tool, relatively speaking. It is a powerful tool, one that makes powerful demands of us, asking us to forgo pride and ego and preconception. It asks us, as blind men and women in the darkness of the present, to walk into the future not by closing our eyes and glibly imagining a map that is to our liking, but rather to learn to navigate like bats and dolphins, pinging our surroundings, interrogating nature and history at every turn, finding fixed points of reference that we can use to triangulate where we are and where we are headed. \n<<<\n\nCodice :\n\n{{{\n<<<\nInserisci qui il testo della citazione\n<<<\n}}}
Per inserire dei commenti non visibili nel tiddler, richiudi il testo desiderato tra {{{/%}}} e {{{%/}}}. Questa procedura è utile per non visualizzare bozze di testo o per annotare istruzioni complesse. Apri questo tiddler per vederne un esempio..\n/%Testo non visibile \nfino a quando il tiddler non viene editato%/
Ti serve una riga di separazione? Digita quattro trattini in una riga isolata.\n----\nTi separeranno capra e cavoli\n\nEcco il codice :\n{{{\n----\n}}}
Per intestare un tiddler con una parola digitata con le convenzionali forme ortografiche, basta inserirla tra \ndue coppie di parentesi quadre.
*Traduzione : Mathew Warburton, Torino Italia Contact :<<email mat01web at gmail dot com "?subject=Da TWTutorial ITA&body=Scrivi qui.">>. First lines [[September 07 2005]]\n*Testi da :\n**[[tutorial|http://www.blogjones.com/TiddlyWikiTutorial.html]] by jeremy.harper. \n**[[TW HOme SIte|www.http://www.tiddlywiki.com/]]. Vedi elenco: <<tag fromsite>>\n*[[Italian lingo|Italiano]]\n*NdT\n''Adesso è'' <<today>>\n
//TW Italian Plugin by Mathew Warburton 2.0.2 release del 25 Maggio 2006\n\nconfig.commands.closeTiddler.text = "Chiudi";\nconfig.commands.closeTiddler.tooltip = "Chiude questo frammento";\nconfig.commands.closeOthers.text = "Chiude altri ";\nconfig.commands.closeOthers.tooltip = "Chiude gli altri frammenti";\nconfig.commands.editTiddler.text = "Modifica";\nconfig.commands.editTiddler.tooltip = "Edita il frammento";\nconfig.commands.saveTiddler.text = "Salva";\nconfig.commands.saveTiddler.tooltip = "Salva le modifiche";\nconfig.commands.cancelTiddler.text = "Annulla";\nconfig.commands.cancelTiddler.tooltip = "Annulla le modifiche";\nconfig.commands.deleteTiddler.text = "Elimina";\nconfig.commands.deleteTiddler.tooltip = "Elimina questo frammento";\nconfig.commands.deleteTiddler.warning = "Sicuro di voler eliminare '%0'?";\nconfig.commands.permalink.text = "Indirizzo";\nconfig.commands.permalink.tooltip = "Indica sulla barra l'indirizzo di questo frammento";\nconfig.commands.references.text = "Collegati";\nconfig.commands.references.tooltip = "Elenca i frammenti che puntano qui";\nconfig.commands.references.popupNone = "Nessun frammento punta qui";\nconfig.commands.jump.text = "Vai a ";\nconfig.commands.jump.tooltip = "Vai ad un altro frammento aperto";\n\nconfig.macros.allTags.noTags = "Non ci sono frammenti categorizzati";\nconfig.macros.allTags.tooltip = "Mostra i frammenti del tipo ";\nconfig.macros.closeAll.label = "Chiudi tutti";\nconfig.macros.closeAll.prompt = "Chiude tutti i frammenti aperti(esclusi quelli in modifica)";\nconfig.macros.list.all.prompt = "Elenca tutti i frammenti in ordine alfabetico";\nconfig.macros.list.missing.prompt = "Elenca frammenti collegati tra loro non ancora definiti";\nconfig.macros.list.orphans.prompt = "Elenca i frammenti non collegati";\n\nconfig.macros.list.shadowed.prompt = "Frammenti nascosti contenenti le impostazioni del programma";\n\nconfig.macros.newJournal.label = "Oggi";\nconfig.macros.newJournal.months = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre","Dicembre"];\nconfig.macros.newJournal.prompt = "Crea un nuovo frammento con data e ora corrente";\nconfig.macros.newTiddler.label = "Nuovo";\nconfig.macros.newTiddler.prompt = "Crea un nuovo frammento";\nconfig.macros.permaview.label = "Indirizzo di Pagina";\nconfig.macros.permaview.prompt = "Indica sulla barra l'indirizzo della pagina e dei frammenti aperti";\nconfig.macros.saveChanges.label = "Salva modifiche";\nconfig.macros.saveChanges.prompt = "Salva tutti i frammenti per creare un nuovo TiddlyWiki";\nconfig.macros.search.label = "Trova";\nconfig.macros.search.prompt = "Cerca in questo TiddlyWiki";\nconfig.macros.search.successMsg = " Trovati %0 frammenti contenenti %1";\nconfig.macros.search.failureMsg = "Nessun frammento contiene: ";\nconfig.macros.timeline.dateFormat = "DD MMM YYYY";\nconfig.macros.tagging.label = "Frammenti di questa Categoria :";\nconfig.macros.tagging.labelNotTag = "Categoria:";\nconfig.macros.tagging.tooltip = "Frammenti di Tipo '%0'";\n\nconfig.messages.backupFailed = "Salvataggio file di backup non riuscito";\nconfig.messages.backupSaved = "Backup riuscito";\nconfig.messages.cantSaveError = "Non si possono salvare le modifiche con questo browser. Se puoi usa Firefox";\nconfig.messages.customConfigError = "Errore in customConfig - '%0' ";\nconfig.messages.emptyFailed = "Salvataggio file modello vuoto non riuscito";\nconfig.messages.emptySaved = "Modello vuoto salvato";\nconfig.messages.externalLinkTooltip = "Collegamento a %0";\nconfig.messages.invalidFileError = "Il file originale non sembra di tipo TiddlyWiki: ";\nconfig.messages.macroError = "Errore nella macro <<%0>>";\nconfig.messages.macroErrorDetails = "Errore in esecuzione della macro <<%0>>:\sn%1";\nconfig.messages.missingMacro = "La macro non esiste";\nconfig.messages.mainFailed = "File TiddlyWiki principale non salvato. Le tue modifiche non sono state salvate";\nconfig.messages.mainSaved = "File TiddlyWiki primario salvato ";\nconfig.messages.noTags = "Non ci sono frammenti del tipo ";\nconfig.messages.notFileUrlError = "Devi esportare questo TiddlyWiki prima di poterlo salvare";\nconfig.messages.overwriteWarning = "Il frammento '%0' esiste già. OK per sostituirlo";\nconfig.messages.rssFailed = "Salvataggio RSS feed file non riuscito";\nconfig.messages.rssSaved = "RSS feed salvato come";\nconfig.messages.savedSnapshotError = "Sembra che questo TiddlyWiki sia stato salvato scorrettamente. Per informazioni vai a http://www.tiddlywiki.com/#DownloadSoftware";\nconfig.messages.subtitleUnknown = "( sconosciuto )";\nconfig.messages.undefinedTiddlerToolTip = "Il frammento '%0'non esiste ";\nconfig.messages.shadowedTiddlerToolTip = "Il frammento '%0' non esiste, è un modello predefinito ";\nconfig.messages.unsavedChangesWarning = "ATTENZIONE non sono state ancora salvate le modifiche in TiddlyWiki\sn\snOK per salvare\snANNULLA per annullarle";\nconfig.messages.messageClose.text = "Chiudi";\nconfig.messages.messageClose.tooltip = "Chiudi l'area di messaggio";\n\n\nconfig.messages.dates.months = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre","Dicembre"];\nconfig.messages.dates.days = ["Domenica", "Lunedì","Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"];\n\nconfig.views.editor.defaultText = "Edita '%0'.";\nconfig.views.editor.tagChooser.popupNone = "Nessuna categoria è definita";\nconfig.views.editor.tagChooser.tagTooltip = "Aggiungi la categoria ";\nconfig.views.editor.tagChooser.text = "Esistenti";\nconfig.views.editor.tagChooser.tooltip = "Seleziona la categoria tra quelle già presenti";\nconfig.views.editor.tagPrompt = "Aggiungi le categorie separandole con uno spazio, [[se il titolo è di più di una parola mettilo tra due parentesi quadre]] o scegli tra quelle ";\n\nconfig.shadowTiddlers.OptionsPanel = "'Queste OpzioniInterfaccia per personalizzare il tuo TiddlyWiky vengono salvate nel browser\sn\snDigita un nome utente per firmare le tue modifiche. Usa un formato di parola Wiki (es PincoPallino)\sn\sn <<option txtUserName>>\sn<<option chkSaveBackups>> SalvaBackups\sn<<option chkAutoSave>> SalvataggioAutomatico\sn<<option chkGenerateAnRssFeed>> GeneraUnArchivioRSS\sn<<option chkRegExpSearch>> RicercaEstesa\sn<<option chkCaseSensitiveSearch>> ConsideraCaratteriInRicerca\sn<<option chkAnimate>> AbilitaAnimazioni\sn\sn Apri OpzioniAvanzate";\n\nconfig.shadowTiddlers.SideBarOptions = "<<search>><<closeAll>><<permaview>><<newTiddler>><<newJournal 'DD MMM YYYY'>><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel Opzioni 'Modifica le opzioni avanzate di interfaccia del TiddlyWiki'>>";\n\nconfig.shadowTiddlers.SideBarTabs = "<<tabs txtMainTab 'Data' 'Elenca i frammenti cronologicamente' TabTimeline Tutti 'Tutti i frammenti in ordine alfabetico' TabAll 'Categorie' 'Elenca i frammenti per tipo' TabTags 'Altro' 'Altri Elenchi' TabMore>>";\nconfig.shadowTiddlers.TabMore = "<<tabs txtMoreTab 'Mancanti' 'Frammenti non ancora editati' TabMoreMissing 'Orfani' 'Frammenti non collegati tra loro' TabMoreOrphans 'Nascosti' 'Frammenti Nascosti' TabMoreShadowed >>";\n\n\nconfig.shadowTiddlers.OpzioniAvanzate = "<<option chkOpenInNewWindow>> ApriCollegamentiInNuovaFinestra\sn<<option chkSaveEmptyTemplate>> SalvaModelloVuoto\sn<<option chkToggleLinks>> Cliccando su un collegamento ad un frammento già aperto lo chiude\sn^^(evita con Control o altro tasto modificabile)^^ \sn<<option chkHttpReadOnly>> Non rendere editabile dal web\sn<<option chkForceMinorUpdate>> Tratta le modifiche minori e mantieni data ed ora precedenti\sn^^(disattiva con Shift in modifica o con la combinazione Ctrl-Shift-Enter)^^\sn<<option chkConfirmDelete>> Richiedi Conferma prima di eliminare il frammento\sn <<option txtMaxEditRows>>Numero massimo di righe per ciascun frammento: \sn <<option txtBackupFolder>>Percorso della directory di backup: \sn";\n\nconfig.shadowTiddlers.GettingStarted = "Per iniziare ad usare questo documento vuoto, comincia ad editare i seguenti frammenti:\sn* SiteTitle e SiteSubtitle: Il titolo ed il sottotitolo della pagina visibili nella barra del browser\sn* MainMenu: Il menù principale di TW\sn* DefaultTiddlers: Inserisci i collegamenti ai frammenti che desideri compaiono all'apertura di questo TiddlyWiki.\sn Inserisci anche un tuo nome utente che ti permetterà di firmare le tue modifiche: <<option txtUserName>>";\n\n\nconfig.views.wikified.defaultText = "Questo frammento non è stato ancora editato. Per farlo fai doppio click qui.. ";\nconfig.views.wikified.tag.labelTags = "Categorie : ";\nconfig.views.wikified.tag.openTag = "Apri il frammento del gruppo '%0'";\nconfig.views.wikified.tag.labelNoTags = "Nessuna categoria.";\nconfig.views.wikified.tag.openAllText = "Apri tutti i frammenti della categoria '%0'";\nconfig.views.wikified.tag.openAllTooltip = "Apri tutti ";\nconfig.views.wikified.tag.popupNone = "Non ci sono altri frammenti del tipo '%0'";\nconfig.views.wikified.tag.tooltip = "Elenca i frammenti della categoria '%0' ";
TiddlyWiki viene pubblicata con una Licenza Open Source BSD che ti lascia la possibilità di usarlo praticamente come vuoi, anche per scopi commerciali, basta che mantieni il mio avviso di copyright (per leggerne il testo completo leggi l'html sorgente). Se usi TiddlyWiki apprezzerei un link di ritorno a http://www.tiddlywiki.com.\nLa licenza Open Source copre il codice sorgente di Tiddly Wiki, ogni contenuto che crei riutilizzando questo sito è completamente tuo. \n
Oltre alle macro già implementate puoi creare le tue macro. Anche se insegnare ~Javascript non è lo scopo di questo wiki; ecco come importare gli scripts prodotti da altri.\nPrendiamo ad esempio la "Smiley" presa da \n[[AlanH|http://www.personal.psu.edu/staff/a/c/ach12/tiddlywiki/smiley.htm]]:\n\n\n\nIn addition to the built-in macros, you can also create your own macros. Although teaching ~JavaScript is outside of the scope of this wiki, I can show you how to import scripts written by others. As an example, here's a smiley macro from [[AlanH|http://www.personal.psu.edu/staff/a/c/ach12/tiddlywiki/smiley.htm]]:\n\n<<smiley :-D>>\n\nEcco il codice che crea quella bella faccina sorridente:\n\nHere's the code in this tiddler that creates that happy guy up there:\n\n{{{\n<<smiley :-D>>\n}}}\n\nEd ecco come ho aggiunto la [[Faccina]] a questo wiki:\n\n#Da prima, ho creato un nuovo tiddler chiamato [[Faccina]]..\n#Poi, ho copiato il testo della macro dal sito di ~AlanH e l'ho incollato nel mio tiddler..\n#Quindi, ho [[etichettato|Etichette]] il tiddler come systemConfig..\n#Infine, ho salvato le modifiche e ricaricato il Wiki.\n\nHere's how I added the [[smiley]] macro to this wiki:\n#First, I created a new tiddler entitled [[smiley]].\n#Then, I copied the smiley macro from ~AlanH's site and pasted it into my new tiddler. \n#After that, I [[tagged|Tags]] the tiddler with the systemConfig tag\n#Finally, I saved changes and reloaded the wiki.
Le Macro sono una delle più potenti caratteristiche che Jeremy Ruston ha inserito in Tiddly Wiki. Usando le macro si possono aggiungere nuove caratteristiche al Tiddly Wiki senza smanettare con il codice sorgente. Varie macro sono già preinstallate in TW da default e molte altre sono disponibili presso altri Wiki come \n[[MonkeyPirateTiddlyWiki|http://homes.jcu.edu.au/~ccscb/mptw/]] e[[TiddlerWiki|http://checketts.objectis.net/wiki/]]. \n\nQuesto è un elenco delle macro già preinstallate.\n\nare one of the most powerful new features Jeremy Ruston has added to TiddlyWiki. With it, you can add new features to TiddlyWiki without hacking into the source code. Several macros are preinstalled with TiddlyWiki by default, and many others are available on other wikis, like [[MonkeyPirateTiddlyWiki|http://homes.jcu.edu.au/~ccscb/mptw/]] and [[TiddlerWiki|http://checketts.objectis.net/wiki/]]. \n\nThe following is a list of the macros that come preinstalled with TiddlyWiki.\n\n*[[Data e ora]]\n*[[Etichettati]]\n*[[Oggi]]\n*[[Nuovo tiddler]]\n*[[Includi tiddler..]]\n*[[Slitta..]]\n*[[versione]]\n*[[Elenca Tiddlers]]\n*[[Caselle]]\n*[[Sparklines]]\n\nPer informazioni sull'implementazione di macro copiate da altri Wiki:\n*[[MacroPersonalizzate]]
[[Benvenuti]] TiddlyWikiTutorial\n[[Trasportabile]]\n[[Editabile]]\n--\n''<<newTiddler>>''\n--\n''Tutorial''\n[[Inglese|http://www.blogjones.com/WordPress/]]\nItAliano\n[[Glossario]]\n[[Scarica il file]]\n--\n[[TiddlyWiki|http://www.tiddlywiki.com]]\nN. <<version>>
MicroContenuti è una parola che sta ad indicare dei frammenti di contenuto che sono normalmente più piccoli delle pagine intere. Spesso il microcontenuto viene presentato in qualche tipo di aggregato che riduce lo shock percettivo ed il costo in termini di risorse ( come i blogs che aggregano varie entrate in una pagina o le anteprime delle immagini di un album fotografico). Questo TiddlyWiki ordina i MicroContenuti in elementi che io ho denominato 'tiddlers', all'interno di pagine che vengono caricate simultaneamente ma presentate progressivamente a seconda dei richiami ipertestuali degli utenti. \n\nMicroContent being a fashionable word for self-contained fragments of content that are typically smaller than entire pages. Often MicroContent is presented via some kind of aggregation that reduces the perceptual shock and resource cost of context switching (eg Blogs aggregating several entries onto a page or Flickr presenting photos in an album). This TiddlyWiki aggregates MicroContent items that I call 'tiddlers' into pages that are loaded in one gulp and progressively displayed as the user clicks hypertext links to read them.
Per modificare lo stile di formattazione della pagine, devi aggiungere codice CSS al tiddler di StyleSheet. \n*Alcuni siti utili per informazioni in italiano su i fogli di stile CSS :[[risorse.it|http://www.risorse.net/css/]] [[html.it|http://www.html.it/css/]] [[pro.html.it|http://pro.html.it/lista_articoli.asp/idcat_8/]]
<<today>>\n#//Macros//\n**added lines about Customized Macros\n**tiddler, slider were unclear I copied them from current tiddlywiki.com\n**Sparklines\n\n\nContact :<<email jeremy.harper at gmail dot com "?subject=Da TWTutorial ITA&body=Scrivi qui.">>
#Sono dell'idea di tradurre mantenendo la prima persona dell'inglese ( non seguo in questo caso le convenzioni comuni vedi [[Regole per una buona traduzione|http://www.linux.it/tp/buona_traduzione.html]] #Rivolgersi all'utente del Free Translation Project ITA ..)\nAl momento siamo un gruppo di pochi estimatori che si applicano a sviluppare un programma che ha appena compiuto un anno di vita in una community che usa un linguaggio gergale e colloquiale, quindi mi pare giusto mantenere la prima persona per rispettare il contesto...\nPoi si vedrà..
"Ma cosa succede - potresti pensare - se voglio usare parole con caratteri maiuscoli e minuscoli alternati e non creare un tiddler come nel caso di ~JavaScript?"\nFacile, fai precedere la parola da una tilde ~. (Tastiera Pc =Alt+126)\n\n{{{\n~JavaScript\n}}}
{{{\nconfig.options.chkHttpReadOnly = true;\n}}}
Molte cose sono successe dalla scorsa revisione di questo wiki; sono state aggiunte molte caratteristiche a questo prodotto che lo rendono ancora più flessibile\n\nA lot has happened since the last revision of this wiki; many new features have been added to an already great product that make it even more flexible than before. \n\n*[[Etichette]]\n*[[Tiddlers Mancanti]]\n*[[Orfani]]\n*[[EtichetteSpeciali]]\n*TestoProporzionato\n*[[Macros]]
!Codice\n{{{\n<<newTiddler>> Crea un nuovo tiddler.\n}}}\n\n!Esecuzione\nCrea un <<newTiddler>>.
!Codice\n{{{\n<<newJournal "DD MMM YYYY">> Crea un tiddler datato ad oggi.\n}}}\n\n!Esecuzione\nClicca <<newJournal "DD MMM YYYY">>per creare un tiddler con data odierna .\n!Parametri\n* DDD - giorno della settimana (es. "Lunedì'")\n* DD - giorno del mese, 0DD - aggiunge zero iniziale\n* MM - numero del mese, 0MM - aggiunge zero iniziale\n* YYYY - anno per esteso, YY - cifre finali\n* hh - ore\n* mm - minuti\n* ss - secondi\n\n* Aggiungendo un titolo di etichetta dopo la data, crea il tiddler con quel titolo. (es. .."DD MMM YY"..Macros>>)
<<option chkOpenInNewWindow>> ApriCollegamentiInNuovaFinestra\n<<option chkSaveEmptyTemplate>> SalvaModelloVuoto\n<<option chkToggleLinks>> Cliccando su un collegamento ad un frammento già aperto lo chiude ^^(evita con Control o altro tasto modificabile)^^ \n<<option chkHttpReadOnly>> Non rendere editabile dal web\n<<option chkForceMinorUpdate>> Tratta le modifiche minori e mantieni data ed ora precedenti ^^(disattiva con Shift in modifica o con la combinazione Ctrl-Shift-Enter)^^\n<<option chkConfirmDelete>> Richiedi Conferma prima di eliminare il frammento\n<<option txtMaxEditRows>> Numero massimo di righe per ciascun frammento\n<<option txtBackupFolder>> Percorso della directory di backup
Gli orfani sono dei tiddlers creati ma che non sono collegati a nessun altro tiddler. La casella "Altro" della barra laterale riporta l'elenco di questi tiddler.\n\nOrphans are tiddlers that have been created, but that aren't linked to in any other tiddlers. You can find a list of these under the "More" tab in the sidebar.
L'ortografia di una lingua è l'insieme di regole su come scrivere correttamente nel sistema di scrittura di una lingua. Il termine deriva dal greco ορθο ortho- ("corretto") e γραφος graphos ("che scrive") e, nell'accezione odierna, comprende sillabazione, punteggiatura, ecc.. L'ortografia è distinta dalla tipografia.
[[Glossario]]\nNdT \nItAliano
Attivando questa opzione si salva oltre al file in uso, un modello vuoto di documento, contenente solo i tiddler di configurazione. E' pensata per distribuire le versioni adattate di TiddlyWiki ma non per gli utenti finali.\n\nIl modello viene nominato 'empty.html'.
Questo tiddler è leggermente modificato da quello riportato sul sito di TiddlyWiki.\n\nSe stai usando Firefox o IE: \n*N.B. con IExplorer sotto Windows XP potresti avere problemi di configurazione, vedi: [[ServicePack2Problems|http://www.tiddlywiki.com/#ServicePack2Problems]]\n\n#clicca sul tasto destro su [[questo collegamento|#]] e seleziona 'Salva Collegamento...' o 'Salva oggetto con nome...' (come spiegato in [[Facile da Trasportare]] )\n** scegli dove salvare il file e come chiamarlo (mantenendo l'estensione .html)\n#apri il file scaricato \n#apri le opzioni sul menù laterale di destra e inserisci il tuo nome utente\n#modifica o crea i tuoi tiddlers\n**per cambiare [[Titolo di Pagina]], [[Menù Principale]], [[Sottotitolo di Pagina]] od altre opzioni edita i [[Tiddler Speciali]]\n#clicca su save changes nel menù laterale destro per salvare le modifiche. (firefox ti avviserà per tre volte, seleziona il box 'non ricordarmelo più' per evitare le altre videate.\n#TiddlyWiki farà prima una copia di backup del vecchio file per sostituirlo poi con la nuova versione.\n\nThis tiddler is only slightly modfied from the entry on the TiddlyWiki home site. \n\nYou can save changes if you're using Firefox or Internet Explorer:\n* if you're using Internet Explorer on Windows XP you might run into [[ServicePack2Problems|http://www.tiddlywiki.com/#ServicePack2Problems]]\n\n# right click on [[this link|#]] and select 'Save link as...' or 'Save target as...' (as you learned in EasyToCarry)\n** choose where to save the file, and what to call it (but keep the .HTML extension)\n# open the newly downloaded file in your browser\n# click the 'options' button on the right to set your username\n# edit, create and delete the tiddlers you want\n** you can change the SpecialTiddlers to change the SiteTitle and MainMenu etc.\n# click the 'save changes' button on the right to save your changes (note that Firefox will give you as many as three security warnings. It's OK, just click Allow or check the "don't warn me again" box.)\n# TiddlyWiki will make a backup copy of the existing file, and then replace it with the new version\n
|!Per scaricare questo ''tutorial''| Tasto destro [[ qui |http://spazioinwind.libero.it/mat01/TiddlyWikiTutorialITA.htm]] e salva con nome |
In modifica:\n*''Ctrl+Invio'' per chiudere la finestra caricando le modifiche effettuate\n*''Esc'' per chiudere la finestra annullando le modifiche effettuate\n\nNel comando Trova:\n*''Esc'' per cancellare il termine inserito\n\nAccess keys are shortcuts to common functions accessed by typing a letter with either the 'alt' (PC) or 'control' (Mac) key:\n|!PC|!Mac|!Funzione|\n|Alt-F|Ctrl-F|Trova|\n|Alt-J|Ctrl-J|NewJournal|\n|Alt-N|Ctrl-N|NewTiddler|\n|Alt-S|Ctrl-S|SaveChanges|\nThese access keys are provided by the associated internal [[Macros]] for the functions above. The macro needs to be used in an open tiddler (or the MainMenu or SideBar) in order for the access keys to work.\n\nWhile editing a tiddler:\n* ~Control-Enter or ~Control-Return accepts your changes and switches out of editing mode (use ~Shift-Control-Enter or ~Shift-Control-Return to stop the date and time being updated for MinorChanges)\n* Escape abandons your changes and reverts the tiddler to its previous state\n\nIn the search box:\n* Escape clears the search term\n\nWhile editing a tiddler:\n* Control-Enter or Control-Return accepts your changes and switches out of editing mode\n* Escape abandons your changes and reverts the tiddler to its previous state\n\nIn the search box:\n* Escape clears the search term
* If I start to edit one of those, does it completely overwrite and thus null out the origional shadow styles, or do the shadow styles still creep through? In otherwords - do I still have to override what's in the shadow stylesheets just like I used to have to override the 'hard-coded' styles in the .36 and earlier world?\n<<<\nHere's how it works:\n\nThe Layout css styles are loaded. If a tiddler exists with the name 'StyleSheetLayout' then those styles are used and the original shadowed tiddler's content is completely ignored. Next, the StyleSheetColors tiddler is loaded. If there is a tiddler with that name then it is used, otherwise the default shadowed tiddler is loaded. Finally, the StyleSheet tiddler is loaded and it will require oaveriding and CSS styles that were loaded earlier.\n\nHere's how I would recommend overriding the styles for personal use:\nTechnique A\n# Open up the shadow tiddler StyleSheetColors\n# Edit it and change the values you want.\n# Repeat with the StyleSheet Layout\n\nIf you want to make your style modular and reuseable by others, you should plan on over-riding the other styles to garantee that you will cover all your bases. I would do it the following way:\n\nTechnique B\n#Open up the shadow tiddler StyleSheetColors\n#Edit it and rename it to 'StyleSheet' (This makes a copy of the color shadow tiddler, so you can be sure that you don't miss any CSS rules)\n#Alter the colors as you like and change any other things you like. I frequently will review the layout shadow tiddler to make sure that I know which rules I'm overiding.\n\nUse technique A to get started, then technique B is more advanced.\n<<<
<<search>><<closeAll>><<permaview>><<newTiddler>><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel Opzioni 'Apre/Chiude le Opzioni Avanzate'>>
Impara le Basi di TiddlyWiki
TiddlyWikiTutorial in ItAliano
http://spazioinwind.libero.it/mat01/
!Codice\n{{{\n<<slider chkTestSlider OptionsPanel Opzioni "Apri le Opzioni Avanzate">> Fa apparire/scomparire il tiddler desiderato\n}}}\n\n!Esecuzione\n<<slider chkTestSlider OptionsPanel Optioni "Apri le Opzioni Avanzate">>\n\n!Parametri\n* indica nome del cookie usato per salvare il dato\n* nome del tiddler da far slittare\n* titolazione della macro\n* testo della tip (nuvoletta) alla macro
!Codice\n{{{\nLe sparklines (linee scintillanti) vengono usate per creare dei piccoli ed accurati grafici. \nSono state inventate da EdwardTufte, autore di rilievo nel mondo dell'informazione visiva. \nL'aspetto intrigante delle sparklines è che vengono create direttamente in linea usando caratteri testuali senza supporto alcuno dal lato server . \nLa serie seguente <<sparkline 163 218 231 236 232 266 176 249 289 1041 1835 2285 3098 2101 1755 3283 3353 3335 2898 2224 1404 1354 1825 1839 2142 1942 1784 1145 979 1328 1611>> \nsegnala la misura dell'attività del sito www.tiddlywiki.com nel mese di Aprile 2005.\n}}}\n\n!Esecuzione\nIndice di attività del sito www.tiddlywiki.com nel mese di Aprile 2005:\n<<sparkline 163 218 231 236 232 266 176 249 289 1041 1835 2285 3098 2101 1755 3283 3353 3335 2898 2224 1404 1354 1825 1839 2142 1942 1784 1145 979 1328 1611>>
/*Cambia qui le informazioni di stile*/\n\n
Un tiddler è un piccolo frammento di informazione su un argomento specifico. Può contenere testi, immagini, tabelle, elenchi e collegamenti esterni. Vedi come farlo in [[Facile da Editare]]\n\n...Una volta aperto il tiddler ha un suo menù di comandi specifici...\n \nUna volta finito di consultare il tiddler lo puoi nascondere cliccando sul comando corrispondente del suo menù.\nProva con questo tiddler..\n\n\nA Tiddler is a little chunk of information about a particular topic. It can contain text, images, tables, lists, or even external links, which you can find out all about in EasyToEdit.\n\nWhen you're done looking at any particular Tiddler, you can make it go away by moving the mouse over it and clicking the "close" link that appears. Try it on this tiddler!
*Ecco la lista dei tiddler speciali editali a tuo piacimento.. tutte le modifiche effettuate saranno immediatamente attive.\n\n*MainMenu\nRiporta tutti i collegamenti visibili nel menù principale a sinistra in alto del Wiki. \n*SiteTitle\nTitolo del wiki visibile sulla barra della finestra del browser.\n*SiteSubtitle\nSottotitolo del wiki visibile sulla barra della finestra del browser.\n* DefaultTiddlers\nElenca i tiddler visibili all'apertura del Wiki.
I tiddlers mancanti sono stati creati ma sono ancora vuoti. Questi tiddler sono elencati nel corrispondente menù della barra laterale. Usa questa caratteristica per vedere quali sono i tiddlers ancora da editare. \n \nMissing tiddlers are ones that have been linked to, but don't have anything in them yet. Use this feature to see what tiddlers you need to work on. It can be found under the More tab in the sidebar.
Versione <<version>>
Its useful to understand the structure of a web page so you can 'describe' in your styles which element (like div, a, or #contentWrapper) you are coloring. For simplicity I'll only include elements that you would want to style. (Firefox extensions make this easier and somwhat automated.) I hope to make this list collapsable in the future to improve legibility.\n\n*html\n**body\n***div#contentWrapper //Use this for [[Centering the TiddlyWiki]] or [[Increasing specificity]]//\n****div#header\n*****div#titleLine\n******span.siteTitle //The site's title (content is controlled by the SiteTitle tiddler)// \n******span.siteSubtitle //The site's subtitle (content is controlled by the SiteSubtitle tiddler)//\n****div#sidebar //The sidebar on the right//\n*****div#sidebarOptions //The sidebar that contains the seach box (content is controlled by the SideBarOptions tiddler)//\n******div.sliderPanel //This is the panel containing the option checkboxes (content is controled by the OptionsPanel tiddler)//\n*****div#sidebarTabs //The sidebar with the tabs (content is controlled by the SideBarTabs tiddler) //\n******div.txtMainTab //The class name is determined by the tab generating macro//\n*******div.tabset //The tabs are contained in the tabset//\n********a.tab.tabSelected\n********a.tab.tabUnselected\n*******div.tabContents\n****div#mainMenu\n****div#displayArea\n*****div#messageArea\n*****div#tiddlerDisplay\n******div#tiddlerTiddlerName.tiddler //The TiddlerName part of the id is customized per tiddler (See [[Tiddler IDs]]) //\n*******div.unselectedTiddler //This div's class changes to .unselected when the mouse hovers over it. //\n********div#toolbarTiddlerName.toolbar\n********div#titleTiddlerName.title\n********div#bodyTiddlerName.body //This div and its children (.viewer and .footer) change when editing (see [[Editor Structure]]) //\n*********div#viewerTiddlerName.viewer\n**********div#popup //The popup is generated in a number of places but it uses the same code (see [[Styling the popup]]) //\n***********hr //The horizontal rule exists in all popups//\n*********div#footerTiddlerName.footer\n**********div //This div holds the tags listing//
Bello vero ? \n\nHai appena aperto il tuo primo[[Tiddler]]. Un [[Tiddler]] è un frammento di informazione di MicroContenuti su un particolare argomento. Questo frammento è uno dei motivi che rendono TiddlyWiki così potente. La mente umana non è fatta per fruire pienamente di lunghi flussi di informazione, anzi assume molto meglio le informazioni sotto forma di piccoli blocchi.\n\nAltre due cose rendono TiddlyWiki potente.. è [[Facile da Editare|Editabile]] ed è [[Facile da Trasportare|Trasportabile]] .\n\nWasn't that cool?\n\nYou've just opened your first [[Tiddler]]. A [[Tiddler]] is a chunk of information, or MicroContent, about a particular topic. This chunking of information is part of what makes TiddlyWiki so powerful. Human minds are not built to take in long passages of information very well; we're a lot better at taking information in little tiny chunks. \n\nThere are two other things that make TiddlyWiki so powerful: It's EasyToEdit and EasyToCarry.
Diciamo che per qualche ragione vuoi creare un Tiddler con molti titoli. Separa i Titoli in righe ed aggiungi un punto esclamativo (!)ad inizio riga, aggiungi altri punti esclamativi per creare i sottotitoli\n!Titolo1\n!!Sottotitolo1\n!!!sottotitolosecondario1\nEcco il codice per il blocco superiore di titolazione\n{{{\n!Titolo1\n!!Sottotitolo1\n!!!Sottotitolosecondario 1\n}}}
Per creare un tiddler con una [[Non Wikiparola]] basta richiudere il suo titolo tra ([[due coppie di parentesi quadre]]). Apri questo tiddler per vederne un esempio. Dopo averlo chiuso, puoi cliccare sul collegamento per editare il nuovo tiddler. I collegamenti a tiddler titolati con una [[Non Wikiparola]] permettono di usare set di caratteri che non dispongono di maiuscole e minuscole. \n\nTo make a tiddler that doesn't have a WikiWord as it's name, you can enclose the name in [[double square brackets]] - edit this tiddler to see an example. After saving the tiddler you can then click on the link to create the new tiddler. NonWikiWordLinks permits tiddlers to be created with names that are made from character sets that don't have upper and lower case.
Una delle migliori caratteristiche di TiddlyWiki è la sua trasportabilità. Per salvare tutto il wiki, clicca sul tasto destro del mouse [[qui|#]] e seleziona 'Salva Collegamento...' o 'Salva oggetto con nome...'\n\nIn questo modo hai appena salvato l'intero tutorial sul tuo disco in un solo file. Tutti i [[Tiddler]], le informazioni di stile e le parti di Javascript che fanno funzionare questo sito vengono riportate in un singolo file HTML. Nessun database. Nessuna struttura di file complicata. Un solo file.\nL'unica eccezione sono le immagini vedi [[Incorporare le Immagini]] per saperne di più.\n\nPotrai trasportare tutto questo in uno stick di memoria vedi WikiPenna. \nDopo la modifica potrai ricaricare il file sulla tua pagina personale senza avere a che fare con procedure complicate .\n\nOra che hai scaricato la tua copia di TiddlyWiki vai a [[Salvare le tue modifiche]]\n\n\nOne of the best features of TiddlyWiki is that it's very portable. To save this entire wiki to your hard drive, right click [[here|#]] and click 'Save link as...' or 'Save target as...'. \n\n\n\nYou have now downloaded the entire tutorial in just one file. Every [[Tiddler]], all of the style information, and all of the javascript program that makes the site work is contained in a single HTML file. No databases. No complicated file structures. Just one file.\n\nThe only exception to the one-file rule is images, which you can learn more about in HowToEmbedImages.\n\n\nYou can carry this around with you as a [[WikiOnAStick|http://www.tiddlywiki.com/#WikiOnAStick]]. After you modify it, you can upload this one file as your own personal webpage without having to go through complicated installation procedures. \n\nNow that you've downloaded your own copy of TiddlyWiki, you can now find out HowToSaveYourChanges.
config.macros.list["untagged"] = {prompt: "Tiddlers senza etichetta"};\n\nconfig.macros.list.untagged.handler = function(params)\n{\n//displayMessage("Building list of untagged tiddlers");\nvar results = [];\nfor(var t in store.tiddlers) {\nvar tiddler = store.tiddlers[t];\nif(tiddler.getTags() == "")\nresults.push(t);\n}\nresults.sort();\nreturn results;\n}
This is a [[CustomMacro|CustomMacros]] "borrowed" from [[TiddlyStyles|http://15black.bluedepot.com/]]. It lists all the tiddlers that don't have any tags yet.\n\n<<list untagged>>\n\nCode:\n\n{{{\n<<list untagged>>\n}}}
I testi monospaziati o proporzionati considerano tutti i caratteri come avente un uguale spessore. Così mentre nei font normali la i è più sottile della z nei {{{testi proporzionati, i e la z hanno lo stesso spessore}}}\n\nLa <<tag Formattazione>> e le [[macro|Macros]] non vengono eseguite se inserite come caratteri proporzionati. Vedi :\n{{{\n<<today>>\n}}}\n\nPer inserire del testo proporzionato includerlo tra tre coppie di parentesi graffe:\n{{{\n{{{Questo è testo proporzionato}}}\n}}}
!Codice\n{{{\n<<version>> Mostra la versione di questo TiddlyWiki \n}}}\n!Execution\nDocumento redatto con la versione di ''Tiddly Wiki'' n. <<version>>\n
Una WikiParola si compone di varie parole attaccate con le prime lettere in maiuscolo. La notazione WikiParola nel WikiWikiWeb convenzionale crea delle pagine web vuote mentre in TiddlyWiki crea intestazioni di [[microcontenuto|MicroContenuti]]. Digitando una WikiParola si crea un collegamento ad un tiddler che selezionato lo apre in modalità di modifica per permettere di editarlo. \nQuesta terza versione di TiddlyWiki permette anche di [[Non intestare le WikiParole]].\n\n<<<\nA WikiWord is a word composed of a bunch of other words slammed together with each of their first letters capitalised. WikiWord notation in a conventional WikiWikiWeb is used to name individual pages while TiddlyWiki uses WikiWord titles for smaller chunks of MicroContent. Referring to a page with a WikiWord automatically creates a link to it. Clicking on a link jumps to that page or, if it doesn't exist, to an editor to create it. This third version of TiddlyWiki also adds NonWikiWordLinks.
Salvare il tuo Wiki su una penna usb, ti permette di trasportare un'agenda di AutoContenuti che potrai editare ovunque purchè tu disponga di un computer abbastanza recente, indipendentemente dalla piattaforma, che si tratti di un PC un Mac o un Linux vanno tutti bene. (E' anche possibile installare Firefox sulla penna per navigare con il tuo browser preferito contenente le tue configurazioni personalizzate [[per info vedi|http://www.mozilla.org/support/firefox/tips#oth_usb]] ) \n
<<<\nUn wiki è un modo di costruire siti web in collaborazione. Si basa su concetti come la facilità di editare le pagine e l'uso di annotazioni di parola speciali come la WikiParola che crea 'automagicamente' collegamenti tra le diverse pagine. Vai su Wikipedia per [[maggiori dettagli|http://en.wikipedia.org/wiki/Wiki]].\nTiddly Wiki si differenzia dai Wiki convenzionali perchè non crea pagine intere ma piccoli frammenti di Microcontenuto denominati [[Tiddler]]\n<<<\nThis [[Tiddler]] was copied and pasted from the TiddlyWiki home site.\n\nA Wiki is a popular way of building collaborative websites. It's based on the ideas of easy editing of pages and the use of special WikiWord notation to automagically create links between pages. See Wikipedia for [[more details|http://en.wikipedia.org/wiki/Wiki]]. TiddlyWiki is different from a conventional Wiki because it is not based on entire pages of content, but rather items of MicroContent that are referred to as 'tiddlers'.
version.extensions.email = {major: 0, minor: 1, revision: 1, date: new Date("Jul 22, 2005")};\nconfig.macros.email = {}\nconfig.macros.email.handler = function(place,macroName,params)\n{\nvar temp = params.join(" ");\ndata = temp.split("?");\nvar recipient = data[0];\nrecipient = recipient.replace(" at ","@").replace(" dot ",".");\nrecipient = recipient.replace(/\ss/g,"");\nvar optional = data[1] ? "?" + data[1] : "";\nvar theLink = createExternalLink(place,"ma"+"il"+"to:"+recipient+optional);\ntheLink.appendChild(document.createTextNode(recipient))\n}\n
///////////////////////////////////////////////////////////////\n// Requires http://www.digitaldimsum.co.uk/#_.FunctionDecorator\n///////////////////////////////////////////////////////////////\nconfig.options.txtBackupDir = "backup";\nconfig.shadowTiddlers.OpzioniAvanzate += "\sn\sn Backup Subdirectory: <<option txtBackupDir>>\sn ";\n\nfunction alterBackupDir(args) {\n var path = args[0];\n var re = new RegExp("\s.[0-9]+\s.html");\n if (re.test(path)) {\n var backSlash = true;\n var dirPathPos = path.lastIndexOf("\s\s");\n if (dirPathPos == -1) {\n dirPathPos = path.lastIndexOf("/");\n backSlash = false;\n }\n var backupPath = path.substr(0,dirPathPos) + (backSlash ? "\s\s" : "/");\n backupPath += config.options.txtBackupDir + path.substr(dirPathPos, path.length - dirPathPos);\n \n args[0] = backupPath;\n }\n return args;\n}\n\nAspects.addBefore(this,"saveFile",alterBackupDir);\n
Ecco un esempio di come titolare i tiddler con una [[Non Wikiparola]] .\n\nAn example of how to make NonWikiWordLinks.
Aggiungi questa etichetta per escludere il tiddler dalle liste della barra laterale.
Aggiungi questa etichetta per escludere il contenuto del tiddler dai risultati della ricerca avviata nella barra laterale.
var heads=document.getElementsByTagName("head")\nfor (var i=0; i<heads.length; i++) {\nvar n =document.createElement("link");\nn.rel ="shortcut icon";\nn.href ="http://www.tiddlywiki.com/favicon.ico";\nheads[i].appendChild(n);\n}
*code\nlink rel="shortcut icon" href="favicon.ico"\n*link\nhttp://spazioinwind.libero.it/mat01/favicon.ico
Until Clint gets more free time, I can tell you how I did it. First ya need\na bit of code and I think I got this from Clint actually :)\n\n*// and for the horizontal main menu (embedding it in the top div)\nvar TWheader = document.getElementById('header');\nTWheader.appendChild(document.getElementById('mainMenu'));\n\n*It just takes the main menu, and puts it in the header... Simple and not\nsubtle.\nThen to style it layout wise - add a #mainMenu selector to your style sheet\nand work the margin & padding untill you get it right. To keep it horizontal\nI do a: #mainMenu br { display:none; }\nYou may also have to style any sub-elements in there as well. I have a list\nin my main menu so I end up with this:\n\n#mainMenu{\nposition: static;\nwidth: auto;\ntext-align: left;\n\n}\n\n#mainMenu ul {\nmargin: .25em;\n\n}\n\n#mainMenu li{\ndisplay: inline;\nlist-style-type:none;\nmargin: 0em .5em 0em .5em;\nline-height: 100%\n\n}\n\n#mainMenu br{\ndisplay: none;\n\n}\n\n#mainMenu .externalLink,\n#mainMenu .tiddlyLinkExisting,\n#mainMenu .button {\ntext-decoration: none;\nline-height: 100%\nmargin: 0;\npadding: 0;\n\n}\n\nI'm pretty sure I've 'over styled' this but it works...\n\nPaul
<<tiddler SideBarOptions>>\nSideBarOptions
I tiddler etichettati con systemConfig, contengono il codice Javascript delle MacroPersonalizzate\n\nTiddlers tagged with the systemConfig tag contain Javascripts for CustomMacros.
Questa etichetta caratterizza i tiddlers il cui contenuto viene usato per creare parafernalia sul tipo del menù principale, del titolo della pagina o della barra laterale. Questi tiddler vengono riportati nel documento salvato attivando l'opzione avanzata 'SalvaModelloVuoto' .