Hi, <<saveStory storyname label tooltip tag tag tag...>> can tag your stories with additional tags. eg. myTag
DefaultTiddlers [tag[myTag]] [[one]] will open all tiddlers tagged myTag plus tiddler one. regards Mario On Feb 15, 11:22 am, RA <[email protected]> wrote: > Since I already use StorySaverPlugin I was hoping that Eric would > modify it so setTiddler and showStory are more "API-like". Then I > would just reuse those in my scripts. > > Your code is perfectly fine and will do the job, but StorySaverPlugin > has some nice features on top of that. > > Thanks. > > --R > > On Feb 15, 12:58 am, Morris Gray <[email protected]> wrote: > > > > > > > > > On Feb 15, 1:16 pm, RA <[email protected]> wrote: > > > > The reason is I want a story that is the same across computers and at > > > the same time different for two different wikis. So cookie doesn't cut > > > it. > > > The theory behind this solution is that, by you wanting the 'story' > > loaded on start-up, we can use the DefaultTiddlers tiddler to do the > > loading. > > > This script will insert the currently open tiddlers titles, i.e. > > 'story', into the DefaultTiddlers tiddler, therefore allowing you to > > use it in any number of TiddlyWikis without interfering cookies. > > > <script label="Save Story"> > > var out = "" ; > > var title="DefaultTiddlers"; > > story.forEachTiddler( > > function (title, element) { > > out += "[["+title+"]]\n " ;}); > > > store.saveTiddler(title,title,out); > > </script> > > > Morris Gray > > > On Feb 15, 1:16 pm, RA <[email protected]> wrote: > > > > I would like to save the story to a tiddler (without ever displaying > > > this created/updated tiddler) every time I save the wiki, and load > > > that story automatically on startup. > > > > The reason is I want a story that is the same across computers and at > > > the same time different for two different wikis. So cookie doesn't cut > > > it. > > > > Can StorySaverPlugin be adapted to my case? > > > > Thanks > > > > --R -- 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.

