Timelines Plugin

166 views
Skip to first unread message

Mohammad

unread,
Aug 7, 2019, 4:56:55 PM8/7/19
to TiddlyWiki
Announcement: New Timelines plugin
Date: Aug 8th, 2019
Release: 0.5 initial release

Only work on TW5.1.20+

Timelines is a collection of four macros for creating vertical and horizontal timeline and sequence. The content or description and data of events are stored in individual tiddlers.

Timelines contain two timeline macros and two sequence macros. A sequence macro shows event contents in sequence not necessarily in chronological order. The order can be determined by tag or list field or other methods.

The date of events can be stored in a separate field or the modified field can be used.

Syntax

<<timeline-horizontal filter limit:10 template:"" footer:"footer" class date:"modified" stateTiddler>>
<<sequence-horizontal filter limit:10 template:"" footer:"footer" class date:"modified" stateTiddler>>

<<timeline-vertical filter limit:10 template:"" footer:"footer" class date:"modified">>
<<sequence-vertical filter limit:10 template:"" footer:"footer" class date:"modified">>

Content and parameters

ParameterTypeDescription
filterrequireda Tiddlywiki filter to select tiddlers for presentation
limitoptionalmaximum number of tiddlers to be shown. Default value is 10
templateoptionala template to display the tiddler content
footeroptionalthe field name which stores a an extra text to be displayed as footer
classoptionalan extra class to customize how tiddler content is displayed
dateoptionalthe field name which stores a date in standard Tiddlywiki format. Default field is modified
stateTiddleroptionalthe name of a state tiddler to keep the state of events. Each call to macro needs a unique state tiddler

Install

Simply drag and drop $:/plugins/kookma/timelines into your wiki

Project code and demo

Change log

0.6.0 – final release

31st July 2019
  • New tehran timeline added
  • New ilam timeline added

0.5.0 – first release

28th July 2019
  • added gilan timeline
  • added kerman timeline

Acknowledgement

  • All Tiddlywikians
Your feedback is highly appreciated
Cheers
Mohammad

Mohammad

unread,
Aug 8, 2019, 3:11:19 AM8/8/19
to TiddlyWiki
A new release is out there!

  • Minor issues fixed
  • Documentation improved

Luis Gonzalez

unread,
Aug 8, 2019, 5:22:21 AM8/8/19
to TiddlyWiki

Thats wonderfull!!
This is how it looks:

Mohammad

unread,
Aug 8, 2019, 5:34:15 AM8/8/19
to TiddlyWiki
Hi Luis,
 Note that you can add a user field to your tiddler say mydate or other name you like!
This filed can be used for storing date e.g 1969-08-17 like 19690817

Then when call the timeline macro you can tell macro you have the date stored in your custom field.

Example
user field date

<<timeline-vertical ..... date=mydate ....>>

@TiddlyTweeter

unread,
Aug 8, 2019, 5:36:01 AM8/8/19
to TiddlyWiki
Very good piece of work!

It would be very interesting if you ever brought into one plugin/system all your innovations with *visuality* in TW.

I think you are addressing fundamental issues of "informational representation".

In many ways, better *visual* representation is more important in uptake of use of TW than the more arcane--those that know--development of filters.

What we lack is *integration*. Why should a user need to find 7 plugins on presentation when ONE will do the job?

Just thoughts
Josiah  

Mohammad

unread,
Aug 8, 2019, 7:34:54 AM8/8/19
to tiddl...@googlegroups.com
Many thanks Josiah!

I am working on that and hopefully I will release an edition (I prefer to call it app) include some handy plugins.

  1. Trashbin
  2. Todolist
  3. Commander
  4. Shiraz
  5. Semantic colors
  6. Timelines
  7. Favorites
And include some other from TW developers.

Cheers
Mohammad

Mohammad

unread,
Aug 8, 2019, 7:37:27 AM8/8/19
to TiddlyWiki
Some other useful plugin
  • Highlight.js
  • KaTeX
  • Codemirror
  • Link links (to Tabs)
  • Print River
  • ...

--Mohammad

@TiddlyTweeter

unread,
Aug 8, 2019, 7:50:57 AM8/8/19
to TiddlyWiki
Ciao Mohammad

I definitely think that complete apps is a very good way to go.

For end users not so interested in endless add-ons they have to find I think it could make a big difference.

I doubt it makes any significant downgrade in performance having a bunch of things included they might never use.

The point is having utility present they will use.

Best wishes
TT 

Mohammad

unread,
Aug 8, 2019, 7:56:06 AM8/8/19
to tiddl...@googlegroups.com
Yes, I thought these may be the essential tools, but some may be useless for some users like KaTeX.
By the way, I don't think these extra plugins cause a side effect on the performance but absolutely they will enlarge the TW file!.

--Mohammad

@TiddlyTweeter

unread,
Aug 8, 2019, 8:02:01 AM8/8/19
to TiddlyWiki
Ciao Mohammad

I'd say that issue is most about performance. 

At what point does adding items slow performance?

I don't think its an issue including stuff that is never used in any way. 
Most software has 70% of features no one uses.

Thoughts
Josiah

On Thursday, 8 August 2019 13:56:06 UTC+2, Mohammad wrote:
Yes, I though these may be the essential tools, but some may be useless for some users like KaTeX.

Christian Macedo

unread,
Aug 8, 2019, 10:53:30 AM8/8/19
to TiddlyWiki
second that sentiment. I've been looking for a way to do this for ages.
Use case? Sorting out the sequence of events on news items where the information comes in dribs and drabs.

Mohammad

unread,
Aug 9, 2019, 12:52:59 AM8/9/19
to TiddlyWiki
Hi Christian,
 I am glad you found Timelines useful! Don't forget you can use custom template and customize the content to be displayed
in many ways! No need to know how Timelines work just use simple TW template!

Cheers
Mohammad

Mohammad

unread,
Aug 9, 2019, 6:55:43 AM8/9/19
to TiddlyWiki
Reply all
Reply to author
Forward
0 new messages