Skip to content

Instantly share code, notes, and snippets.

@Whelton
Created April 2, 2012 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whelton/2287277 to your computer and use it in GitHub Desktop.
Save Whelton/2287277 to your computer and use it in GitHub Desktop.
webapp manifest in php with header set to type
<?php
header('Content-type: application/x-web-app-manifest+json');
echo '
{
"name": "Hello World",
"description": "Hello world example app.",
"launch_path": "/",
"icons": {
"120": "/b2g/helloworld/icon_120.png"
},
"developer": {
"name": "James Whelton",
"url": "http://jameswhelton.com"
}
}
';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment