W3C home > Mailing lists > Public > public-html@w3.org > September 2012

[Bug 19076] New: Add new attributes to <meta> element

From: <bugzilla@jessica.w3.org>
Date: Wed, 26 Sep 2012 09:18:26 +0000
To: public-html@w3.org
Message-ID: <bug-19076-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19076

           Summary: Add new attributes to <meta> element
           Product: HTML WG
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
        AssignedTo: erika.doyle@microsoft.com
        ReportedBy: jh.jinghao@huawei.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Currently Web App is more and more popular with its growing performance. Web
App launched as a Web page,it is necessary to distinguish a Web App and a
common Web page in some scenarios.Fox example, mobile user wants to get "recent
task list" which contains not only the native apps but also the Web Apps by
long pressing "Home" button. In such case, the mobile phone should
differentiate Web App and common web page in order to avoid falling back on
Browser to get recent Web Apps. Another use case is that search service will
benefits from the identification of Web page type for it will be more accurate
and fast to search Web Apps by filtering out common Web page.

However, it seems that there is no such mark can indicate if a Web page is Web
App or not, we suggest two proposals to do it by taking extension to <meta>
element.


Proposal one:

1.Add an attribute "page-type" for <meta> element to indicate the type of a Web
page. If its value is "web app" we identified the Web page as a Web App. if its
value is "common-page" or empty we can tell the page is a common web page.
2.Add an attribute "app-type" for <meta> element to classify App type if the
page is a Web App. Its value can be
"games","news","social","travel","weather","utilities","sports" and so on.This
attribute should not be provided unless the attribute "page-type" is signed to
"Web page".

Sample for this proposal:

<!DOCTYPE html>
<html>
<head>
<title>Angry Birds</title>
<meta page-type="web-app" app-category="games">
</head>
...
</html>


Proposal two:

1.Add an attribute "webapp" for <meta> element to indicate whether a web page
is Web App or not. The default value is "true" which means the web page is a
Web App, and the "false" value means Web page is a common Web page.
2.Add an attribute "app-type" for <meta> element to classify App type if the
page is a Web App,its value can be
"game","news","social","travel","weather","utilities","sports" and so on.This
attribute should not be provided unless the attribute "webapp" is signed to
"web page".

Sample for this proposal:

<!DOCTYPE html>
<html>
<head>
<meta name=”description” content=”Angry Birds”/>
<meta webapp="true" app-type="games">
</head>
...
</html>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 26 September 2012 09:18:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 September 2012 09:18:31 GMT