Thanks for the reply. With your help I've been able to come a bit further, not all the way, but getting there.
I'm trying to find a way to refresh the story like you suggested, tried story.refreshAllTiddlers(); - not yet sure whether it's the function I'm after. I'm also having some problems getting tags over properly, they just break up into individual letters, as well as having problems getting the YYYYMMDDHHMM of modified to behave as a proper date. I'll go over the store and story .js u posted, see if something fits. Getting the tags in order I think is a good idea, if someone edits the tags of a tiddler, and that update doesn't transfer over, that's bad. Modified maybe doesn't matter that much for the normal user. Regarding the adaptor idea; I'm basically ajaxing the updates people are doing to the wiki, so I'm not interested in doing any kind of saving as I'd then be saving tiddlers into the SQL I'm already querying, I'm really just interested in adding the new/updated tiddler which have appeared in the SQL database since the person last refreshed the whole wiki, and for that I don't need to set the state to dirty or anything, just make sure that the updated information is getting into the store properly so if the user views/edits it, it behaves normally. So this is just about getting the updates which have happened since the user last refreshed the wiki. Hopefully with this the user won't have to refresh it unless the session expires. Regards, S. -- 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.
