Hi Dave,

I tested the filter in your OP and it worked for me with titles that have 
multiple words.

I also tested the full snippet and found there is a [ missing before 
article, but other than that, this also seems to work.

c pa's solution is pretty cool, too.

Regards,
Richard

On Saturday, July 23, 2016 at 10:16:44 AM UTC+10, David Gifford wrote:
>
> It will be in a tiddler tagged $:/tags/ViewTemplate
>
> Dave
>
> On Fri, Jul 22, 2016 at 7:15 PM, David Gifford <[email protected] 
> <javascript:>> wrote:
>
>> Hi c pa
>>
>> I probably should have included the complete list filter. I am not sure 
>> how to integrate this with what you just sent me
>>
>> <$list filter="article{!!title}]">
>>
>> <$transclude field="text" mode="block"/>
>>
>> <span class="source"><$link field="title"><$view field="source"/> - 
>> <$view field="modified" format="date" template="YYYY MMM"/></$link></span>
>>
>> <hr>
>>
>> </$list>
>>
>> On Fri, Jul 22, 2016 at 7:10 PM, 'c pa' via TiddlyWiki <
>> [email protected] <javascript:>> wrote:
>>
>>> \define List_Articles(article, template)
>>>     <$list filter="[field:article[$article$]]">
>>>          $template$
>>>     </$list>
>>> \end
>>>
>>> <$macrocall $name="List_Articles" article={{!!title}} 
>>> template="""
>>>
>>>     Code to be run per article such as listing the title:
>>>     {{!!title}}
>>>
>>> """/>
>>>
>>> And yes. It does seem to be overkill. I've learned to live with overkill.
>>>
>>> -- 
>>> 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/AY6P-tro51o/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> 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/698591ce-4c1a-4550-bf4a-15902a2f934b%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/698591ce-4c1a-4550-bf4a-15902a2f934b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> David Gifford
>> Christian Reformed World Missions, Mexico City
>>
>>
>
>
> -- 
> David Gifford
> Christian Reformed World Missions, Mexico City
>
>

-- 
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/f2aed31c-6423-41cd-8a50-295ef57e8f73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to