Opera Widget porting example - NHL News
(Created page with '= Note: This page is not ready to be used yet = == Preface == This is an example of porting a Opera Widget to Nokia WRT.') |
m |
||
| Line 2: | Line 2: | ||
== Preface == | == Preface == | ||
| − | This is an example of porting a Opera Widget to Nokia WRT. | + | This is an example of porting a Opera Widget to Nokia WRT using Guide found [[here]]. |
| + | |||
| + | == 1. Download the .zip package == <br />The NHL zip package can be found by following this [http://widgets.opera.com/widget/download/force/7711/1.0/|link.] | ||
| + | |||
| + | == 2. Unzip the NHL archive == | ||
| + | The archive needs to be unzipped to make modifications to its contents, so go ahead and extract it. | ||
| + | |||
| + | == 3. Create info.plist manifest file == | ||
| + | When installing a .wgz file the system looks for a manifest file called info.plist. The Opera Widget equivalent is called config.xml. | ||
| + | |||
| + | Here's how to use the Opera Widget config.xml data to create the WRT manifest file: | ||
| + | #Download and unzip this info.plist template file and save it in the widget's root directory. | ||
| + | #Add the text found within the <widgetname> tag of the config.xml file to the <DisplayName> element of the info.plist file.<br />--image of tags-- | ||
| + | #Add the <Identifier> as a random integer 30 digits long.<br />--image of tags | ||
| + | #Add the <MainHTML> as index.html.<br />--image of tags | ||
| + | #Leave <AllowNetworkAccess> as </true>.<br />--image of tags | ||
| + | #Save the file. | ||
| + | |||
| + | == 4. Packaging == | ||
| + | Re-zip the containing NHL folder and change the file extension from .zip to .wgz. | ||
| + | [[File:NHLWidgetPortingExample Rezipped.png]] | ||
| + | == 5. Deploy == | ||
| + | Upload the widget to you mobile device and install. | ||
Revision as of 16:58, 28 October 2009
Contents |
Note: This page is not ready to be used yet
Preface
This is an example of porting a Opera Widget to Nokia WRT using Guide found here.
== 1. Download the .zip package ==
The NHL zip package can be found by following this [1]
2. Unzip the NHL archive
The archive needs to be unzipped to make modifications to its contents, so go ahead and extract it.
3. Create info.plist manifest file
When installing a .wgz file the system looks for a manifest file called info.plist. The Opera Widget equivalent is called config.xml.
Here's how to use the Opera Widget config.xml data to create the WRT manifest file:
- Download and unzip this info.plist template file and save it in the widget's root directory.
- Add the text found within the <widgetname> tag of the config.xml file to the <DisplayName> element of the info.plist file.
--image of tags-- - Add the <Identifier> as a random integer 30 digits long.
--image of tags - Add the <MainHTML> as index.html.
--image of tags - Leave <AllowNetworkAccess> as </true>.
--image of tags - Save the file.
4. Packaging
Re-zip the containing NHL folder and change the file extension from .zip to .wgz.
5. Deploy
Upload the widget to you mobile device and install.

