Just a quick tip, searching for encode on tiddlywiki.com will direct you to a number of operators etc... for forming uri's and more.
Also, if you use macros and replaceable parameters, eg using $param$ or variables $(varname)$ it is often easier to construct final results as needed because they use simple replacement. Regards Tony On Saturday, April 25, 2020 at 8:22:17 AM UTC+10, Anne-Laure Le Cunff wrote: > > Hi everyone, > > I'm trying to add social sharing links on each page of to my TW-generated > website, here is an example: > > <a href="https://twitter.com/intent/tweet?source=*{URL}*&text=*{TITLE}*%20 > *{DESCRIPTION}*&via=anthilemoon" target="_blank" title="Tweet"><img > alt="Tweet" src="social-icons/Twitter.png" /></a> > > > Where {URL} the url of the current tiddler, {TITLE} is the title of the > current tiddler, etc. > > My question is: what am I supposed to use to generate these? (in the > static view template tiddler) > > For example, for *{TITLE}* I tried *<$view field="title"/>* and > *{!!title}* and none of them worked. > > Couldn't find anything in this list > <https://tiddlywiki.com/static/TiddlerFields.html>. > > Thank you! > > p.s. attached a fun screenshot for your pleasure. > > > -- 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/ae0ab12c-56cb-4d2c-ab09-fe4ee70502d5%40googlegroups.com.

