Hi
I'd like to be able to write a csv in rows with fET
I once made a table using fET like this:
<<forEachTiddler
where
'tiddler.tags.contains("TagName")'
sortBy 'tiddler.title'
write
'(index < 200) ? "|"+(index+1)+"|[["+tiddler.title+"]]|"+tiddler.body
+"|"+tiddler.tags+"| [["+tiddler.fields["1'stFieldname"]
+"]] |"+tiddler.fields["2'ndFieldname"]+"|"+tiddler.fields
["3'dFieldname"]+"|"+tiddler.fields
["5'thFieldname"]+"|"+tiddler.fields
["6'thFieldname"] +"|\n" : ""'
begin '"|sortable|k\n|!#|title|text|tags|
1'stFieldnameOfYourChoice|2'nd|3'd|4'th|5'th|h\n"'
end 'count+" tiddlers\n"'
none '"no tiddlers\n"'
Now I'd like to rewrite it to write a csv-file (including tags fields
and all) instead.
>From abegoExtensions I know how to make a csv with just the titles
like this:
<<forEachTiddler
where
'tiddler.tags.contains("TagName")'
write
'((index == 0) ? "" : ", ")+"[["+tiddler.title+"]]"'
How do I accomplish this?
(I've tried so implement tags and fields many times, but I get error
messages every time....)
YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---