| only for RuBoard - do not distribute or recompile |
We need an interface to allow the administrator to send newsletters, as mentioned previously. What we haven't talked about is how administrators will create that newsletter. We could provide them with a form where they could type or paste the newsletter content. However, it will increase the user-friendliness of our system to let administrators create a newsletter in their favorite editor and then upload the file to the Web server. This will also make it easy for an administrator to add images to an HTML newsletter.
For this we can use the file upload capability discussed in Chapter 16, "Interacting with the File System and the Server."
We will need to use a slightly more complicated form than we have used in the past. We will require the administrator to upload both text and HTML versions of the newsletter, along with any inline images that go into the HTML.
When the newsletter has been uploaded, we need to create an interface so that the administrator can preview the newsletter before sending it. This way, he can confirm that all the files were uploaded correctly.
| only for RuBoard - do not distribute or recompile |