Hi Jeremy,

Normally I do use the $:/favicon.ico mechanism. I just came across one of 
my classic TWs using an embedded icon and thought: Maybe it works in TW5 
when using the $:/tags/RawMarkup tag and it did.
The <link rel="shortcut icon" href="Images/Favicon.ico"> did not work as I 
reported.

So it was just experimenting for fun ;-)

Cheers,

Ton

On Wednesday, October 15, 2014 8:26:26 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Ton
>
> Why wouldn't you just use the $:/favicon.ico mechanism? It automatically 
> inserts a link element for the specified image, base64 encoding as needed. 
> The icon itself can be image/x-icon, image/png and I think jpegs work too.
>
> The only reason for using <link rel="icon"> would be if you wanted to use 
> an external image as the favicon.
>
> Best wishes
>
> Jeremy.
>
>
>
> On Wed, Oct 15, 2014 at 6:52 PM, Ton Gerner <[email protected] 
> <javascript:>> wrote:
>
>> Hi all,
>>
>> Experimenting with favicons I came across another way of using a favicon 
>> in TW5 (instead of just using $:/favicon.ico).
>>
>> In TW classic MarkupPreHead contains default:
>>
>> <link rel='alternate' type='application/rss+xml' title='RSS' href=
>> 'index.xml'/>
>>
>> You can add a favicon by adding:
>>
>> <link rel="shortcut icon" href="Images/Favicon.ico">
>>
>> or for an embedded base64 type ico":
>>
>> <link href="data:image/x-icon;base64,..." rel="icon" type="image/x-icon" 
>> />
>>
>> Copying the above embedded code into a tiddler in TW5 displays a favicon, 
>> but *only* when the tiddler is open.
>> After tagging the tiddler with $:/tags/RawMarkup the favicon persists 
>> when the tiddler is not open.
>>
>> A few sidenotes:
>>
>> * I could not get <link rel="shortcut icon" href="Images/Favicon.ico"> 
>> working with or without the $:/tags/RawMarkup tag.
>> * Tagging a "normal" image with $:/tags/RawMarkup did not work either.
>>
>> One of my classic TWs uses an embedded favicon, an image of a floppy disk.
>> If you want to experiment with an embedded floppy icon, this is the code:
>>
>> <link href=
>> "data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAAAAAAAD5Q7t/AAABiUlEQVQ4y6WQPWsUURSGnxm3sVDCWgSxkClSCImFjV3AysZCO4OFGBasxJ+Q1t+QYKGVf0BBO7dRa8XGYrCw2AyLRZb7Mfeccy0mzg4pNgs51eXA+5znvXDBKQA+//ybzTLb0yOyKmQjm4EqmJFNQbXbmTHdfYHlzN69qhgBpKQ8e/yADydf17r66fIjdm9vAjACEFEevjxk+/nOWgB9NSUlAaAEaJOiktburSK0rSwNUlJUuoWZrQyXZYmmdAYg0gPKsjzXwFRp0wDQtoKKAlDX9cpwVVWICG1MQ4NlhaqqzjcQIbYDQGcgPDn4SPhxuDp8cw8zIw4N4ikgmzGZTDh6/ZZw7T4H+7eIMeKcw3uP9553XwQzO1MhnQJyZmNjDBRQXGI+nxNCwDmHc44QAqpjsmXaYYUYUw9YLBa97mw26wHe+w6QrpKzEUK7BPyua1RGZMs0TcP1zTHHzXua5g4hBLz3OOdQVUSEnI0YO0Dx/9rW3acZYOfGycpP/P7nSv/+9e1NwUXnHwUjFmcJkeMEAAAAAElFTkSuQmCC"
>>  
>> rel="icon" type="image/x-icon" />
>>
>> Cheers,
>>
>> Ton
>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to