Serve Different, Serve Green!
Perhaps you were not aware that the Newton makes a very competent webserver? Or maybe you have heard about it, but were overwhelmed by the plethora of packages and settings. Fear not! Like most things Newton, the NPDS is simple yet powerful, and hours of fun.
With Newton Personal Data Sharing, not only can you serve up standard HTML text pages, you can also allow access to your vast collection of Newton data. With the appropriate extensions installed, web visitors can search and browse through your notes, dates, names, and binaries. With NPDS Script-Editor, you can embed NewtonScript in your web pages to create dynamic content on the fly. With the White Board or the optional Web-Pager, visitors can leave you notes of encouragemnet (or critique!).
Let's rundown the available packages and briefly outline their purpose.
nHTTPd This is the main server package. It allows you to stop/start the server, set prefs, access plugins, and view the server status and number of hits. As of this writing the latest version is 2.104. The 2.0 release boasts an inproved HTML engine and CSS support. 2.1 release brought multiple connections and stability improvements. The source code and the packages are available @
http://npds.free.fr/. Credit Rischpater, Matthew Vaughn, PaulGuyot, and Adam Tow. Required
Config This is the 'prefs' package for nHTTPd, including settings for colour and text, the default path (/html/index.html, etc), the server TCP port (80, 8080, 8088), remote admin, and logs. Required for the setup, can be frozen afterwards
Notepad-Server This plugin allows users to search and browse through your Newton's Notepad. It can also create a default editable "index.html" in the chosen folder to help get you started. Latest version is 2.11. Credit Matthew Vaughn and more recently PaulGuyot. Hint:Create a 'www' folder and drop selected notes into that folder to limit what web users can view. Cf Josh Burker's doc here
http://npds.free.fr/docs/new/NoteServConfiguration.html Optional but Recommended
Datebook-Server Plugin which enables users to check out your schedule. You can choose to share Events, Meetings, and To-Dos. Latest version is 2.11. Credit Matthew Vaughn. Optional but Recommended
Cardfile-Server Allows users to search and browse your Names database. Latest version is 2.12. Credit Matthew Vaughn. Hint: You may want to select the option to keep notes attached to the Name files private. Optional but Recommended
GIF-Server This plugin package enables the Newton to serve screenshots. Web visitors can view an instant snapshot of your Newton's screen. Cool! Latest version is 1.2. Credit PaulGuyot. Hint: You don't need the GIFMaker package, it was for earlier versions of the GIF Server. To allow users access to the screenshot, you will need to add a screen link to the homepage, ie <a href "/screen">screenshot!</a> Optional but good for the Coolness Factor
Web-Pager This extension allows visitors to send you an instant pop-up message directly to the Newton's screen. Current release is 2.1. Credit Matthew Vaughn and PaulGuyot. Hint: if you have SpeakText and Macintalk installed, the webpager can read the messages aloud! Optional
Tracker-Client This client lets you register your server on the NPDS Tracker Servers. Current release is 2.1.
- Script-Editor 2.1: scripting environment for creating dynamic content, for example displaying your Newt's current battery level on your page. Download the 'Scripts' package from VictorRehorst 's site or check the WebServerScripts
page for some examples to get you started. - NPDS-Watcher: a daemon that monitors the state of NPDS. It 'ensures that your Newton Web Server is always running by launching it after restarts and handling server crashes'.
- urlCop: what does that do again?
Required Reading
http://npds.free.fr/ The main NPDS project page
http://npds.free.fr/docs/ The official documentation (Note: Portions are obsolete, a good introduction though)
http://www.unna.org/unna/internet/servers/npds202pc/readme.html Another Readme from unna, outlines most of the above packages with links (but the versions are a bit older)
http://newton.splorp.com:8080/ GrantHutchinson 's inspirational Newton server
http://newton.nsf.gov/ PaulFilmer
's incredibly informational dense Newton server
Trackers
Tracker servers are where Newton servers are registered and listed. Register your connected Newt today!




