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/2b52f9d7-a5e3-4906-a8e3-ee3e4e949d26%40googlegroups.com.

Reply via email to