Timeline macro

9 views
Skip to first unread message

Dave Gifford - http://www.giffmex.org/

unread,
Aug 28, 2007, 5:36:46 PM8/28/07
to TiddlyWiki
Hi all

The recent changes that show what has changed in version 2.2.5
mentions a third parameter for the timeline macro. Can someone give me
the full syntax now that the parameters have been changed?

Thanks

Dave

FND

unread,
Aug 28, 2007, 5:56:24 PM8/28/07
to Tiddl...@googlegroups.com
> The recent changes that show what has changed in version 2.2.5
> mentions a third parameter for the timeline macro. Can someone give me
> the full syntax now that the parameters have been changed?

The new parameter is for the date format.
So the three parameters are:
1. date to sort by ("modified" by default; could also be "created")
2. maximum length (amount of tiddlers to show; all by default)
3. date format (e.g. "ddd, YYYY-0MM-0DD")

So, for example the following would show all tiddlers, sorted by their
modified date, and using a custom date format:
<<timeline "" "" "ddd, YYYY-0MM-0DD">>

Is this understandable? If so, I'll add it to the wiki:
http://www.tiddlywiki.org/wiki/Timeline_%28macro%29


-- F.

Dave Gifford - http://www.giffmex.org/

unread,
Aug 28, 2007, 7:08:09 PM8/28/07
to TiddlyWiki
Very understandable, thanks!

alex

unread,
Jun 25, 2009, 1:09:40 PM6/25/09
to FND, TiddlyWiki
visiting the link below renders the following url in Firefox.

http://tiddlywiki.org/wiki/Timeline_(macro)

cut and pasting this into TW does not render the last bracket in the
link
test case - https://files.getdropbox.com/u/1316865/RefTest.html

ALex
originally from http://groups.google.com/group/TiddlyWiki/msg/c2072409b6013ec0

FND

unread,
Jun 25, 2009, 1:15:53 PM6/25/09
to Tiddl...@googlegroups.com
> visiting the link below renders the following url in Firefox.
> http://tiddlywiki.org/wiki/Timeline_(macro)
> cut and pasting this into TW does not render the last bracket

This is a known issue with Firefox:
http://trac.tiddlywiki.org/ticket/629

The parentheses should be encoded in the URI. Firefox displays it in
decoded form to be more user-friendly - unfortunately, copy & paste
doesn't give you the original (encoded) URI.
As you can see from the ticket, there's nothing we can do about that.


-- F.

Reply all
Reply to author
Forward
0 new messages