++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[{"created":"20210101000000000","creator":"Manu","text":"Respuesta a la 
pregunta en los foros de Tiddlywiki de como conseguir una lista de tiddlers 
con campos que tengan un valor concreto.\n\n* ''st...@sunypoly.edu'' 18 abr 
2020 5:59:44 a TiddlyWiki <p>\n\n<<<\n\nHow do I get a list of tiddlers 
with a field that has a specified value.\nI have TiddlerA with tag 
''howdy'' with field ''special'' with value ''Yes''\n\nI do:\n\n`<$vars 
tagName=\"howdy\" fieldName=\"special\" fieldValue=\"Yes\">`\n\n`<$list 
filter=\"[tag<tagName>]\">` works, but I can't figure out how to put 
`<fieldName>` and then `<fieldValue>` into the 
filter.\n\nThanks!\n\nsteve.\n\n<<<\n\n</p>\n\n*''Eric Shulman'' 18 abr 
2020 6:52:47 a TiddlyWiki <p>\n\n<<<\n\nYou can use two nested `$list` 
widgets, like this:\n\n\n```\n<$vars tagName=\"howdy\" 
fieldName=\"special\" fieldValue=\"Yes\">\n<$list 
filter=\"[tag<tagName>has<fieldName>]\">\n   <$list 
filter=\"[<currentTiddler>get<fieldName>match<fieldValue>]\" 
variable=\"is_match\">\n       <<currentTiddler>>\n   
</$list>\n</$list>\n</$vars>\n```\n\n\nThe outer `$list` widget finds all 
tiddlers tagged with `<<tagName>>` that have a field named 
`<<fieldName>>`.\nThe inner `$list` widget tests each tiddler to see if the 
value of the fieldName matches the `<<fieldValue>>`.\nThen, for each 
tiddler with a matching value, it does something (in the above example, it 
just displays the name of the 
tiddler)\n\nenjoy,\n-e\n\n<<<\n\n</p>\n\n*''TW Tones'' 18 abr 2020 7:04:31 
a TiddlyWiki <p>\n\n<<<\n\nEric,\n\nthis is no doubt the way I would do it, 
but I had a thought, Something like this should work in a single 
list;\n\n`[tag<tagName><fieldName><fieldValue>]`\n\nOr 
\n\n`[tag[howdy]special[Yes]]`\n\nWhat do you 
think?\n\nTony\n\n<<<\n\n</p>\n\n\n\n\n\n\n\n\n","title":"New Tiddler 
3","tags":"","modifier":"Manu","modified":"20210428074228558"}]

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I feel the delay in answering. I don't know why but every time I have tried 
to send the .json file it tells me that it has been published but then it 
appears as a deleted message. I honestly don't know what happens ...
I send the complete content of the json file in text format, I hope it 
arrives well.

Thanks for everything.
El miércoles, 28 de abril de 2021 a las 3:09:09 UTC+2, Soren Bjornstad 
escribió:

> Your snippet works for me, too. Can you export the tiddler you create as a 
> json file and attach that? It's possible you're getting some kind of weird 
> special character in there, and the JSON file will be an exact copy of your 
> tiddler without any issues introduced by copying and pasting.
>
> [image: ksnip_20210427-201022.png]
>
> On Tuesday, April 27, 2021 at 6:37:48 PM UTC-5 Xabriña wrote:
>
>> Well, I don't know what happens. I also get it correctly in the online 
>> version of Tiddlywiki, but in the installation that I have on the laptop it 
>> doesn't work. I have to say that I use Bob.exe, I don't know if that will 
>> be the problem.
>>
>> What I am trying to put is the following:
>>
>> <<<
>>
>> You can use two nested `$list` widgets, like this:
>>
>> ```
>> <$vars tagName="howdy" fieldName="special" fieldValue="Yes">
>> <$list filter="[tag<tagName>has<fieldName>]">
>>    <$list filter="[<currentTiddler>get<fieldName>match<fieldValue>]" 
>> variable="is_match">
>>        <<currentTiddler>>
>>    </$list>
>> </$list>
>> </$vars>
>> ```
>> <<<
>>
>> And this is what appears to me:
>>
>>
>> </$list> </$list> </$vars> `
>>  <<<   
>>
>> El miércoles, 28 de abril de 2021 a las 0:20:42 UTC+2, mwik...@gmail.com 
>> escribió:
>>
>>> This seems to work fine unless you have some text in the line 
>>> *immediately* above the <<<. Then everything gets mis-parsed (I think that 
>>> it has something to do with rendering inline vs block). If you leave and at 
>>> least one empty line (with absolutely no spaces) just before <<<, it should 
>>> render as a block quote.
>>>
>>> /Mike
>>>
>>> On Tuesday, April 27, 2021 at 4:22:35 PM UTC-3 Xabriña wrote:
>>>
>>>> this is the text i'm trying to put
>>>>
>>>> <<<
>>>>
>>>> You can use two nested `$list` widgets, like this:
>>>>
>>>> ```
>>>> <$vars tagName="howdy" fieldName="special" fieldValue="Yes">
>>>> <$list filter="[tag<tagName>has<fieldName>]">
>>>>    <$list filter="[<currentTiddler>get<fieldName>match<fieldValue>]" 
>>>> variable="is_match">
>>>>        <<currentTiddler>>
>>>>    </$list>
>>>> </$list>
>>>> </$vars>
>>>> ```
>>>> <<<
>>>>
>>>> El martes, 27 de abril de 2021 a las 21:11:19 UTC+2, Xabriña escribió:
>>>>
>>>>> Hello everybody.
>>>>>
>>>>> I am trying to do one thing but I am not successful and I am not sure 
>>>>> what can be done.
>>>>> I try to put a text in monospaced block formating inside a quoted text 
>>>>> formating but I can't get it to work. I have just disappeared part of the 
>>>>> text of the tiddler. Is there any way that this works or is it that it 
>>>>> can't be done?
>>>>>
>>>>> Thank you so much.
>>>>>
>>>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61dee827-4e74-4c4b-b0a5-b7e0012e91fbn%40googlegroups.com.

Reply via email to