This is a sample code to create an export button and lets save a set of 
tiddlers into a static .html


   - It uses a search box to lets filter all non system tiddlers tagged 
   with Concepts
   - To reproduce 
      - Create a tiddler on tiddlywiki.com
      - copy and paste the below code and save it
      - next enter something in the saerch box to select some tiddlers (for 
      example enter p)
      - next click on export and see *nothing has been exported!!*
   

\define myTag() Concepts

\define test-export()
<$edit-text tag=input tiddler=tid2 />

<$set name=searchTerms tiddler=tid2 field=text>
<$vars ufilter="[!is[system]tag<myTag>search:title<searchTerms>]" >
<<doExport>>

<$button>Export
<$action-sendmessage 
  $message="tm-download-file" 
$param="$:/core/templates/exporters/StaticRiver" 
exportFilter=<<ufilter>>
filename=<<exportButtonFilename """nella""">>/>
</$button> 
<hr>

<$list filter=<<ufilter>> >

</$list>

</$vars>
</$set>
\end

<<test-export>>


It seems something goes wrong when I use variables to create the export 
filter

-- 
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/544deb38-7d9d-40b0-a673-be2b630d9282%40googlegroups.com.

Reply via email to