Great!  Many thanks. I am beginning to understand it & it looks like it 
will do what I need. 

I did your example with a long tiddler & it worked EXCEPT its prefixed by "
*data:text/vnd.tiddlywiki,*" not "*text/plain*"*. *But actually seems to 
make no functional difference? It worked. 

Also, do you know if there is a way to *switch off the prefix* because I 
want to append the encoded text to an URL root.

Josiah


On Friday, 27 May 2016 17:43:16 UTC+2, c pa wrote:
>
> Josiah,
>
> The purpose of a data uri is to encode a web page or some part of a web 
> page into a url. Thus, you don't need to have access to that external 
> resource in order to display it. This is great for single page wikis like 
> TiddlyWiki.
>
> Example: Clicking on the following . . .(from the datauri example)  
> data:text/plain,some%20example%20text
> will open a web page with the text in it. It will do this even if you are 
> not connected to the web.
>
> To pass the text of a tiddler to a URL use the datauri macro as in the 
> example (Except use the title of your text tiddler instead of the jpg used 
> in the example
>
> <$macrocall $name="datauri" title="Motovun Jack.jpg" $output="text/plain"/>
>
>
>
>

-- 
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/43975bfb-2583-4ca8-a572-a7dcaf3122eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to