Hi, all --

What's the TiddlyWay to URI-encode and URI-decode strings for use in macros?  I 
know there's a filter now that do some of that, but what I'd like is the 
ability to pass in a string via a macro and get back the URI-encoded version, 
which I could use to set variables to use in building a "mailto:"; string.

For example, I have different tiddlers with different (short!) e-mail 
form-letter skeletons.  I want my macro to be able to grab the body of one, 
URI-encode it, and assemble a URL like:

mailto:j...@coolexample.com?subject=One%20of%20Several%20Possible%20Subject%20Lines&body=That%20whole%20tiddler%body%from%the%20other%20tiddler%2E

Will I have to venture into the land of JavaScript modules for that?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/9ddc5139-31ff-4939-b989-396da019ca64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to