TW5: Add Tiddlers to existing wiki programmatically

213 views
Skip to first unread message

TJ Hoeft

unread,
Jun 18, 2015, 6:04:25 PM6/18/15
to tiddl...@googlegroups.com
All,
I'm planning to use TW5 to organize a set of experimental outputs: configuration parameters, output CSV files (relative path references), input files (sounds) and output images.  I want to use TW5 as the main entry point for interacting with this data as a dashboard.  I would like the code to populate a base TW5 template from Java.  Any ideas how I could do this?
Thanks ahead of time,
TJ

PMario

unread,
Jun 18, 2015, 7:48:09 PM6/18/15
to tiddl...@googlegroups.com
Hi TJ,

TL;DR
If you can create a bunch of text files, that contain your tiddler content and if you can create some .meta text files that describe your sound and image files, imo TW can handle it.

--------------

More details, but still a bit simplified.

If you can create several text files like this:

eg:

filename: myTiddler.tid

title: tiddler name
tags: [[tag with spaces]] tagWithoutSpaces
created: 20150619013100

Your Content comes here.


TiddlyWiki can import these files, with drag and drop or you can build it with the command line programm
eg: tiddlywiki editions/myEdition --build index

Handling image and sound files is possible too.

eg:
the sound file is named mySound.mp3
You need to create a matafile like this: mySound.mp3.meta  that contains the following

titel: mySound.mp3
tags: aaa bbb ccc


The same thing works with images. .... BUT ... be aware. If you have many big files, they should be linked into the TW file, and not included. As you wrote "(relative path reference)"

editions/myEdition ... is just a directory structure, that we call an edition. An edition consists of many single file tiddlers, that can be built into a tiddlywiki.html file.

I'm sure there are some more questions, but It should be enough to get the conversation started ;)

have fun!
mario

TJ Hoeft

unread,
Jun 18, 2015, 8:00:20 PM6/18/15
to tiddl...@googlegroups.com
Thank you!  I will give this a try.
TJ

PMario

unread,
Jun 19, 2015, 5:40:47 AM6/19/15
to tiddl...@googlegroups.com
On Friday, June 19, 2015 at 2:00:20 AM UTC+2, TJ Hoeft wrote:
Thank you!  I will give this a try.
TJ

If questions come up, just ask.
-m

cacs

unread,
Jun 19, 2015, 2:34:11 PM6/19/15
to tiddl...@googlegroups.com
TJ,

I am a long time TW user but I think IPython Notebooks are better for what you intend to do.

cacs

TJ Hoeft

unread,
Jun 19, 2015, 8:18:01 PM6/19/15
to tiddl...@googlegroups.com
Thank you! I will check it out.
TJ 
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/dXcw91GwKyQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/33d1b663-8c58-412e-8918-1640be7cbd46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages