I think you need to find a way to mark those fields with something 
different from a number ("1"). Otherwise the first time you need to track a 
count in a tiddler everything is going to blow up. Maybe different field 
contents (e.g. "tiddlerlink") or a naming convention (e.g. preface with 
"pre_")

-- Mark

On Sunday, July 29, 2018 at 7:26:00 AM UTC-7, Dave wrote:
>
> yes, that's perfect - each of the fieldnames were names of data tiddlers.  
> Thank you!!
>
> And, yes, I have been perusing those filter topics at tiddlywiki.com, but 
> I never thought of/found "getindex".  I'm sure as I learn more the 
> different parts will start making more sense.
>
> At some point in the past I remember seeing a kind of "flow chart" 
> explanation of filters, but I didn't find that last night.  Have you ever 
> come across that?
>
> On Sunday, July 29, 2018 at 7:03:33 AM UTC-6, Mark S. wrote:
>>
>> Hi Dave,
>>
>> You lost me at "of those data tiddlers". What data tiddlers? The field 
>> names just recovered are names of data tiddlers? If so, then maybe:
>>
>> <$list filter="[all[current]fields[]]" variable="fieldname">
>> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]title
>> <fieldname>getindex[origin]]" variable="origin">
>> <<fieldname>> == <<origin>>
>> </$list>
>> </$list>
>>
>>
>> I recommend everything tagged with "Filters" at TiddlyWiki.com. 
>> Familiarize yourself with [[Filter Operators]] to know what tools are 
>> available. Filters remind me of that classic "Waterworks" game, where 
>> you're trying to lay out a series of idiosyncratic pieces to arrive at your 
>> destination without springing a leak. 
>>
>> Have fun!
>> -- Mark
>>
>> On Saturday, July 28, 2018 at 11:11:30 PM UTC-7, Dave wrote:
>>>
>>> For the next step I'm trying to use that list of tiddlers to list the 
>>> data listed in the index("origin") of those data tiddlers
>>>
>>> I've tried this:
>>>
>>> <$list filter="[indexes[origin]]">
>>> <$list filter="[all[current]fields[]]" variable="fieldname">
>>> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]]">
>>> <<fieldname>>
>>> </$list>
>>> </$list>
>>> </$list>
>>>
>>>
>>> and this
>>>
>>>
>>> <$list filter="[all[current]fields[]]" variable="fieldname">
>>> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]]">
>>> <$list filter="[indexes[origin]]">
>>> <<fieldname>>
>>> </$list>
>>> </$list>
>>> </$list>
>>>
>>>
>>> the first one doesn't returning anything, and the second one just 
>>> repeats the initial list you gave me but multiplied (each item repeats for 
>>> the number of items in the original list)
>>>
>>> Are there any tutorials or search terms I should use to find something 
>>> to get this working? (and I also tried with "index" instead of "indexes")
>>>
>>

-- 
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/838a2709-2925-41af-9a01-e43b30e06592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to