[TW5] Question: How do you see yourself using Lists in TW5?

213 views
Skip to first unread message

David Gifford

unread,
Sep 25, 2013, 8:40:00 AM9/25/13
to tiddl...@googlegroups.com
Hi all

Just trying to grasp the list filter in TiddlyWiki 5. I get the impression that it will be very useful, but for lack of imagination or whatever, I am not seeing what those uses are.

What advantages do you see coming from this filter?
How are you using it or how do you plan to use it?
What other use cases do you foresee?

Those going to the hangout today might chat about this on there for a while. I will be teaching at that time today so I can't attend.

Dave

Joshua

unread,
Sep 25, 2013, 9:21:48 AM9/25/13
to tiddl...@googlegroups.com
Lists were the first thing I grabbed onto about TW5 that I thought, wow, this will definitely be worth upgrading to TW5. I have a TWc file with nearly everything I need to teach a college class. When TW5 gets auto-save and more robust javascript error handling, I'll switch. TW5 and lists will allow more flexibility with creating a class teaching outline, using certain tags or fields, on the fly rather than manually copying and pasting things. This assumes I break my currently monolithic tiddlers into parts and recombine them as desired using lists later. Just for experiment sake and because I deal with them sometimes, I have added some Bible verses to a TW5 and created 3 fields (biblebook, biblechapter, bibleverse). If you do that with some verses, you can create a nested list providing all verses within a certain book, chapter, or verse range. Someone could use this structure applied to other literature to take notes for class, write a reference book draft, create a survey, or create a test bank for tests (if there was a random tiddler picker that would pick 20-35 questions at random from a pool and place them in the list; TWc has something like this for themes).

Book
  Chapter
    Verse range...Verse range

Joshua

PS. I imagine all of these things could be done with TWc but TW5 brought them to my attention and skill level immediately.

David Gifford

unread,
Sep 30, 2013, 2:35:58 PM9/30/13
to tiddl...@googlegroups.com
I would be interested to see that, being a Bible teacher myself.

Dave


On Wednesday, September 25, 2013 7:40:00 AM UTC-5, David Gifford wrote:

David Johnston

unread,
Sep 30, 2013, 4:52:53 PM9/30/13
to tiddl...@googlegroups.com
For me they enable a more controlled method of moving through my tiddler structure. I have "chapters" for want of a better word, which I create a list for. I then use the Previous and Next filters to put the "Next" and "Previous" links at the bottom of each tiddler. This enables me to influence how someone reading the tiddler moves through it in a structured manner (if they choose too).

The nice thing is if I re-order the tiddlers or add to them, I just need to edit the contents of the list and not any of the tiddlers reading it.

David Gifford

unread,
Sep 30, 2013, 4:57:01 PM9/30/13
to tiddl...@googlegroups.com
Yeah, David, I saw something about the Next and Previous filters, and am really eager to see how it works, but to date have seen neither documentation on how to do it, nor examples of it in action. Got a link for us?


On Mon, Sep 30, 2013 at 3:52 PM, David Johnston <d.w.jo...@gmail.com> wrote:
For me they enable a more controlled method of moving through my tiddler structure. I have "chapters" for want of a better word, which I create a list for. I then use the Previous and Next filters to put the "Next" and "Previous" links at the bottom of each tiddler. This enables me to influence how someone reading the tiddler moves through it in a structured manner (if they choose too).

The nice thing is if I re-order the tiddlers or add to them, I just need to edit the contents of the list and not any of the tiddlers reading it.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/NH-WFeWcChY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.



--
David Gifford
Christian Reformed World Missions, Mexico City

David Johnston

unread,
Sep 30, 2013, 6:17:16 PM9/30/13
to tiddl...@googlegroups.com
Sure David,

I put together a demonstration and explanation wiki for you here: -


If you have any questions don't hesitate to ask.

David


David Gifford

unread,
Sep 30, 2013, 6:23:16 PM9/30/13
to tiddl...@googlegroups.com
Cool! I will definitely be using that for tutorials and presentations in my Spanish resources! Thanks!

Dave


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/NH-WFeWcChY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

David Gifford

unread,
Sep 30, 2013, 6:25:44 PM9/30/13
to tiddl...@googlegroups.com
Anyway to write it so that instead of seeing the tiddler title, all you see is "Next"?

David Johnston

unread,
Sep 30, 2013, 6:58:28 PM9/30/13
to tiddl...@googlegroups.com
Absolutely David :)

Macro's can also be used to create simple "Next" links

<$list filter="[[Tiddler Three]next[TiddlerSeventh]]" macro="nextMacro"/>

\define nextMacro(title) [[Next|$title$]] \end

Will produce what you want I think

I have updated the documentation on the same link as before to demonstrate usage.

On a side note I have been working on "First" and "Last" filters to return the first and last tiddlers in a list. This will enable a fairly simple movement structure based around these tools. With the use of the limit[3] operand in the filter, we could return the next 3 only tiddlers for example out of a much longer list. I am also looking at making a version of limit which counts backwards from the end of the list, to show only the last members of the list .. so endlimit[3] or some such.

I hope with one macro, it should be possible to create a quite decent system that should look something like the following but with links.

First Tiddler, Previous Tiddler, Current Tiddler, Next Tiddler, Last Tiddler.

David



David Gifford

unread,
Sep 30, 2013, 7:24:19 PM9/30/13
to tiddl...@googlegroups.com
Very, very cool!


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/NH-WFeWcChY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

David Johnston

unread,
Sep 30, 2013, 7:31:24 PM9/30/13
to tiddl...@googlegroups.com
I do suspect that applying the ! Prefix to limit will actually return the last 'x' results ... So I think it is just ' following' and 'previous' I need to finish for list filters.

David

David Johnston

unread,
Oct 1, 2013, 8:54:39 AM10/1/13
to tiddl...@googlegroups.com
Hi David,

I have just finished the "before" filter ... it will return all tiddlers before the "current" one in a list. With the ! prefix (not) .. it will act as "after" and return all tiddlers after the "current" one in a list.

This filter, if used correctly should be able to create some kind of breadcrumb trail potentially .. or show preceding items in a list of articles or following articles if desired.

In addition I found a bug in the "limit" filter, specifically to do with the prefix, I have fixed it and issued a "pull request" on github for Jeremy to overview.

Once that is approved, I will submit the "before" filter via a "pull request" to github :)


PMario

unread,
Oct 1, 2013, 9:41:01 AM10/1/13
to tiddl...@googlegroups.com
On Tuesday, October 1, 2013 2:54:39 PM UTC+2, David Johnston wrote:
This filter, if used correctly should be able to create some kind of breadcrumb trail potentially .. or show preceding items in a list of articles or following articles if desired.

I like the possibility to list "following articles" without changing an existing one, just to add this info! 
Cool stuff!
-m

Steven Schneider

unread,
Mar 10, 2016, 10:32:23 AM3/10/16
to TiddlyWiki
Reviving an old thread here. This discussion is on point with the new thread I just started about creating a macro that provides links to the  <first><prev><tagged><next><last> tiddlers in a list

Reply all
Reply to author
Forward
0 new messages