Re: Desktop use of favicons for URI holders

On 2011-12-01 18:12, Karl Dubost wrote:
>
> Le 1 déc. 2011 à 11:56, Tim Berners-Lee a écrit :
>> Of course. Which, like favicon, works in the URL bar in a browser but not when the URI is dragged to
>> the desktop. Yes, I know it means the Desktop has to keep a hidden cache of these things somewhere
>> but they aren't very big.
>
>
> Not necessary.
> For example, on macosx if I drag and drop a URI onto the desktop I get a file.
> Let's do it with http://www.w3.org/
> A file with a "@" sign and the name is www.w3.org.webloc
> Opening the file with a text editor
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>URL</key>
> 	<string>http://www.w3.org/</string>
> </dict>
> </plist>
>
> I could imagine instead having
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>URL</key>
> 	<string>http://www.w3.org/</string>
> 	<key>favicon</key>
> 	<string>data:image/x-ico;base64,AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAMAACMuAAAjLgAAAAAAAAAAAACkZxWkZxajZRSiYxChYAyeXgedXASdWwKcWgGcWgGcWgGcWgGcWgGcWgGcWgGcWgGmaxunaxumahmkZxajZBCgYAueXgedXQWdWwGcWgGcWwKdXASdXAWdWwKcWgGcWgGpcCSpcCOobyGlaRijZROjZBCfXwmaWAOdXAOdWwKbWAKVTgCUTgCaVwGdWwKcWgGsdiysdi2pcSWxfTaueC+hYxClaBexezOcWwKbWACfXw/Rrn7XuI6mah2ZVQCdWwKwezSwfDembiHVt43RsIOcXASzgDvjy6ydWwKcWwLo1Lnv38rr2MDx4s6hYg6bWACyfzyzgD2tdy/o1bvp1LqgYg7Iom778eWpbyGfXwjNqXafXxChYRX+9+2+kFOVTwC0hEOzgT+6jVD47N337N2ueTHexKL///vCmF+bWQCaVwWbVwCdWgr3697DmWCUTgC2iEmxgD3OrH/059fy49DProHp1r3x4s3exaOfYQ2laBelZxbFm2P/+fKxezSYUwC4jU+zhEHn1LngyKnWuJH57uDo1LnLpnX16dmsdiyiZRLkza//+vPOqnmdWgGfXge7jlO8kVb369zProDDnGb/+/TbwZ2zgkD47uDDmmOgYxDHn2v47d+qcSWfXwmiYw66kVbMqnz57uHBmmO8klb47d7OrX+ufDbr2cHdw6GvezaueTPs2sLgx6agYw+maxq9lF3izK/x4s63i0/RsYb47d7AmGG1hkfVt5D+9+7269v369z47d//+fC9kVambB3Enm3QsYjNrYG/l2DKp3jOrYG9lFy9lFzAmGHRsojSs4nRsYbProHOrH25i06ueDLHpXfEoXHEoG/GonLDnGnAmWPCm2fBmmW/lmG6j1
a5jVK3iU21hkezgkG0hEKzg0PHpXbIpnrJp3rHpXbHpHXGonPFn27EnmvDnGjCm2fBmWS/lmC9klq8kFa5i0+1iEnGo3PIpXjJpnnIpnnIpXjIpHbGonPFoG/EnmzDnGjBmWS/lmC8k1m7j1W5jFC3ikwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</string>
> </dict>
> </plist>

IE9:

[{000214A0-0000-0000-C000-000000000046}]
Prop4=31,World Wide Web Consortium (W3C)
Prop3=19,2
[{A7AF692E-098D-4C08-A225-D433CA835ED0}]
Prop5=3,0
Prop9=19,0
[InternetShortcut]
URL=http://www.w3.org/
IDList=
IconFile=http://www.w3.org/2008/site/images/favicon.ico
IconIndex=1
[{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}]
Prop5=8,Microsoft.Website.4FBB7D27.BCCF0064

...and the icon is displayed.

Best regards, Julian

Received on Thursday, 1 December 2011 17:24:37 UTC