Thank you, that worked! :)

On Wednesday, August 21, 2019 at 9:36:39 PM UTC, Mark S. wrote:
>
> I was hoping to do this with the link widget, but there doesn't seem to be 
> any way to force it to see the link as external. 
> But rolling your own links with the <a> anchor seems to work:
>
> <$vars bookid=<<currentTiddler>> >
>
>     <$list filter="[list[!!filetypes]]">
>           <a href={{{ [title<bookid>addsuffix[/book.]addsuffix
> <currentTiddler>addprefix[/book/]] }}} > <$text text={{{ [title<bookid>
> addsuffix[/book.]addsuffix<currentTiddler>addprefix[/book/]] }}}/>
> </a><br/>
>         
>     </$list>
> </$vars>
>
>
>
> On Wednesday, August 21, 2019 at 2:12:35 AM UTC-7, Tristan wrote:
>>
>> Hey guys,
>>
>> I am pretty sure this question was asked before but finding stull in 
>> GoogleGroups is some arcane witchcraft I am not capable of...
>>
>> I have a tiddler with a field "filetypes" containing a list of filetypes: 
>> "pdf jpg png"
>>
>> I need to generate multiple external links for every filetype like this: 
>> "[ext[/some/path/file.pdf|jpg|png]]"
>>
>> What I tried was using a list widget but that generates gibberish:
>>
>> <$vars bookid=<<currentTiddler>>>
>>     <$list filter="[list[!!filetypes]]">
>>         [ext[/book/{bookid}/book.<currentTiddler>]]
>>     </$list>
>> </$vars>
>>
>> My second guess was using a wikify widget but that did not work either. I 
>> am pretty sure there is a straightforward and easy answer to this and my 
>> overengineering mind plays me here.
>>
>> Any help would be very much appreciated, thanks in advance,
>> Tristan
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65c8fda1-716a-4a35-908c-899ced2559bb%40googlegroups.com.

Reply via email to