A webapp profile is a simple, INI-style text file that specifies some parameters about a webapp. The profile can be used to launch the webapp in Prism. The parameters also control some of the features of the Prism host window. Here is the list of parameters:
- the unique name of this web application. Remember that other people can create different webapps using the same uri and this webapp is only your particular instance or mashup. So make sure the identifier is not only unique to the web application, but also to you. This identifier becomes the name of the profile folder where your webapp is installed: firstname.lastname@example.org
- the uri/url of the web app: http://mail.google.com
- the display name of the application: Gmail
- the icon you want to use for the Prism window when running this web app. The actual icon file should be stored in the webapp bundle.
- turns the status messages on or off for this web app: yes or no
- turns the readonly location bar on or off for this web app: yes or no
- turns the hotkey history navigation (ALT+LEFT, ALT+RIGHT and ALT+HOME) on or off for this web app: yes or no
- filename of an HTML page to be displayed while the app is loading. The file must be located in the web app home directory: splashscreen.html
- uris that should be opened in the web app, rather than in the default browser. An asterisk is used to match any string. Separate multiple uris with commas: *google.com, *yahoo.com
- urls that should be opened in the default browser, rather than in the web app. Syntax is the same as for include.
- Indicates that a system tray (notification area) icon should be displayed for the application on Windows: yes or no.
- Specifies that the application should be opened in iconic state. Currently support only on Windows in conjunction with the trayicon, causes the application to open minimized to the system tray: yes or no.
Any of the profile parameters can also be passed directly on the command line as well.
Here is an example of a webapp.ini profile:
[Parameters] name=Gmail email@example.com uri=https://mail.google.com icon=gmail status=yes location=no sidebar=no navigation=no