473,691 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1453
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**********@g mail.comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.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
1824
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 work however converting from a pseudo master page to a true master page but only from the HTML 4.0 to XHTML 1.0 standpoint. VS 2005 IDE seems to be significantly slower than VS 2003. I upgraded my PC memory to 1GB (which helped) but have an...
6
3830
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 assembly 'App_Web_vxfyglsm'. Make sure that it is compiled before accessing the page". I checked - The assembly DOES exist in the target web folder.
9
2372
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 impractical, what if my users generate these documents or images through their interaction with the site, and then I change some code and publish it, boom, everything is gone. I cannot put these folders outside the solution due to security/pathing...
4
6369
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) { System.Deployment.Application.ApplicationDeployment ad = System.Deployment.Application.ApplicationDeployment.CurrentDeployment;
1
1953
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 work however converting from a pseudo master page to a true master page but only from the HTML 4.0 to XHTML 1.0 standpoint. VS 2005 IDE seems to be significantly slower than VS
10
2520
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 to the remote site. It finish with a message of publish sucess but no files nor folders on the remote disk ? I have checked rights on this folder, everyone have modify.
3
3887
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 ? any ideas thanks
6
2099
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 registration page that is temporary). Do I really need to logon to the server, create a virtual directory and all that junk, just to publish my page? I tried simply to publish using the FTP publish and here is what I got: Configuration Error...
1
3529
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 the details, I got this:
0
8599
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8533
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8951
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8795
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4322
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2966
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1954
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.