473,378 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How to publish documents on web page

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

Oct 30 '06 #1
6 1440
Well best way is to use XML for this case.
Helpneeded wrote:
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
Oct 30 '06 #2
If it is a word document, you can save it in HTML format and it will be
immediately available online as a web page.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Helpneeded" <yo**********@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
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

Oct 30 '06 #3
Hi,

Gladiator wrote:
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
Helpneeded wrote:
>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

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 30 '06 #4
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.

Laurent Bugnion wrote:
Hi,

Gladiator wrote:
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
Helpneeded wrote:
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


--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 31 '06 #5
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

Helpneeded wrote:
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.

Laurent Bugnion wrote:
>Hi,

Gladiator wrote:
>>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
>>Helpneeded wrote:
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

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Oct 31 '06 #6
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.

Laurent Bugnion wrote:
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

Helpneeded wrote:
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.

Laurent Bugnion wrote:
Hi,

Gladiator wrote:
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

Helpneeded wrote:
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

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch


--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 1 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike S. | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
6
by: ewolfman | last post by:
Hi, I've read many posts in several news groups, but can't figure out how to publish my website. The specific error I'm getting (on the "successfully published website") is "Could not load the...
9
by: Alex Greenberg | last post by:
I don't know, but I find the Publish Web Site feature very lacking and weak. I mean, why does the damn thing have to delete unrelated directories like /images /documents etc. This is so...
4
by: Mike L | last post by:
Error occurs on "System.Deployment.Application.ApplicationDeployment.CurrentDeployment" ** Here is my code private void frmMain_Load(object sender, System.EventArgs e) {...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
10
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
3
by: jfarrell | last post by:
Hi there, Im attempting to publish my site to local then copy files to the web server. The only option there seems to be in VWDE is to build/copy the site...where is the Publish website option...
6
by: Anil Gupte/iCinema.com | last post by:
I seem to have read somewhere that one can do this by copying the code-behind page into the .aspx file. Is there an easier way? I tried to create a simple web page (I just need a quick...
1
by: hdbbdh | last post by:
Hi everyone, when I try to publish my project, I have this error: Cannot continue. The application is improperly formatted. Contact the application vendor for assistance. and when I press...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.