Hi Mans, If you would like to create a lot of tiddlers from a spreadsheet, there's a simple method - put 'dummy' columns between your actual columns and fill them with the right json delimiters, paste the whole sheet as text into a file and save it and then drag it into TW. I can show you an example if you're interested.
Regards, Richard On Friday, May 22, 2015 at 6:12:31 AM UTC+10, Måns wrote: > > Hi Eric > > GREAT :-) > > Thank you very much for showing this simple solution for creating a lot of > tiddlers from a simple list! > > I can't help thinking that this sort of magic might allow for a little > more complex things like converting a csv list of tiddler names, tags, > standard and custom fields into tiddlers, simply by writing a simple macro > with variables for each field in an action-setfield widget call... > > I guess I'm just having a little daydream here - however It would be very, > very nice to drag a csv file to a TW - click a button and kazaam - > (example) answers to your google docs forms are magically turned into > tagged tiddlers with content... > > Cheers Måns Mårtensson > > Den torsdag den 21. maj 2015 kl. 20.47.50 UTC+2 skrev Eric Shulman: >> >> On Thursday, May 21, 2015 at 11:26:51 AM UTC-7, Mark S. wrote: >>> >>> I would like to create a bunch of new tiddlers (preferably not in draft >>> mode) from a list contained in a separate tiddler (it could be an existing >>> data tiddler if necessary). >>> In other words, can I iterate through a list, generating new tiddlers? >>> I could do this sort of thing with the <javascript> tag in TWC. >>> The List widget allows me to do things the other way -- iterate over a >>> list of existing tiddlers, but there doesn't seem to be any tools for >>> generating a bunch of tiddlrs based on a list. I'm hoping there's some >>> widget or technique that can help with this. >>> >> >> Actually, the <$list> widget WILL do what you want: >> >> 1) First, create a tiddler, ListOfTitles, containing tiddler titles using >> a whitespace-separate list with doubled-brackets around titles with spaces >> in them. For example: >> >> ListOfTitles >> ------------------- >> [[foo bar]] >> baz >> [[mumble frotz]] >> gronk >> snork >> --------------------- >> >> 2) Then, use this button definition: >> <$button> >> make new tiddlers from list >> <$list filter={{ListOfTitles}}> >> <$action-setfield $tiddler={{!!title}} text=""/> >> </$list> >> </$button> >> Note: using <$list> inside <$button> requires TW v5.1.8 or above. >> >> enjoy, >> -e >> Eric Shulman >> ELS Design Studios >> TiddlyTools - "Small Tools for Big Ideas!" >> InsideTiddlyWiki: The Missing Manuals >> >> YOUR DONATIONS ARE VERY IMPORTANT! >> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >> http://TiddlyTools.github.com/fundraising.html#MakeADonation >> >> Professional TiddlyWiki Consulting Services... >> Analysis, Design, and Custom Solutions: >> http://www.TiddlyTools.com/#Contact >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9e764e49-4ff2-4a00-b79f-7b5cda08ad65%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.