On Jan 7, 6:01 am, "Mark S." <[email protected]> wrote:
> I could probably write a script to do this, but just in case -- is
> there a plugin or macro that would compile the current story ( or a
> given set of tiddlers) into one tiddler?
Hi Mark,
I think that would be useful. You helped me with a script a while back
that's almost there.
<script label="Backup">
var out=".";
var append=store.getTiddlerText(title);
var title="NewBackup";
*var tids=store.getTaggedTiddlers("mytag").reverse();*
for (var t=0; t<tids.length; t++)
append+=store.getTiddlerText(tids[t].title)+"\n";
store.saveTiddler(title,title,append);
return out;
</script>
Perhaps you could replace the *store.getTaggedTiddlers* with something
like this.
story.forEachTiddler(
function (title, element) {
out += "[["+title+"]]\n" ;
});
I tried it but am not knowledgeable enough to get the open tiddler
text, but only the titles.
Morris
On Jan 7, 6:01 am, "Mark S." <[email protected]> wrote:
> I could probably write a script to do this, but just in case -- is
> there a plugin or macro that would compile the current story ( or a
> given set of tiddlers) into one tiddler?
>
> Thanks!
> Mark
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.