Hi all,
In the follow-up around the web to the release of TiddlyRemember
<https://groups.google.com/forum/#!searchin/tiddlywiki/TiddlyRemember|sort:date/tiddlywiki/UD6VyV_r-94/GUnAemoBAgAJ>,
some people took issue with the approach of putting questions in macro
calls, wishing instead questions could be placed in individual tiddlers.
Well, it turns out this was actually possible the whole time and neither I
nor anyone asking ever thought of it! All you have to do is create a sort
of "aggregation" tiddler with a list snippet like this:
<$list filter="[tag[TiddlyRememberNote]]">
<$macrocall $name=rememberq id={{!!created}} question={{!!question}}
answer={{!!answer}}/>
</$list>
Then you just create tiddlers with question and answer fields tagged with
*TiddlyRememberNote*, and all the questions will show up in this tiddler.
Make sure that the filter pulling the tiddlers that should be searched to
retrieve notes matches this tiddler, and you're set. Of course, this is
just one example – any data you can retrieve with filters can be used to
generate TiddlyRemember notes in the same fashion.
There's one issue with the version above: the reference on each Anki note
would just point back to the aggregation tiddler, which isn't very useful.
TiddlyRemember 1.1.0 (released today) now supports an optional fourth
* reference* parameter to the macro, which causes the reference to point
back to a specified tiddler instead of the tiddler the macro call is found
in. In the example above, we could say *reference={{!!title}}* and the
references would then point back to the actual question tiddler instead.
This can also be used to fix a problem that occasionally arose in the
previous version, where if you needed to transclude a tiddler containing
TiddlyRemember questions into another tiddler, the source would randomly
oscillate between the two since either one looked like it contained the
question!\
For more, see Dynamically generating TiddlyRemember notes
<https://sobjornstad.github.io/TiddlyRemember/#Dynamically generating
TiddlyRemember notes> and Soft and hard references
<https://sobjornstad.github.io/TiddlyRemember/#Soft and hard references>.
--
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/219ae428-5118-4888-a104-417500f18df2o%40googlegroups.com.