Blog-style tiddler?

5 views
Skip to first unread message

ubt

unread,
Jul 5, 2007, 2:32:13 PM7/5/07
to TiddlyWiki
I've been using TiddlyWiki for about a month now, first THANK YOU for
creating and supporting this. Specifically I have been using
GTDTiddlyWiki Plus as a starting point, as it supports my 3x5 index
card habit very nicely. Everyone I show TiddlyWiki to thinks it is
the most amazing single HTML page they have ever seen.

One bit of functionality that I'd like.. and I'm willing to try to
create it if it doesn't exist... a "type" of Tiddler that acts like a
self-contained blog, meaning that I could create a new Tiddler,
somehow indicate that it shoudl behave like a blog, and by doing that
it would replace the "edit" button with a "post" button, that would
allow me to create a date-indexed "entry" in the tiddler... and when
that post was saved and the tiddler was displayed would show a
configurable # of entries when the tiddler was brought up by default,
but also allow me to "show all" or otherwise see a list of dates that
posts were made and click on specific ones.

The reason this is important for me - I use a tiddler to keep track of
things like Project status for a particular project, or notes from
recurring 1-on-1 meetings that I have with employees... it seems to me
like a useful thing to be able to manage this within a single well-
named tiddler rather than to create "dated" versions across multiple
tiddlers.

Does this make sense? Has it already been done? If not, is there any
starting point better than any other for me to start working on it as
an enhancement?

Ken Girard

unread,
Jul 5, 2007, 3:24:46 PM7/5/07
to TiddlyWiki
Simple way to do this...or something like it at least: Create a
tiddler named "Blog". In it place <<newJournal title:'Blog -
YYYY-0MM-0DD' tag:'Blog' label:'Add new blog entry' >>

Now every time you open the "Blog" tiddler you will see a list of all
tiddlers tagged "Blog" as well as be able to make a new entry. It
allows you to add "Blog" as a tag to any tiddler and have it show up
on the list, in case you want to 'Blog' about the meeting you had with
your boss.

Ken Girard

FND

unread,
Jul 5, 2007, 3:25:27 PM7/5/07
to Tiddl...@googlegroups.com
> Everyone I show TiddlyWiki to thinks it is
> the most amazing single HTML page they have ever seen.

Of course they do - wha

> One bit of functionality that I'd like.. and I'm willing to try to
> create it if it doesn't exist...

> it would replace the "edit" button with a "post" button, that would
> allow me to create a date-indexed "entry" in the tiddler...

Well, in a way, that's what my SimpleCommentsPlugin does:
http://devpad.tiddlyspot.com/#SimpleCommentsTest%20SimpleCommentsPlugin

> show a configurable # of entries when the tiddler was brought up by
> default, but also allow me to "show all" or otherwise see a list of
> dates that posts were made and click on specific ones.

Here's where your offer to "try to create it if it doesn't exist" comes
into play, because there's nothing like that yet (AFAIK).
Though I imagine it would be quite easy to modify my plugin to only show
the comments' headers and expand their body only on request/click (if
that's what you're after).

> it seems to me like a useful thing to be able to manage this within

> a single well-named tiddler rather than to create "dated" versions across
> multiple tiddlers

You might be right about that - but have you considered using a certain
tag and maybe the (ISO 8601-formatted) timestamp as the tiddler title?
Then you could use the <<tag>> macro to bring up a popup with an index
of all those tiddlers, sorted by date (thus the ISO 8601).

HTH.


-- F.

FND

unread,
Jul 5, 2007, 3:28:42 PM7/5/07
to Tiddl...@googlegroups.com
> Simple way to do this...

Ack, you beat me to it - and even with a more elegant solution...

Nice one, Ken!


-- F.

FND

unread,
Jul 5, 2007, 3:31:55 PM7/5/07
to Tiddl...@googlegroups.com
> Ack, you beat me to it - and even with a more elegant solution...

... though you forgot to add that the "Blog" tiddler should also be
tagged with "blog" for the tags list to show up.
(In fact, I'm not even sure why exactly that works in the first place;
yet another TW Guerrilla Feature... )


-- F.

FND

unread,
Jul 5, 2007, 3:36:11 PM7/5/07
to Tiddl...@googlegroups.com
> ... though you forgot to add that the "Blog" tiddler should also be
> tagged with "blog" for the tags list to show up.
> (In fact, I'm not even sure why exactly that works in the first place;
> yet another TW Guerrilla Feature... )

Never mind, I'm stupid; you don't really need that tag in the "root
tiddler".
The explanation is that if the tiddler's name matches that of an
existing tag, the tagging list will be shown automatically in the
tiddler (but it's still a Guerrilla Feature, to me at least).

Sorry for triple-posting...


-- F.

Eric Shulman

unread,
Jul 5, 2007, 5:35:02 PM7/5/07
to TiddlyWiki
> allow me to create a date-indexed "entry" in the tiddler... and when
> that post was saved and the tiddler was displayed would show a
> configurable # of entries when the tiddler was brought up by default,
> but also allow me to "show all" or otherwise see a list of dates that
> posts were made and click on specific ones.

You might consider using:
http://www.TiddlyTools.com/#CommentScript

CommentScript uses InlineJavascriptPlugin and NestedSlidersPlugin, and
provides an "add a comment" link that, when clicked, opens up a form
with a text area control into which you can enter multiline text.

When you press the 'submit' button, the script automatically inserts a
new nested slider to the tiddler source content. The slider label
includes the date/time that comment was added, and the slider panel
shows the text that was entered. When you add more comments, they are
appended below the previous comments, creating a nice time-ordered
'blog'.

Inasmuch as each comment slider is closed by default, when you view
the tiddler, the accumulated comments will appear as a simple series
of date stamped headlines. Click a headline and the corresponding
comment slider opens, to display the content of that comment.

There is also a "view all/close all" psuedo-toolbar item that can open/
close all sliders in the tiddler at the same time, so that can quickly
view all the comment content without having to click on each one
separately

After you have installed the CommentScript tiddler (and the required
supporting plugin tiddlers), adding comments to any given tiddler is
simple... just embed the following in your tiddler content:

<<tiddler CommentScript>>
/%comment%/

The /%comment%/ "marker" is used to locate the insertion point for
adding new comments. You can place this marker anywhere you like
within the tiddler, so that the input form and the resulting comments
don't necessarily have to be displayed adjacent to each other.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

ubt

unread,
Jul 6, 2007, 3:02:50 PM7/6/07
to TiddlyWiki
Thanks for all of the great (and fast) replies. I will try these out
let you know what happens. Nice to find such a useful tool that has a
great, active community around it.
Reply all
Reply to author
Forward
0 new messages