Data Translators?
Yes. Notepad Server and Agenda
Server are 'Translators' that access the Newton's
specialized data structures, translate them to HTML (if
needed), and pass them into an output stream maintained by
nHTTPd. You can serve NO information without at least one of
these packages installed.
Installation
- ERASE
any version of Notepad
Server you have installed currently.
- Use your package installer to
load Notepad Server and Agenda Server (if
you wish) onto your Newton. They will appear in the
Extensions folder as pHTML:MAVON and
pDATES:MAVON.
- Lets' now test your ability to
serve information to the WWW.
Testing Your Server
- Open nHTTPd and establish a
connection. Then look in the field where an IP address is
displayed. This is your server's IP. If you are friendly
with your ISP or system admin, request a static IP and
DNS be assigned to your Newton. For instance, my Newton
always gets vaughn.life.uiuc.edu from my local PPP
server.
- Go to a web browser on another
machine with an Internet connection and go to
http://insert.ip.address.here/html/
(and don't forget the trailing slash!) to access the
Notepad Server component and go to
http://insert.ip.address.here/dates/
(again, the slash) to see your Agenda
Server.
- Accessing Notepad
Server sucessfully will give you a page with your
name, address, phone, and email followed by a blank space
and then some credits if you have no content in your
Notepad that's ready to serve.
- Accessing Agenda Server
will present you with a formatted page containing all
your Meetings and Events for the next 5 days. The first
time you access it, your Newton will pause
for a few seconds while
your dates are converted to nice HTML formatting. The
good news is that this HTML code is cached in a soup and
is only re-generated once
per hour (or at the first
request after an hour has passed).
|