Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add webapp manifest and appcache manifest

* webapp manifest
* appcache manifest
* Firefox OS-ready
  • Loading branch information...
commit 3276de6951f91b26629f44e98cd5365c595b159b 1 parent 5303221
Daniele Veneroni authored
2  LICENSE.md
View
@@ -4,4 +4,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 README.md
View
@@ -11,6 +11,12 @@ You can easly replace or modify the resources of the project to create your own
### index.html
Your main page, that's the first page that the app will show when loaded.
+### manifest.webapp
+Open Web App manifest, useful if you wish to create a web app for Firefox or Firefox OS.
+
+### manifest.appcache
+App cache manifest, useful to declare what resources can be cached and what resources must always reload. It can be used to create an offline web app, or a web Firefox OS app.
+
### config.xml
The configurations file. See [Using config.xml](https://build.phonegap.com/docs/config-xml) to learn how to personalize yours. It's already formatted with the most common settings.
2  config.xml
View
@@ -62,7 +62,7 @@
<!-- GENERAL PREFERENCES -->
- <preference name="phonegap-version" value="2.2.0" /> <!-- versione di phonegap usata -->
+ <!-- <preference name="phonegap-version" value="2.2.0" /> versione di phonegap usata, se non specificata usa quella di default (l'ultima disponibile) -->
<preference name="orientation" value="default" /> <!-- entrambe supportate -->
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="true" /> <!-- toglie la barra in alto su iOS e Android -->
BIN  icons/webapp/icon128.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon16.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon256.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon30.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon32.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon48.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon512.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon60.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  icons/webapp/icon64.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  index.html
View
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html manifest="manifest.appcache">
<head>
<title>APPLICATION NAME</title>
19 manifest.appcache
View
@@ -0,0 +1,19 @@
+CACHE MANIFEST
+# 27-02-2013:v1
+
+# Explicitly cached entries
+index.html
+LICENSE.md
+
+# page that will be displayed if the user is offline
+FALLBACK:
+
+# All other resources require the user to be online
+NETWORK:
+*
+
+# Additional resources to cache
+CACHE:
+manifest.webapp
+lib/add2home.css
+lib/add2home.js
31 manifest.webapp
View
@@ -0,0 +1,31 @@
+{
+ "name": "My App Name",
+ "description": "description of the app",
+ "version": "1",
+ "type": "web",
+ "csp": "allow 'self'; script-src 'self' ; style-src 'self';",
+ "launch_path": "/index.html",
+ "appcache_path": "/manifest.appcache",
+ "fullscreen": "false",
+ "icons": {
+ "16": "/icons/webapp/icon16.png",
+ "30": "/icons/webapp/icon30.png",
+ "32": "/icons/webapp/icon32.png",
+ "48": "/icons/webapp/icon48.png",
+ "60": "/icons/webapp/icon60.png",
+ "64": "/icons/webapp/icon64.png",
+ "128": "/icons/webapp/icon128.png",
+ "256": "/icons/webapp/icon256.png",
+ "512": "/icons/webapp/icon512.png"
+ },
+ "developer": {
+ "name": "Daniele Veneroni",
+ "url": "http://veneronslabs.wordpress.com/"
+ },
+ "default_locale": "en",
+ "locales": {
+ "it": {
+ "description": "Descrizione dell'applicazione"
+ }
+ }
+}
BIN  splash/ios/splash-1496x2048.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.