Hiding Sections of Tiddlers (within a TW)

11 views
Skip to first unread message

Digital Doctor

unread,
Jan 3, 2008, 9:48:09 AM1/3/08
to TiddlyWiki
I'm keeping a journal on a six-week franchise
training that I'm in. A co-trainee has just asked
me to share a copy of my journal, at the end of training.

I'm wondering:

is there a plug-in-script combo, that could HIDE
phrases within a certain syntax (i.e., ## ##), when
I IMPORT or COPY a TW.

What I'm trying to accomplish is easily allowing myself
to extract a public version of my journal, from my personal
version (which would include personal references and reflections).

Thanks, in advance, for any helping hands.

RC

Nicolas Syssoieff

unread,
Jan 3, 2008, 9:56:50 AM1/3/08
to Tiddl...@googlegroups.com
Hi RC,

Aside from TW, I'd say that unless you already have or want to bother yourself to tag every comment, personal reference, and reflections of yours with a specific markup, it might be faster to just browse through your journal once and cut all the personal parts.

I'm sure some script can be written to extract everything that is or isn't between specific tags (someone suggested a similar method a few topics ago to extract everything that was highlighted from a tiddler), but is it worth tagging all your personal comments just for the pleasure of automating their removal ? I'm not sure...

Good luck in cleaning your journal anyway ;)

-Nicolas

FND

unread,
Jan 3, 2008, 11:01:18 AM1/3/08
to Tiddl...@googlegroups.com
> What I'm trying to accomplish is easily allowing myself
> to extract a public version of my journal, from my personal
> version (which would include personal references and reflections).

My advice would be to use TiddlerNotesPlugin:
http://lewcid.org/2007/10/26/new-tiddlernotesplugin/
http://tw.lewcid.org/#TiddlerNotesPlugin
Then you could use the DeleteAllTagged bookmarklet to remove all
tiddlers tagged with "notes" (or whatever tag you have specified for
your TiddlerNotes):
http://lewcid.org/tiddlywiki-bookmarklets/

However, I agree with Nicolas that this might be a problem if you've
already written a lot of notes that are not easy to distinguish.
Also, the ForEachTiddler macro call we've composed for your highlights*
might be adapted (with some additional effort), depending on what your
content looks like.


-- F.

Eric Shulman

unread,
Jan 3, 2008, 11:41:40 AM1/3/08
to TiddlyWiki
> > What I'm trying to accomplish is easily allowing myself
> > to extract a public version of my journal, from my personal
> > version (which would include personal references and reflections).

If you add a tag to all the tiddlers you want to share (e.g.,
"public"), then you can use
http://www.TiddlyTools.com/#NewDocumentPlugin
to create a new document with a single click!

<<newDocument label:"share journal" ask "public">>

When you click the "share journal" command link, the plugin will ASK
for a target filename (using your system-specific "save file" dialog
box). It then writes a new stand-alone TiddlyWiki document containing
the TW core code plus all tiddlers tagged with "public".

Note: to manually tag multiple tiddlers in one step, you can use:
http://www.TiddlyTools.com/#TiddlerTweakerPlugin
Select the tiddlers you want from the listbox (use shift-click or ctrl-
click to select multiple tiddlers). Enter "+public" into the "tags"
input field and press "update tiddlers"... that's all it takes.
Note: the "+" in front of the "public" tag is very important: it
indicates that "public" should be *added* to the tiddlers' tags,
instead of completely replacing those tags.

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