> I would like to use TiddlyWiki to hold a small dictionary (300-1000 > entries, columns 'English', 'French', 'Description') > > Do you think that this is possible with TiddlyWiky? Any examples, > plugins, teplates available for this usage ?
You can definitely do this in TiddlyWiki. Here's one basic method: First, define the dictionary entries, using a separate tiddler for each entry, where each tiddler contains 'slices' (name:value pairs) for each language of interest, followed by a 'tiddler section' (a named *part* of a tiddler) with the definition for that entry... something like this: ----------------------------- English: Hello French: Bon jour !Definition This section content can be multiple lines if needed and continues to the end of the tiddler. ----------------------------- You can give the tiddler any title you like, as long as it is unique. I suggest using the same text as the word being defined, using your primary language (e.g., if English is your primary language, then the above tiddler would be entitled "Hello", if French is your primary language, then it would be entitled "Bon jour"). You should also tag the tiddlers to identify them as dictionary entries so they will be easy to find later on... a simple keyword like "entry" will do just fine. Next, dyamically generate the desired tabular output. You can use http://www.TiddlyTools.com/#InlineJavascriptPlugin to embed the following script in a tiddler: <script> var out=[]; var row='|%0|%1|%2|'; out.push('|English|French|Description|h'); // headings var tids=store.getTaggedTiddlers('entry'); for (var i=0; i<tids.length; i++) { var en=store.getTiddlerSlice(tids[i].title,'English'); var fr=store.getTiddlerSlice(tids[i].title,'French'); var d='<<tiddler [['+tids[i].title+'##Description]]>>'; out.push(row.format([en,fr,d])); } out.push('|sortable|k'); // table class return out.join('\n'); </script> Note use of the 'sortable' class designation in the above table output. If you install http://tw.lewcid.org/#TableSortingPlugin then clicking on a table heading (English, French, or Description), will sort the table contents by that column. QED. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

