Hi, I'm rather rusty and out of date on TW but the following link might at least get you part way: http://tiddlywiki.org/wiki/Dev:SetTiddlerTag
Also store.getValue(tiddler,"fieldname") gets you the value of a custom field. Regards, Julian Knight On Jun 10, 6:47 pm, wgw <[email protected]> wrote: > I would like to program TW a bit more. Here is what I have done so > far: > > I looked into the macro introduction on tiddlywiki.org and the > references materials at TWhelp; then the tutorial > athttp://softwareas.com/tiddlywiki-internals-1-of-3-architectural-concepts. > I have rummaged, fairly unsuccessfully, in the > brillianthttp://www.tiddlytools.com/insideTW/ (I think I need a full search > engine to find what I want there; like how to reference server.host, > for example. A search on "store" for example, does not show how store > is used.) > Alsohttp://hoster.peermore.com/recipes/tiddlywiki-reference/tiddlers.wiki. > > All that is great, and has got me off the ground (ok; off the ground > as in Wilbur and Orville's first flight; just barely up there with a > favorable wind), but now I'm looking for the next step(s). > > I learn best from examples. > > Could anyone recommend scripts at different levels of complexity? The > idea is to have some scripts (with or without comments) that go beyond > the helloWorld macro and introduce further dimensions of the code > base. I will of course begin looking for good examples myself (that's > one thing that makes javascript terrific: the code is *really* open!), > and honorably plagiarize what I find, with credit to original > authors, but I'm sure others have a better idea of good learning > scripts. > > Any suggestions for a helloWorld II, III, and IV? > > Thanks! > > (PS: I started looking into programming because I wanted to tweak a > set of tiddlers: take the server.host information for plugin sources > and put it as a tag or display it in the date line or in the tiddler > body. The problem was figuring out how to reference it in each > tiddler. As tiddler.server.host? But of course something like > <script>tiddler.server.host </script> is silly and produces only an > error.) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev?hl=en.
