Closed
Description
We already have <meta>
/<link>
for most of the manifest:
{
"name": "My App",
"url": "/start.html",
"mode": "standalone",
"icons": [{
"src": "icon/lowres",
"width": "64",
"type": "image/webp"
}, {
"src": "icon/hd",
"width": "128"
}]
}
Can be written today, without reinventing the wheel, in a backwards-compatible way:
<meta name="application-name" name="My App">
<link rel=start href="/start.html">
<meta name="mobile-web-app-capable" content="yes">
<link rel=icon sizes="64x64" type="image/webp" href="icon/lowres">
<link rel=icon sizes="128x128" href="icon/hd">
And unlike JSON, it supports comments, internationalization and doesn't invalidate entire file because of a single trailing comma :)
<meta name="application-name" name="My App" lang="en">
<meta name="application-name" name="Moja Apka" lang="pl">
<!-- I can comment things without breaking syntax, wow such amaze -->
<link rel=icon href="es.png" hreflang=es>
<!-- text in the icon? No problemo! -->