Hi Mark, I added an export button so, one can index and export! \define indexvalue() """$(title)$|$(caption)$|$(tags)$""" <$wikify name=indextitle text={{{ [{$:/SiteTitle}addprefix[index-for-]] }}} select="0">
<$button>Make Index <$list filter="[all[tiddlers]!is[system]]"> <$vars title={{!!title}} caption={{!!caption}} tags={{!!tags}} > <$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>> $value=<<indexvalue>>/> </$vars> </$list> <$wikify name=tiddlywiki text={{{ [{$:/SiteTitle}addsuffix[.html]][{$:/config/SaveWikiButton/Filename}]+[!is[blank]last[]] }}} > <$action-setfield $tiddler=<<indextitle>> $field="tiddlywiki" $value=<<tiddlywiki>>/> </$wikify> </$button> <$button>Export <$action-sendmessage $message="tm-download-file" $param=<<indextitle >> filename={{{[<indextitle>addsuffix[.tid]]}}} /> </$button> </$wikify> A tiddler containing above buttons are attached. download drag and drop into your wiki. --Mohammad On Saturday, February 1, 2020 at 3:30:01 AM UTC+3:30, Mark S. wrote: > > Be sure to try the newer version I posted. > > Is "ROAM-y" online somewhere? > > I assume that if it's breaking that it has to do with one of your titles. > Which is amazing, considering that none of the 1300 tiddlers on > tiddlywiki.com broke it. > > Thanks! > > On Friday, January 31, 2020 at 3:43:57 PM UTC-8, David Gifford wrote: >> >> >> >> On Friday, January 31, 2020 at 5:32:46 PM UTC-6, Mark S. wrote: >>> >>> Here's an improved version which does a better job constructing the >>> output tiddler so it doesn't insert square brackets. >>> It also attempts to guess at the working file name of the current >>> tiddler and use that for a field "tiddlywiki", based on the only two fields >>> that >>> are available for that function. These guesses could be wrong. The user >>> can make sure they're "right" by manually setting >>> the tiddler value "$:/config/SaveWikiButton/Filename" to the file name >>> of that tiddler. >>> >>> >>> \define indexvalue() """$(title)$|$(caption)$|$(tags)$""" >>> <$wikify name=indextitle text={{{ [{$:/SiteTitle}addprefix[index-for-]] >>> }}} select="0"> >>> <$button>Make Index >>> <$list filter="[all[tiddlers]!is[system]]"> >>> <$vars title={{!!title}} caption={{!!caption}} tags={{!!tags}} > >>> <$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>> >>> $value=<<indexvalue>>/> >>> </$vars> >>> </$list> >>> <$wikify name=tiddlywiki text={{{ >>> [{$:/SiteTitle}addsuffix[.html]][{$:/config/SaveWikiButton/Filename}]+[!is[blank]last[]] >>> >>> }}} > >>> <$action-setfield $tiddler=<<indextitle>> $field="tiddlywiki" >>> $value=<<tiddlywiki>>/> >>> </$wikify> >>> </$button> >>> </$wikify> >>> >>> >>> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f00e0f8-dab2-420a-8a28-2b8de7b87ddd%40googlegroups.com.
build-index and export.tid
Description: Binary data