Re: [widgets] <option>s on <feature>s

On Wed, 18 Mar 2009 16:19:34 +0100, Robin Berjon <robin@berjon.com> wrote:

> On Mar 18, 2009, at 15:38 , Marcos Caceres wrote:
>> It might be good to add an <option>s element on the <feature> element  
>> to allow options to be set for features using name-value pairs. For  
>> example:
>>
>> <feature name="http://clothing.com/api">
>>  <option name="fancy" value="pants"/>
>>  <option name="color" value="green"/>
>> </feature>
>
> Do you have some examples that involve things that aren't pants?

Does this suffice? 

<feature name="url_describing_filesystem_api">
  <option name="music" value="read" />
  <option name="video" value="read write" />
</feature>

The intent would be to allow a widget UA to allow native UI for selecting this, not dependent on for instance browseForDirectory().

-- 
Arve Bersvendsen

Developer, Opera Software ASA, http://www.opera.com/

Received on Wednesday, 18 March 2009 15:38:29 UTC