View Single Post
  #2 (permalink)  
Old November 20th, 2003, 06:17 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Well, yes, it is possible, but IMO it's going to be pretty difficult.

Here's what you could do:

1. Use a FileSystemObject (FSO) to read and write to files. Using the FSO requires you have to have permissions for the IUSR_MachineName account to it is allowed to access the files.

2. Allow your users to type text in a text area, which you can then save in a new or existing text file using the FSO.

3. This new text file can either be a complete HTML page (with <html> tags, and so on), or just the content part.

4. If it's the content part, you can use the INCLUDE statement to include the content page in other, templated pages.

IMO however, a database is the preferred way to go. This makes it much easier to store data and reuse it on pages on your site.

Another great alternative is to use Macromedia Dreamweaver in combination with Macromedia Contribute. This allows you to create a templated site in Dreamweaver. End users are then just allowed to edit the content regions of the page. They don't have to have knowledge about HTML as they can use a Design View to create content pages. It even comes with integration of FTP etc, so it's pretty easy to save and automatically update pages on the remote server.

Hope this helps, and if you need more ideas, feel free to post here.


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.