Forum Moderators: open

Message Too Old, No Replies

Embedding user edited content in dynamic page

But I hate frames

         

john_k

8:16 pm on Apr 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am working on a government site that will be used to put out information regarding five related government programs. The site itself is to be fairly lean and simple. Accordingly the budget is small.

One of the requirements is to allow program staff to update the HTML for each of the principal pages. Parts of the overall "template" (items common to each page) however will be pulled from a database.

This is a good candidate for a content management system. Let them edit their content block and then include it in the dynamically generated page. Catch 22 - given the budget, integrating a content management system is simply out of the question.

They will be using Word (possibly FrontPage) to do the editing and they are not expected to get into the actual HTML.

If I simply include the HTML (that they upload) within a template type file, then we will probably have an invalid document. That is the <body> of the template area will then have an entire HTML document in it.

I hate frames. But it seems to be the only sane approach. But I HATE frames.

Does anyone have any alternatives? Hopefully I'm missing something simple (and cheap).

asquithea

9:08 pm on Apr 7, 2004 (gmt 0)

10+ Year Member



If this were only an internal site, I'd strongly suggest a wiki. Assuming it isn't...

The way I see it, page content should really be going through a site "Editor" before being shown to the public. I don't see why staff can't simply submit files to him/her. Then you can use SSI to your heart's content.

Alternatively, you could provide a simple "remote update" script that strips out unsupported HTML tags, in a similar vein to that used by a BBS like this one.

Either way, SSI files seem to be the easiest solution. A CMS is definitely overkill.

john_k

12:56 am on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is the editors that will be uploading the files. However, they will not know HTML. They will need to change the content maybe once a month.

If I utilize SSIs, then we run into the issue of a full html document embedded within another. I don't think that will dependably render in all browsers.

And this is a public site (only certain people will upload html content).

Purple Martin

3:30 am on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I utilize SSIs, then we run into the issue of a full html document embedded within another. I don't think that will dependably render in all browsers.

Oh no we don't! The beauty of SSIs is that you can include just a part of an HTML file into any place in your main file.

Anyway, it sounds like you need the content editors/owners to forward content to one central webmaster (you?) who knows HTML, does the markup, and uploads the new content. In the government organisation I work for we have lots of webmasters like that, one for each branch, and it works well.

bill

4:28 am on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



FrontPage 2003 has Dynamic Web Templates in which you can set editable regions of the page. This seems CMS-esque to me. If they're hosting on an MS server you might want to look into this.

john_k

1:38 pm on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FrontPage 2003 has Dynamic Web Templates...

This sounds promising. I'll check into it. Do you happen to know if any earlier versions had this ability?

content editors/owners to forward content to one central webmaster (you?)

This really isn't an option. One of the purposes is to remove such bottlenecks. They should be able to edit and publish with no IT intervention.

Thanks for the help everyone!

encyclo

1:47 pm on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Also look at Macromedia Contribute if you are a Dreamweaver user - you can lock down the layout and have only certain areas editable.

MatthewHSE

2:53 pm on Apr 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've used a script called Editwrx for a client before. It made a mess out of my nice clean code, but it works great for allowing clients to edit webpages themselves (particularly if the webmaster sets things up properly beforehand). You get consistent results, though I'd prefer that it put out better HTML.

Don't know if I'm allowed to post a link in a case like this or not, so I won't do it. But the Editwrx website is easy to guess! ;)

Have you looked into getting a free content manager? I don't have the slightest idea what's available, but I'd be very surprised if there's not a free one out there somewhere.

bill

2:55 am on Apr 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> Dynamic Web Templates
Do you happen to know if any earlier versions had this ability?

No, that's new to FP 2003. I haven't played with it, but it's supposed to work just like DW' editable regions. If your people are already familiar with FP this might be your best bet.