>
> Are you getting them in sets of data 4 at a time, or  like a giant listing?
>

I can request that Jed make them come in whatever format is useful (if it 
doesn't put a lot of burden on him of course) 

In the basic, set of 4 case, you can use the nth operator like this:
>
> <$set name="myList" value="[[tid A]] 234234 [[meta data for tid A]] [[]] ">
> <$list filter="[enlist<myList>nth[2]]">
> Item: <<currentTiddler>><br/>
> </$list>
> </$set>
>
> The problem is, if you try this, is that empty [[]] field will disappear. 
> This will happen if any of your fields are empty. 
>

LOL, I implemented 
<http://mybob2.tiddlyspot.com/#:peek-list%20%3A%2F_TWed%2Fpeek-list> that 
exact idea just earlier today!

 

> So you might need to have any fields that could be empty prefixed with 
> some indicator value (e.g. "m:my meta data") and then use the removeprefix 
> operator to present it.
>

Good idea. It gave me the idea to use the string "&nbsp;" (i.e a space 
character) so it can't be seen if it is written out. I just added this to 
the implementation.

 

> I'm also a little nervous that your list might "sort" itself if you apply 
> any other operations first. I'm not sure that the order of the list items 
> is guaranteed for every browser. So you might have to prefix all the fields 
> just to be sure.
>

I don't seem to get that problem. What I'm more concerned with is if the 
whole idea with the proposed format is "bad" for some reason. Maybe the 
answer is simply that it will do the job - but maybe it is, for example, 
too fragile and will open up for problems in some cases I can't think of.

BTW as you'll see in the implementation, I did't use line breaks as a 
delimiter but instead an ugly %%%. I wish I could use linebreaks (for 
optics) but they disappear when I use 

<$action-listops $tiddler='peek-list' $field="text" 
                  $subfilter="+[remove<tid>]"/>

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ab6e5c0-b917-4b27-916d-2edf4fac45aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to