The tutorial code is provided with the Starter Kit in the toi_js folder. You should unpack the toi-v2-svg.tgz file on your webserver, for example:
> mkdir /var/www/html/tutorials
> tar zxf toijs-v2-svg_kreatv4_1.tgz -C /var/www/html/tutorials
Test that the portals are installed, and available with a web browser, by going to http://192.x.y.z/tutorials/
with your web browser on your PC. Replace the x.y.z with the IP address of your webserver. When the page loads, your PC web browser will probably give an error about a missing plugin. This is to be expected, as the page is designed to be viewed with the browser on the IP-STB (where the plugin can be found).
You will also need to have the Infocast server properly configured and running. See the secton on infocast for more info on how to set up the Infocast Server. You will need to send a configuration object called cfg.portal.whitelisturls
which contains the URL to your portal pages. This whitelist exists for security reasons, and tells the IP-STB what URLs it is allowed to load as portals. An example cfg.portal.whitelisturls file looks like this:
<!DOCTYPE PortalURLs SYSTEM "whitelisturls.dtd">
<PortalURLs>
<PortalURL>http://192.168.x.y/tutorials</PortalURL>
<PortalURL>http://192.168.y.z/</PortalURL>
</PortalURLs>
To load a specific URL, telnet into the IP-STB and issue the following command:
# toish uri LoadUri http://123.123.x.y/tutorials/index.svg image/svg+xml
Run logclient
while you try to get the tutorial portals up and running. Should something not work, the log messages may indicate what you need to do. If you need some further help, contact KreaTVsupport@motorola.com