Tutorial:Packaging de WebApps

De Wiki Seb35
Révision datée du 9 septembre 2014 à 13:59 par Seb35 (discussion | contributions) (init)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche


Packaged Web Apps (Widgets)

  • Specification: http://www.w3.org/TR/widgets/
  • Directory structure:
    Reserved File Names Table
    file nametypereserved for purpose
    config.xmlfileConfiguration document
    icon.pngfileDefault icon
    icon.giffileDefault icon
    icon.jpgfileDefault icon
    icon.icofileDefault icon
    icon.svgfileDefault icon
    index.htmlfileDefault start file
    index.htmfileDefault start file
    index.svgfileDefault start file
    index.xhtmlfileDefault start file
    index.xhtfileDefault start file
    localesfolderContainer for localized content
  • Package:
    • Extension: .wgt
    • MIME type: application/widget
    • Archive: ZIP file
    • Manifest: config.xml (see specification)

Firefox OS / Firefox Apps

  • Documentation: https://developer.mozilla.org/en-US/Apps/Quickstart
  • Directory structure:
    Reserved File Names Table
    file nametypereserved for purpose
    manifest.webappfileManifest document
    index.htmlfileDefault start file
  • Package:
    • Archive: Web hosting or ZIP file
    • Manifest: manifest.webapp