Hi magev958,
Basically, what you have to do is:
1. create a function which writes the main fet expression and has an
explicit loop. Like if you have
write '"* "+tiddler.title+"\n"'
create a function
var createListToWikify = function() {
var text = "";
var tids = [];
store.forEachTiddler(...) // or use some other function to fill the
tids, use sortExpression to sort, whereClause to filter etc
for(var i = 0; i < tids.length; i++)
text += "* " + tids[i].title + "\n";
}
and use it -- if you prefer fET, in the begin part of the write param
series.
2. extend the aggregation of tiddlers to several stores, like this:
var createListToWikify = function() {
var i;
var text = "";
var tids = [];
var stores = [];
// form the list of stores; sharedTiddlersAPI.getStore(url) and
sharedTiddlersAPI.getIncludes() may be of interest
for(i = 0; i < stores.length; i++)
// add tiddlers from stores[i] to tids
for(i = 0; i < tids.length; i++)
// add some expression made of tids[i] to text
}
Instead of fET, you may want to use WikifyPlugin [1] or InlineJavascript
[2].
Best regards,
Yakov.
[1] http://www.TiddlyTools.com/#WikifyPlugin
[2] http://www.TiddlyTools.com/#InlineJavascriptPlugin
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.