For those following wanting a final solution to process csv this is what
worked for me
\define each-row(row)
<$set name=person-tiddler value={{{ [<__row__>split[,]nth[1]removesuffix[:]]
}}} >
<$set name=first-name value={{{ [<__row__>split[,]nth[2]] }}} >
<$set name=surname value={{{ [<__row__>split[,]nth[3]] }}} >
<$set name=person-role value={{{ [<__row__>split[,]nth[4]] }}} >
<$set name=email-address value={{{ [<__row__>split[,]nth[5]] }}} >
<$set name=import-region value={{{ [<__row__>split[,]nth[6]] }}} >
person=<<person-tiddler>>
first-name=<<first-name>>
surname=<<surname>>
person-role=<<person-role>>
email-address=<<email-address>>
import-region=<<import-region>>
<br>
</$set></$set></$set></$set></$set></$set>
\end
<$list filter="[{StaffList.csv}split[<eol>]removesuffix[,]]" variable=input-
row>
<$macrocall $name=each-row row=<<input-row>>/>
</$list>
- Each row in the csv ends with a column containing "<eol>" to indicate
the end of line
- The set statements set a variable to the value in the nth[n] column in
the csv
Now I will use these variables, an action create tiddler for each row, a
template tiddler, and wrap it all in a button to bulk generate tiddlers
from my csv file.
I will see if I can share that as well
Thanks soooo much to Mark S
Regards
Tony
>
>>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a9fbee13-09a3-4470-9a9b-944090e4826a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.