Hi Danielo > I want to expand the TiddlyWiki universe. In order to do this I need to be able to manipulate tiddlers from third party software (my software in this case). I can build myself some functions to do so, but since TW is modular and most of my projects are javascript based, I would like to use a part of TW core instead. Which .js file can I use for this purpose? Just for creating new tiddlers and manipulating them? This includes serializing and that kind of things. I think that wiki.js is the right choice, but I think it has too many functions for me.
There are two ways to approach this: * Reuse individual JS modules from the TW core. Some of the utility methods that end up in $tw.utils would be easy to pick up. I'd be happy to consider refactorings that would make this easier in specific cases * Reuse the entire core code, as TiddlyDesktop does. Also see this example: https://github.com/Jermolene/TiddlyWiki5DemoApp Sadly, you can't really re-use the $tw.Wiki and $tw.Tiddler classes without having the whole of the core code there. The dependencies are too tight because that's what TiddlyWiki is, pretty much: those two classes plus a whole bunch of glue! Best wishes Jeremy On Sat, Feb 14, 2015 at 1:36 AM, BJ <[email protected]> wrote: > Hi Danielo, > your question a bit vague, what type of manipulation do you want? > The basic manipulations are in the boot, t > > > On Friday, February 13, 2015 at 2:41:05 AM UTC-6, Danielo Rodríguez wrote: >> >> Hello everyone, >> >> I want to expand the TiddlyWiki universe. In order to do this I need to >> be able to manipulate tiddlers from third party software (my software in >> this case). I can build myself some functions to do so, but since TW is >> modular and most of my projects are javascript based, I would like to use a >> part of TW core instead. Which .js file can I use for this purpose? Just >> for creating new tiddlers and manipulating them? This includes serializing >> and that kind of things. I think that wiki.js is the right choice, but I >> think it has too many functions for me. >> >> There are plans to release some kind of "TW library for manipulate >> tiddlers" ? >> >> Thanks in advance. >> > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" 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/tiddlywikidev. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
