RE: [Widgets] confi.xml - icon element

Hi All,
I share Thomas' point of view that defining a role for icons is a good idea.
I also see the point of defining if the "role" should be mandatory or not.
If it's not mandatory, what should be the default behaviour?
I also would like to discuss the possibility of defyining a "degradation" path for icons and roles.
For example imagine the widget creator build a package with only one icon with "screenshot" role.
The same image could be used (with resizing and format conversion automatically provided by the widget framework) for "small" and "favicon".
In this way we don't force widget creators to build icons for all roles... it wil be also possible to extend the total set of roles in specific widgets implementations without breaking compatibility (and keeping a personalised look for each widget).
 
 
    Igor.
 


________________________________

	From: public-appformats-request@w3.org [mailto:public-appformats-request@w3.org] On Behalf Of Thomas Landspurg
	Sent: Thursday, March 13, 2008 10:10 AM
	To: public-appformats@w3.org
	Cc: SUZANNE Benoit RD-SIRP-ISS
	Subject: Re: [Widgets] confi.xml - icon element
	
	
	 Hello Benoït,
	
	 I like the idea of the role, and it's an elegant way to solve some issues linked with multiple icons needs (big, small, etc...) So yes, why not define some standards roles, and if role is not defined, it's a default role which is taken?
	
	
	On Tue, Mar 11, 2008 at 11:40 AM, SUZANNE Benoit RD-SIRP-ISS <benoit.suzanne@orange-ftgroup.com> wrote:
	

		
		Hi All
		About the icon element, we have not stated what the role should be but I can think of the following elements:
		
		>>>>>
		<widget xmlns="http://www.w3.org/ns/widgets" 
		        id="http://example.org/widget" 
		        version="2.0 Beta" 
		        height="200" 
		        width="200">
		..../...  
		  <icon role="small" src="icons/widget-icon.png" />
		 <icon role="favicon" src="icons/widget-favicon.png" />
		 <icon role="screenshot" src="icons/widget-screenshot.png" />
		.../...
		</widget> 
		<<<<<
		
		Best Regards, 
		Benoit 
		
		

			 
			Benoit  Suzanne
			Widget Factory Project Manager - Orange Labs - FT/RD/SIRP/SOL/SLAM
			t. +33 (0)145 298  198 - m. +33 (0)680 287 553
			benoit.suzanne@orange-ftgroup.com
			 
			

		
		
		




	-- 
	Thomas Landspurg
	CTO
	http://www.webwag.com
	

Received on Monday, 17 March 2008 09:38:51 UTC