Re: Widget update mechanisms

On 2008-05-06 14:01:30 +0200, Thomas Landspurg wrote:

>  Do we must explicitly add these information into the URL, or could we say
> that these information are atuomatically added into the update URL by the
> framework?
> 
>   Exemple:
> 
> <update    uri="http://nokia.com/update.php<http://nokia.com/update.php?widget=myWidget,version=201>
> "/>
> 
>  Will be transformed into
> 
>   http://nokia.com/update.php?widget=myWidget&version=1.02

Why?  When config.xml is authored, the version is known.  I can see
a small gain in convenience to automatic rewriting, but then again,
that opens up the URL templating can of worms.  For the sake of
simplicity, I'd just say "put in a URI".

>   The other interesting thing of having the url as part of the config and
> not the widget, is that the framework could also check for update, in an
> automatic way...

yes

>  Also, does the expected return defined?

Does it ever return?

-- 
Thomas Roessler, W3C  <tlr@w3.org>

Received on Tuesday, 6 May 2008 12:16:49 UTC