Developers
AvantGo Channel Developer Guide

TOC PREV NEXT INDEX


Making web pages available

If you already have a website that you want to use for your channel, you can use those pages in the instructions that follow. If you do not yet have a website ready, just assume that you want to create a channel for your hypothetical newspaper, the "Hello World Gazette," and build a test website to turn into a channel. You would start off by building a simple HTML page, something like this:

<html>

<head>

<title>Hello World Gazette</title>

</head>

 

<body>

<center>

<p>Welcome to the Hello World Gazette.</p>

<p><b>Hello, world!</b></p>

</center>

</body>

</html>

Since it is just ordinary HTML, you can view the page in your favorite browser. It is not a particularly fascinating site, but it will do for a start.

Note: To set up a website as an AvantGo channel, it must be hosted on a server that is publicly available — outside of any firewalls. Remember, the AvantGo sync server retrieves channel pages from the Internet. If you have your channel stored within your company's firewall or on your local hard drive, the AvantGo sync server will not be able to retrieve it, and you cannot get the channel downloaded to your device.

Figure 3-1 Web server behind firewall cannot serve channel

Assume your channel is located at http://www.hwgazette.com/avantgo/index.html.

Tip: As a general rule, it is a good idea to put all your AvantGo channel pages in a separate directory.



TOC PREV NEXT INDEX