On Saturday, June 6, 2020 at 5:27:14 PM UTC-7, Magnus wrote:
>
> Ok, just noted when I build the current SplashScreen I have that 
> https://tiddlywiki.com/#%24%3A%2FSplashScreen
> use 
> \import [[$:/core/ui/PageMacros]] 
> [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
> so I thought I could import all tiddler with tag *factoid *& run the 
> script on them
>

Actually, I might have been overstating the limitations.

The SplashScreen tiddler has to be tagged 
with $:/tags/RawMarkupWikified/TopBody.  This means that the content of 
that tiddler can contain wiki syntax, including output of content filtered 
by matching a tag.

However, the output it produces will then be statically embedded in the 
HTML file to show that output the next time the file is loaded.  Thus, you 
*can* select a randomized "factoid" to be included in the SplashScreen when 
you *save* the file, but you can't select a randomized factoid when the 
file is loaded.  The randomly selected factoid will remain the same each 
time the file is re-loaded, and will only change each time you re-save the 
file.

-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/becc400b-32bb-408d-8b2a-65d6ce505904o%40googlegroups.com.

Reply via email to