The original post asks about multiple tid files. When I try to adapt your
code like this:
<$list filter="[tag[HelloThere]]">
<$action-sendmessage
$message="tm-download-file"
$param="$:/core/templates/exporters/TidFile"
exportFilter=<<currentTiddler>>
filename={{{ [<currentTiddler>addsuffix[.tid]] }}} />
</$list>
</$button>
all of the generated files are empty. Is that a bug, or is there some
reason it's not possible to do multiple tid files?
Thanks!
On Tuesday, May 19, 2020 at 5:33:46 PM UTC-7, Eric Shulman wrote:
>
> On Tuesday, May 19, 2020 at 3:14:38 PM UTC-7, Jared Lettau wrote:
>>
>> Goal: To export individual tiddlers in a format where they can be
>> imported.
>>
>
> Give this a try:
> Export tiddlers with this tag:
> <$edit-text tag="input" width="50" placeholder="Tag name" tiddler=
> "$:/temp/myfavtag"/>
>
> Found <$count filter="[tag{$:/temp/myfavtag}]"/> matching tiddlers:
> <blockquote><$list filter="[tag{$:/temp/myfavtag}]"><<currentTiddler>><br
> ></$list></blockquote>
>
> <$button> Save to one JSON file
> <$action-sendmessage
> $message="tm-download-file"
> $param="$:/core/templates/exporters/JsonFile"
> exportFilter="[tag{$:/temp/myfavtag}]"
> filename="tiddlers.json" />
> </$button>
> <$button> Save to separate JSON files
> <$list filter="[tag{$:/temp/myfavtag}]">
> <$action-sendmessage
> $message="tm-download-file"
> $param="$:/core/templates/exporters/JsonFile"
> exportFilter=<<currentTiddler>>
> filename={{{ [<currentTiddler>addsuffix[.json]] }}} />
> </$list>
> </$button>
>
> That should do it, or at least get you close to what you want.
>
> Let me know how it goes.
>
> enjoy,
> -e
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8152e091-7ed5-44f6-9faa-921dfbf03081%40googlegroups.com.