...

View Full Version : Is there any code that let document file displays into html format?



che_anj
07-25-2007, 10:40 AM
Could anyone help me, what should I do if I want to display the document file into html format.

Like what in google, if we try to search someting and the file format is Ms Word then theres an option whether we want to download it or view it in html format..

Thats what I want to know.. I made already a downloadable document file, but I wanted to display in html format example a CV/resume...

I'd really appreciate your help guys.. Thanksss

Jutlander
07-25-2007, 01:51 PM
Well, HTML documents are saved with either .html or .htm extension, both will work just fine, and if you want to format a CV like in Word, then you can style your HTML tags with CSS. If that't not what you meant, then please deepen your question.

garydarling
07-25-2007, 01:59 PM
Try saving your word document as an .htm page. In Word, choose File > Save As... , and select Web Page in the drop down box. Works fine.

Jutlander
07-25-2007, 02:06 PM
Editing and saving HTML files in Word is a very bad idea. You will end up with thousands of lines of nonsense code, which is added to the document.

timgolding
07-25-2007, 02:46 PM
I suggest the following

Remove all MS Office applications from your system

Download and install Open Office (you can still open your .doc files with this)

Use the PDF button to convert your document to PDF.

Let the whole world see.

garydarling
07-25-2007, 03:08 PM
Editing and saving HTML files in Word is a very bad idea. You will end up with thousands of lines of nonsense code, which is added to the document.

That is quite an exaggeration; I typed 3 sample lines of text in Word, saved it in .htm, and viewed the source code that was generated. I'm estimating it produced an extra 20 lines of comments that would not be generated by Dreamweaver, the rest was legitimate html. It's obvious you despise Microsoft, but I think you should be fair in your comments.

I like the PDF conversion idea, but you don't need to abandon MS Office to do that. You can do it online here:
http://www.freepdfconvert.com/

Jutlander
07-25-2007, 03:17 PM
That is quite an exaggeration; I typed 3 sample lines of text in Word, saved it in .htm, and viewed the source code that was generated. I'm estimating it produced an extra 20 lines of comments that would not be generated by Dreamweaver, the rest was legitimate html. It's obvious you despise Microsoft, but I think you should be fair in your comments.

I am and that is the truth. Program code will be added to an Office document, therefore code in a plain text editor.

I typed this into Word and saved it as a web document:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
</head>
<body>
<p>test</p>
</body>
</html>

Look what Word produced:

http://img405.imageshack.us/img405/4018/picvs2.png

timgolding
07-25-2007, 04:18 PM
I like the PDF conversion idea, but you don't need to abandon MS Office to do that. You can do it online here:
http://www.freepdfconvert.com/

Sweet deals. I spent hours looking for something like this the other day. will it do .PUB files?

garydarling
07-25-2007, 04:29 PM
What would you get if you produced the same thing in Dreamweaver? About 20 lines of required doctype, meta data, title, style, etc. Word is not ideal, but it gets the job done for this guy's immediate conversion needs.

che_anj
07-30-2007, 01:53 PM
I want to share you this so that you could get what I mean http://testserver.indigo21.com/mydesign/views.php

BWiz
07-30-2007, 04:00 PM
http://www.freepdfconvert.com/Woah, I didn't even know there was such a thing - I thought pdf files were Adobe's? I got, or to be more specific my parents bought, Adobe Acrobat Pro.


@che_anj: Don't be afraid to use Word Documents or PDF's. Just remember their function. PDF's are for large documents and such, if you have a file like this: don't be afraid to use it. Just offer either a download link or a view online link.

timgolding
07-31-2007, 10:16 AM
You have to be careful when sending word files because sometimes they can leak information about the machines they were edited on etc. look at this article
http://news.bbc.co.uk/1/hi/technology/4211743.stm



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum