Ok - I did it the *hard way* (the trial/error-thing you know)
And I came up with a fET, which I will use to fetch <data> from one TW
and "convert to" fields in another TW via cvs
(CreateTiddlersFromCSVscript by Mr Eric Shulman)
I know that the syntax for the default field Tiddler Body is wrong - I
want it to render textcontent from the tiddler...now the result
is:undefined.. (I also know that I have to remove the commas from the
tagcolumn to use it with the CreateTiddlersFromCSVscript) - But
basically it does excactly what I want...
Next step is to make af fET that fetches the same tiddlers just based
on fields instead of <data> to achieve the same table in the new TW...
But that's something I can do myself by now...
<<forEachTiddler
where
'tiddler.tags.contains("student")'
sortBy 'tiddler.fields["title"]'
write
'(index < 200) ? "|"+(index+1)+"|[["+tiddler.data("name")
+"]]|"+tiddler.body+"|"+tiddler.tags+"|[["+tiddler.data("teacher
+tiddler.data("lives")+"|[["+tiddler.data("class")+"]]|[["+tiddler.data
("room")+"]]|"+tiddler.fields["imageUrl"] +"|\n" : ""'
begin '"|sortable|k\n|!#|title|text|tags|teacher|lives|class|
room|imageUrl|h\n"'
end 'count+" students\n"'
none '"No students\n"'
>>
YS Måns Mårtensson
On 23 Mar., 20:23, Måns <[email protected]> wrote:
> Hi TWWizards
>
> My question is:
> How do I make my fET-table show the tagnames in one (seperated by
> space) or several columns?
> Uptill now I have used tags to be able to fetch from tiddlers
> tagged... Now I want to see them :-)
>
> I need to make a table with all information about: tags, fields, and
> even content of the textbody - fetched from tiddlers tagged with one
> or two tags...
>
> Maybe it's possible to tweak TwHelpSearchPlugin to provide a custom
> table with optional (sortable)columns - showing:
> title,(text),tags,field1,field2,field3 etc??- forming a csv-like
> string of data...
>
> If someone has made a nice fET for doing the same thing - I would be
> very gratefull!
>
> 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
-~----------~----~----~----~------~----~------~--~---