Returns the urlencoded text of a given field (defaults to "text") in a given tiddler.
\define text-urlencode(tiddler,field:"text")
<$view format="urlencoded" tiddler="""$tiddler$""" field="""$field$"""/>
\endnformation%20about%20the%20making%20of%20TiddlyWiki%3A%0A%0A%20%20%20%20Acknowledgements%0A%0A%20%20%20%20Contributors%0A%0A%20%20%20%20History%20of%20TiddlyWiki%0A%0A%20%20%20%20Releases%0A%0A%20%20%20%20RoadMap%0AInformation%20about%20the%20making%20of%20TiddlyWiki%3A%0A%0A%3C%3Clist-links%20%22%5Btag%5BAbout%5D%5D%22%3E%3E%0A Maybe the encodeuri operator from 5.1.14 will do the job:
http://tiddlywiki.com/prerelease/#encodeuri%20Operator
There is cool stuff ahead!
How much can be transformed?
<$wikify name="testcontent" text={{Tweeting}}>
<$macrocall $name="tweet" text=<<testcontent>>/>
</$wikify>
\define step1()
<$action-setfield $tiddler="$:/state/title" sharetitle={{!!title}}/>
\end
\define step2()
<$tiddler tiddler={{$:/state/title!!sharetitle}}>
<$wikify name=content text=<<renderContent>>>
<$action-setfield $tiddler="$:/state/content" text=<<content>>/>
</$wikify>
</$tiddler>
\end
<$button popup=<<qualify $:/state/Social>> class="tc-btn-invisible">
<<step1>>
<<step2>>
{{$:/core/images/globe}}</$button>\define step1()
<$action-setfield $tiddler="$:/state/title" sharetitle={{!!title}}/>
\end
\define step2()
<$tiddler tiddler={{$:/state/title!!sharetitle}}>
<$wikify name=content text=<<renderContent>>>
<$action-setfield $tiddler="$:/state/content" text=<<content>>/>
</$wikify>
</$tiddler>
\end
<$button popup=<<qualify $:/state/Social>> class="tc-btn-invisible">
<<step1>>
<<step2>>
{{$:/core/images/globe}}</$button>
Here, despite the fact that <<step1>> is called first, the <<step2>> is executed first. Why?
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/71146e3a-8791-42e6-9d4b-c6acc1315ae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BUT: I am getting way too much credit there, please ad your name (or remove mine)!
This is how I see our cooperation: http://twitter.com/telmiger/status/814909829017980928
All the best!
Thomas