W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] Fwd: Proposal for a web application descriptor

From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
Date: Fri, 29 Apr 2011 17:33:58 +0200
Message-ID: <B72B479C-CBE4-4382-ACE7-2DB9396735E8@4d.com>
Oops I did it again !!!

A direct Reply which did not include the whatgw list
Thanx Simon for pointing it out, the direct response was not done intentionally ;-)

So here my comments:

> Am 29.04.2011 um 11:34 schrieb Alexandre Morgaut:
>
>> Hi Simon,
>>
>> The user interface proposal looks interesting.
>> Please, think to turn your system into english for your screenshoots ;-)
>>
>> I'm just not sure it should be handled via an external xml file, but why not...

Note that the XML format is actually used for sitemaps and rss feeds, openSearch descriptions, ...
so it is still an option

>>
>> Other solutions could be:
>>
>> 1 - Robots.txt like file
>>
>> With a simpler syntax, as it has been chosen for the Offline cache manifest
>>
>> ex:
>>
>> LOCATION: on
>> CAMERA: on
>> MICROPHONE: on
>> STORAGE: 100MB
>> NOTIFICATIONS: on

Of course, as Simon replied to me, robots.txt, the offline cache manifest, and this application manifest may even be merged

>>
>>
>> 2 - Simple Meta elements
>>
>> Via multiple meta tags
>>
>> <meta name="Permission" content="location">
>> <meta name="Permission" content="storage; size=100MB">
>> <meta name="Permission" content="notifications">
>>
>> Potentially grouped into a single meta tag
>>
>> <meta name="Permission" content="location, camera, storage; size=100MB, notifications">
>>
>>
>>
>> 3 - HTTP headers with Meta http-equiv support
>>
>> Via multiple headers
>>
>> Webapp-Permission: location
>> Webapp-Permission: storage; size=100MB
>>
>> Potentially grouped into a single header
>>
>> Webapp-Permission: location, camera, storage; size=100MB, notifications
>>
>>
>> with the Meta element equivalent
>>
>> <meta http-equiv="Webapp-Permission" content="location, camera, storage; size=100MB, notifications">
>>
>>
>>
>> 4 - and/or a JavaScript method
>>
>> window.requestPermissions(
>>    {
>>        location: true,
>>        storage: 100000
>>    }
>> );







Alexandre Morgaut
Product Manager

4D SAS
60, rue d'Alsace
92110 Clichy
France

Standard : +33 1 40 87 92 00
Email :    Alexandre.Morgaut at 4d.com
Web :      www.4D.com
Received on Friday, 29 April 2011 08:33:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT