NotePad ServerThis Version: 1.1bRelease Date: July 21, 1998Copyright 1998 Matthew Vaughn & Lightyear MediaWhat is It?Notepad Server allows you to use nHTTPd 1.1a or better to serve dynamically generated web pages from your Newton Notepad. And that's it. (Although this is no small feat since as you know, the Newton doesn't have any notion of files and directories!).How do I set it up?1) Create a folder in your Notepad called "Web"2) File any TEXT-ONLY notes you wish to be made available in that folder. (The ability to serve lists and outlines will come next release)3) Make sure the names of the notes contain no punctuation marks. (.,:;"$!?)4) Also, the filename parser uses the FIRST word of the Note Title as the virtual file name of each Note, so don't overlap this first word between note titles. In other words, don't name all your Notes "Matt's this", "Matt's that"5) Install nHTTPd (Version 1.1a or better, bundled with this release)6) THEN, install Notepad Server 1.1b.7) Establish a TCP/IP connection using nHTTPd8) That's IT!How do I access it?1) Assuming you have nHTTPd up and running, 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.2) 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!)3) You'll get a page with your name, address, phone, email, and the time, all dynamically generated. Also on this page will be a bulleted list of notes in the "Web" folder of your Notepad. Click on one and with any luck, it will be served right up to you. If you look at the Info window in nHTTPd, you'll see the name of the current page being sent to the WWW Client.4) At the bottom of the note, you'll see a link that says "Home", which will take you back to the start-up page.Wasn't that easy?Here's a Trick:Since the server basically takes a note and encapsulates it in a HTML frame, you can add hyperlinks and HTML formatting within your served notes to spice up the pages a bit. I haven't worked much with this yet but I am pretty sure that most simple tags will work.Troubleshooting:1) [Q] Why do I get an alert saying nHTTPd is not installed? [A] Notepad server has to be activated AFTER nHTTPd. If you have filed nHTTPd on a card but Notepad server is on Internal, then when you Reset, the system will try to activate the plugin before then application and will generate this error. Also, if you have frozen these 2 packages, make sure to Thaw nHTTPd first, then Notepad Server.2) [Q] When I got to my homepage and click on one of the available links, I get a 'file not found' error. (Actually, a sassy little error message tells you that this happened) [A] One of two things has happened. Either you have chosen a really strange first word for your Note Title and that's goofing up my Title parser (unlikely) or you've run into a small bug. The likely problem is that we are SIMULATING a directory structure with this implementation of HTTP and when you access the root level of "/html/" some browsers don't realize this is supposed to be a directory. (The actual name of the root level file is 'index.html'). So, they ignore the "/html/" and try to go one directory up to find your file. To fix this, just load "http://insert.your.ip.here/html/index.html" and after that, your links will work. 3) [Q] I get system restarts when serving pages. [A] This implementation is not memory intensive but it does juggle a lot of things at once. I have also only tested it on my personal MP130 and not on any 2.1 devices. My advice is to make sure to have as many packages as possible frozen when running the server.Disclaimer and License:1) Neither Matthew Vaughn nor Lightyear Media shall be held responsible for any corruption of data or damage to hardware caused by use of this free software.2) This software is provided free of charge for all educational, personal, and non-commercial uses. Any commercial use of this product should be approved by the author.3) You will not attempt to disassemble or reverse engineer this product. All development shall be executed solely by the author.4) As this is free software, you may not charge for it except to recoup cost of transmission or reproduction.5) This product may be included at will in any compilation of software, provided that the compilation is distributed according to item 2 and that the author, Matthew Vaughn, is notified of and assents to your intentions.6) As this is free software, technical support wil be provided at the author's discretion and may be denied without further explanation or obligation.7) By reading this document, you accept the terms of this license and all points of disclaimer. If you do not wish to do so, please refrain from installing this software on your Newton Device.Contact Information:Matthew VaughnLightyear Media, Ltd.1201 E Florida Avenue Suite 34AUrbana, IL 61801email: matvon@mad.scientist.comFax: (217) 337-4862