I'm thinking that this maybe worth a plugin. From within tiddlywiki, and only in the node versions (node.js and node-webkit). At the control pannel, for example, you select the folders you wan to include, and the plugin will scan them recursively (just the newly added folders, and the older ones on demand). Then the plugin will add the scanned files to the tiddlywiki.files file in the same directory than the wiki is. This is self-contained within tiddlywiki and does not pollute the scanned folders. The only problem here is the routes: is there any way to make the routes linux and windows compatible? I know that it is possible with relative routes, but what about absolute ones?
Sounds this feasible? Regards. El miércoles, 28 de enero de 2015, 23:18:17 (UTC+1), Danielo Rodríguez escribió: > > > > El miércoles, 28 de enero de 2015, 22:51:04 (UTC+1), Jeremy Ruston > escribió: >> >> Hi Danielo >> > > Hello Jeremy, > > Wikis imported via importWikis should get your modified title handling >> though, are you sure that they are not? > > > Yes they are. This is a small mix of confusing things from my side. For > some reason I "lived in a reality" where tiddlers created under default > tiddlers location were loaded at boot. Also I got a tiddlywiki.files file > on the wiki I was importing. Now I removed that file it is importing the > files at the tiddlers sub-folder of the wiki being imported . It is > behaving as expected. The big confusion for me, as I said, is that I was > expecting tiddlers at default tiddlers location to be loaded also. > > >> >> "default-tiddlers-location" is currently only used for writing newly >> created tiddlers; tiddlers aren't automatically read from it during >> startup. >> > > What is the added value of this feature then? You create tiddlers that are > displayed until you reboot the server. This is confusing (for me it was!! > it took a complete read of filesystem.js to understood). > > I have plans to use TW as a centralized index for certain folders. This is > accomplished with a small TW subfolder on the folder that I want to include > on the index. Something like git does. > There are two ways to do this: > > - something like git, where you have to build the index again when > you add new files, > - With tiddlywiki automatically scaning the folder pointed by > "default-tiddlers-location" > > > The structure is like this > > Folder with files > |_Regular files > |_Regular files > |_TW folder > |_ tiddlywiki.info > |_shell.script to build tiddlywiki.files. It points to its parent > directory > |_ tiddlers/tiddlywiki.files > > Then when you add new files, you just run the shell.script to build again > the tiddlywiki.files file. Similar to git add. This have the advantage that > you can define sets of rules on which tags add, pre and post sections and > so on based on extension, but it depends on you building the index. I is > soo close right now to the automatically load process directly from TW5 > that is frustrating to not reach that objective. Could you point me in the > good way of doing this? Maybe editing the loadtiddler function > from filesystemadaptor ? > > Regards > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.