Mark,

Thanks, I did not realise there was filter operators for encoding/de 
coding. So now I can do the second encoding step with a reference to a 
variable (populated by the wikified macro call).

It is so obvious "NOT", so thanks for your insight.

tony


On Wednesday, 20 June 2018 10:27:38 UTC+10, Mark S. wrote:
>
> This may or may not get you to where you want. Since <$view> requires a 
> field, you can only use it once. So I put it into macro, had the wikify 
> widget evaluate it, and then use that as input into the encodeuri operator.
>
> \define wikme() <$view tiddler="TestTiddler" format="htmlwikified"/>
>
> <$wikify name="wikid" text=<<wikme>>>
> <$list filter="[<wikid>encodeuri[]]"/>
> </$wikify>
>
> Probably all of this would be wrapped in a second or 3rd macro. 
>
> Have fun!
> -- Mark
>
> On Tuesday, June 19, 2018 at 4:03:05 PM UTC-7, TonyM wrote:
>>
>> Folks,
>>
>> I am working on a generic mailto macro link builder and have come across 
>> the following problem, while trying to ensure emails can be composed from 
>> existing text and tiddler content.
>>
>>
>>    - I can use <$view field=email-body format=htmlwikified/>> to wikify 
>>    a field before urlencoding
>>    - I can use <$view field=email-body  format=urlencoded/> to urlencode 
>>    a field
>>
>> But I cant see how to feed the result of the first step into the second 
>> step so the result is both Wikified and urlencoded.
>>
>>
>>    - I want to avoid a button or other trigger widget (to gain access to 
>>    an action widget to store the intermediate result)
>>    - The View widget only seems to accept a field name (default text) as 
>>    input to I cant reference the intermediate result.
>>
>> Any help would be appreciated
>>
>> Regards
>> Tony
>>
>>

-- 
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/9c48e13e-b04a-4362-a6bb-fedfc00bf0d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to