Where can I upload my default blank wiki? (and how to add a macro to "empty" it totally?)

0 views
Skip to first unread message

Reenen Laurie

unread,
Nov 5, 2008, 9:42:53 AM11/5/08
to Tiddl...@googlegroups.com
Hi,

I've created my blank wiki that's added a lot of the useful plugins etc. that I think most people would like and appreciate coming to TiddlyWiki (especially if they are used to normal wiki's which only displays one page at a time).

But I want to add a macro that will "Empty" the wiki... basically delete all the pages that I specify.  (I don't want to lose all the systemConfig ones obviously).

Is there an existing one that can do that?

Regards,
-Reenen

--
o__
,_.>/ _
(_)_\(_)_______
...speed is good
_______________
I believe five out of four people have a problem with fractions.

Reenen

unread,
Nov 5, 2008, 10:13:57 AM11/5/08
to TiddlyWiki
I will usually be a "self-destructing" macro / plugin... :-)

Eric Shulman

unread,
Nov 5, 2008, 10:34:27 AM11/5/08
to TiddlyWiki
> But I want to add a macro that will "Empty" the wiki... basically delete all
> the pages that I specify.  (I don't want to lose all the systemConfig ones
> obviously).
> Is there an existing one that can do that?

Try this:
http://www.TiddlyTools.com/#SaveAsPlugin
Then, if you tag all the desired tiddlers with something like
"includeNew", you can write:
<<saveAs [[label:new document]] includeNew>>
This will create a new document that only contains the tiddlers tagged
with "includeNew".

You can also select tiddlers using more complex tag criteria, by
installing:
http://www.TiddlyTools.com/#MatchTagsPlugin
which adds support for 'boolean tag expression' processing (using and/
or/not operators). Then, you can write something like this, for
example:
<<saveAs [[label:new document]] includeNew or not data or ->>
where "includeNew" and "data" are tag values, and "-" matches
*untagged* tiddlers.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
Reply all
Reply to author
Forward
0 new messages