TiddlyDesktop icon indicating copy to clipboard operation
TiddlyDesktop copied to clipboard

Does TD support folders for TiddlyWiki Classic?

Open YakovL opened this issue 7 years ago • 7 comments
trafficstars

Hi Jeremy, I've downloaded TD to test several ideas with it, one thing I was hoping to do is to edit .tid files from TWc repository to further build TWc site with it (another thing I was thinking about is to edit plugins in TWs but also send .tid files to github). But trying to open the content folder (with TWc's site .tid files) showed me this: Looks like a TW5 with no tiddlers at all (some missing system tiddlers?)

So TD doesn't support "folders" for TWc, does it? If so, why those files are not treated as TW5 tiddlers and I get this result? Perhaps it may be ok to edit those in TW5 interface, so I just have to "fix" it somehow. Best regards, Yakov.

YakovL avatar Jun 19 '18 19:06 YakovL

Hi @YakovL I'm afraid TiddlyDesktop only supports wiki folders for TiddlyWiki 5, but you could indeed use it to edit the tiddlers within TW5 for later use within TiddlyWiki Classic. The tw2parser plugin is useful for displaying TWC text within TW5.

Jermolene avatar Jun 20 '18 14:06 Jermolene

I see. But do you have any idea why I see the interface like that? Search doesn't show any results as well so it looks like empty TW5 with broken styles.. Does .tid format differ for TWc and TW5? Is there some description of it somewhere?

YakovL avatar Jun 20 '18 21:06 YakovL

Hi @YakovL you're ending up with a TW5 HTML file that has TWC tiddlers in it, and that lacks the standard $:/themes/tiddlywiki/* theme plugins. So it's displaying as a broken TW5; you can fix it by adding the themes to your tiddlywiki.info file:

{
	"description": "My Wiki",
	"plugins": [
		"tiddlywiki/tw2parser",
		"tiddlywiki/tiddlyweb",
		"tiddlywiki/filesystem"
	],
	"themes": [
		"tiddlywiki/vanilla",
		"tiddlywiki/snowwhite"
	]
}

Jermolene avatar Jun 21 '18 07:06 Jermolene

(I edited the comment above to add the tiddlyweb and filesystem plugins, which will be required for saving tiddlers back to the file system).

Jermolene avatar Jun 21 '18 07:06 Jermolene

Hi Jeremy, I'm not sure what's tiddlywiki.info file is (I can't see one in TD's folder or even in the content folder). Should I create one? Is this what are talking about?

..right, creating one inside the content folder worked.. but only to fix the interface, the wiki still seems to be empty: image

YakovL avatar Jun 22 '18 17:06 YakovL

Hi @Jermolene, any ideas here? Is it reproducible for you? (should be easy: just clone the TWc repo, add tiddlywiki.info into content/ and try to open folder with TD)

YakovL avatar Jul 01 '18 13:07 YakovL

Hi @YakovL you might want to check the TiddlyWikiFolders docs on tiddlywiki.com; it sounds like you're missing the "tiddlers" folder to contain the .tid files. Here's an example of a wiki folder:

https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/introduction

Jermolene avatar Jul 01 '18 17:07 Jermolene