Batch create tiddlers

103 views
Skip to first unread message

Sonda

unread,
Nov 24, 2012, 11:59:14 AM11/24/12
to tiddl...@googlegroups.com
Hi all,

I'm trying to import a list of chinese words into a tiddlywiki file, in which every tiddler's title is one of the words in my list (written in chinese characters), while the tiddler's text is its definition in italian.

I've seen that it is possible to split a text file into several tiddlers (here: https://groups.google.com/forum/?fromgroups=#!topic/TiddlyWiki/X-WkyHuq5A0), it shouldn't be difficult.

What is blocking me is that I want every tiddler to be tagged with each of the chinese characters making up the words in the list (for example: the tiddler 汉字 must be tagged with 汉 and 字, separately).
This way I can see in which words is contained a given character.

I don't have any clue about how to do it: do you think it is possible? If so, could you give me a hint?

Thanks!

PMario

unread,
Nov 24, 2012, 1:33:31 PM11/24/12
to TiddlyWiki
Eric Shulman did a tool to convert CSV text files into multiple
tiddlers.
see:
http://www.TiddlyTools.com/#CreateTiddlersFromCSV

your format would be:

title,modifier,tags,text
汉字,yourName,汉 字,"definition in italian"

If you work with TiddlySpace, there is a modified version at
createtiddlersfromcsv space, that can save tiddlers to TS.

http://createtiddlersfromcsv.tiddlyspace.com/#CreateTiddlersFromCSV-MOD

I did a short test, and it should work.

hope this helps
have fun!
mario

Matteo Pavanati

unread,
Nov 24, 2012, 3:42:27 PM11/24/12
to tiddl...@googlegroups.com
Fantastic!
Eric did really think of everything. Now I just have to find a way to separate all the characters for the tag field and I'm done. I think I can manage to find a way to do to that, but if someone has a quick solution I'd really appreciate.

Thanks again PMario!


2012/11/24 PMario <pmar...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.


Sonda

unread,
Nov 25, 2012, 5:19:32 AM11/25/12
to tiddl...@googlegroups.com
Problem solved.




Reply all
Reply to author
Forward
0 new messages