How to publish documents on web page

  • Thread starter Thread starter Helpneeded
  • Start date Start date
H

Helpneeded

On my web site, I want to display information about my company. I want
this info to come from a doc file or any other format, so that whenever
I change the contents of this file, the web site is automatically
updated.

Is there a "cool" way of doing this in asp.net or any other technology?

Best Regards
helpneeded
 
If it is a word document, you can save it in HTML format and it will be
immediately available online as a web page.
 
Hi,
Well best way is to use XML for this case.

Best way based on what?

XML is nice, but not the panacea. Other solutions come in mind:

- text file, obviously. Means more work for parsing it, but less work to
create it.

- Database: Depending on the number of visitors, might be the only
viable solution

- CSV document: Easily created by Excel, so perfect when the document's
creator is a layman.

I also prefer XML for many applications, but I think that the
alternatives are worth mentioning.

HTH,
Laurent
 
Sorry, I am a bit confused. This document will have text, images and
stuff. What I dont want to do is hard code this stuff in my asp page. I
would have another guy create this document, tell him to put in a known
place, and have my web page automatically read from it.
In VB, I would do this by adding a rich text box, and link it to the
word doc. Obviously, this would look ugly on a web page.
 
Hi,

In my experience, displaying documents that you didn't format on a
webpage that you created gives bad results. For example, you could ask
the person who makes the word document to simply save it as HTML and
upload it to the web server. However, and that's my experience only, it
will look awkward.

A more professional solution is to use the document as a data source and
to format this data on the server, using ASP.NET for example.

The discussion we had was about the best way to format this data, eg
XML, text file, database or CSV.

Is that clearer?

HTH,
Laurent
 
Yup, making sense now. I already have a web page with navigation menus,
etc. If I upload the word doc as HTML, how do I keep the existing look
and display the web page at the same time.
 
Back
Top