list filter question

101 views
Skip to first unread message

David Gifford

unread,
Jun 18, 2016, 2:36:11 PM6/18/16
to TiddlyWiki
Hi all

Is there a way to do a list filter to transclude the tiddlers created on a certain day, and sorted from most recent to least recent (down to the minute)? I want to have a tiddler entitled June 18 2016 and showing all the tiddlers created in that day, ordered from most recent to least recent.

Dave

Mark S.

unread,
Jun 18, 2016, 3:58:24 PM6/18/16
to tiddl...@googlegroups.com
This seems to work. You (apparently) have to put in the long date form (shown) in order for it not to use the UTC time. This will sort down to the milli second. Most of the filter ended up being lifted from the timeline macro.

<$list filter="[!is[system]sameday:created[20160618185308122]!sort[created]]">
<$view field=created/> - ''<$view field=title/>''
<br/><$transclude/><p/>
</$list>


HTH
Mark

David Gifford

unread,
Jun 19, 2016, 9:37:58 PM6/19/16
to TiddlyWiki
For those who want to know what I ended up doing:

I needed something easy and decided to go with the following for my tiddler for June 19, tagged 'date'

`<span class="indent1"><hr><$list filter="[tag[19]sort[title]]"><span class="bubble"><$transclude field="temas"/></span><br><br><$transclude field="text" mode="block"/><hr></$list></span>`

where 19 is the tag I add for anything created on the 19th.

Then I have a June tiddler with the following:

<$list filter="[tag[date]sort[title]!title[$:/.fechatemplate]]"><h3><$view field="title"/></h3><$transclude field="text" mode="block"/><br></$list>

Then from the June tiddler I create a static as I update it: http://recursos.giffmex.org/2016/junio.html

Dave
Reply all
Reply to author
Forward
0 new messages