Export page question

53 views
Skip to first unread message

David Gifford

unread,
Dec 22, 2016, 12:05:46 PM12/22/16
to tiddl...@googlegroups.com
Hi all

I would like to avoid investing time in this only to realize it is a dead end, so here is my question, a yes or no answer only needed:

Right now in a custom export-page tiddler, I have this exportFilter="[!is[system]sort[title]sort[tags]]" and it works fine. But the tiddlers only show up in one place, so if I have multiple tags on a given tiddler it will only show up in one place on the exported static html, not under each tag grouping.

My question is, is the export-page filter open to refining so that tiddlers could be displayed more than once? Or am I limited to what I have now?
Dave

Jed Carty

unread,
Dec 22, 2016, 2:07:22 PM12/22/16
to TiddlyWiki
You can do what you want to do, I made some pretty complex output things from tiddlywiki to automatically generate some code for a job I did a while ago. You don't have to stick to the example used on tiddlywiki.com so you can change the content of the renderContent macro to be whatever you want. This is a test I made on tiddlywiki.com to make sure I remembered it correctly.

This works:

\define renderContent()
<$list filter="""$(exportFilter)$""">
<br>
<<currentTiddler>>
<br>
<$list filter='[tag<currentTiddler>]' template='$:/core/templates/plain-text-tiddler'/><br>
</$list>
\end
<<renderContent>>

Hopefully you can modify that to whatever format you want.

David Gifford

unread,
Dec 22, 2016, 11:58:06 PM12/22/16
to TiddlyWiki
Thanks Jed, will look at it!
Reply all
Reply to author
Forward
0 new messages