OK, that makes sense. You can work around the edit conflicts for a particular tiddler by setting the "server.page.revision" field to the string "false". Then, whenever that tiddler is saved, it is just jammed over the previous value, without concern for whether another user has modified it. There are more details in this thread:
http://groups.google.com/group/tiddlyweb/browse_thread/thread/3fc5f2e0ebc64d63/04d322348c730d19?show_docid=04d322348c730d19 However, it sounds like in your scenario this would still cause problems by overwriting and losing data. An alternative might be to generate the name of the log file tiddler from the current username (so my stuff is logged to "log_Jermolene" and Matt's to "log_matt"); Best wishes Jeremy On Thu, Apr 14, 2011 at 3:28 PM, teukon <[email protected]> wrote: > Yes, some form of callback would be good here. I've had a //very > brief// glance on line for documentation on this but came up empty- > handed. I'm afraid I'll be quite busy over the next couple of days > and this feature is not of critical importance so I think I'll leave > it for now. > > A little more detail about what I was trying to do if you're > interested: > Essentially I want to have a specific named tiddler to act as a log > file for my macro. Whenever my macro is called an entry is made in > the log by grabbing the text for the log tiddler, adding a line to the > start, calling {{{store.saveTiddler(...)}}} to set the text, and > finally calling {{{autoSaveChanges()}}}. > > But when two people are using the site it is very easy for this log > tiddler to start giving the overwrite/cancel message about conflicting > versions. I can accept this for regular tiddlers where one might be > editing for 30mins or more but it seems this ought be rarer in the > case of a simple log. > > Are tiddlers the appropriate objects for keeping logs? If so do you > think it's possible to design a dumb/simple log that uses a callback > or similar to add a line to the end of the most recent version > available on the server? I'm thinking of a macro <<log>> which simply > posts "I'm a log entry.\n" to the start of a tiddler. > > I was originally also doing some clean-up; reducing the size of the > log if its text is longer than 200 lines. > > Thanks for all your help. > > -- > 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. > > -- Jeremy Ruston mailto:[email protected] http://www.tiddlywiki.com -- 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.

