El martes, 26 de mayo de 2015, 11:55:06 (UTC+2), Felix Küppers escribió: > > Hi Danielo, > > I faced the same problem with tiddlymap. When just renaming a tiddler, you > have no information about what was the original title and what were the > original fields. This makes it hard for any external db or even a plugin > (like tiddlymap) to track which original object changed. >
I knew, In fact I was thinking about your comments and your tickets when I was writing this. > Your problem of "losing related attachments" is not nice but you have NO > CHANCE to fix that as it is the tiddlywiki design and the same as > link-breaking when changing the title. > I do have a chance! please, don't tell me NO CHANCE, I get depressed easily :P You were my inspiration, your plugin is my inspiration! Reading this is impossible coming from you has more meaning than anyone else! I think that if I use some kind of unique id, I can avoid losing attachments and any information since I just have to update the content of the row, keeping the same ID. I would love to see Tiddlywiki assign a unique (=repeatedly choose highly > random value until unique) id to every tiddler it creates which cannot be > changed by the user and is hidden (like the e.g. the "draft.of" field we > cannot see or the "created" field that cannot be modified). So we can use > it for db operations or other. Tiddlywiki itself does not need to use this > id at all but it is nice for us to have it. > Exactly. TW does not need to change, it can still working the same, just assign an unique ID, even if you don't use it! Maybe a plugin for this can be created. A good plugin, focused on that task, only adding an unique ID to every tiddler. Then every plugin that needs an unique ID can ask the user to include this plugin. This have several advantages, one of them is that your plugin does not need to take care of ID generation. The other advantage is, if every plugin adds an unique id we will end with tiddlers with one unique id per plugin,a central place for IDs solves this. > Or should be treat the tiddler just as a collection of fields that we > store in a particular entry of our DB > > > Then you could as well use the title > I don't understand this last answer. Why should I use the title? That is indeed the problem! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fece2b72-2e87-4b73-81f8-8491691f27ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

