IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
2 Pages V   1 2 >  
Reply to this topicStart new topic

Word.doc Or Pdf Formatted File To Display In A Web

, How to maintain the formatting???


jlhaslip
no avatar
<?php $answer = googleit( $question ) ; ?>
*******************
Group: [MODERATOR]
Posts: 4,434
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:80.50



Post #1 post Sep 18 2005, 08:20 AM
I have a document which was originally created using ms office word processing with very strict formatting requirements. It is a high level academic paper which I would like to make viewable within a web page complete with the original formatting. I also have it available as a pdf file with the same formatting.

Regardless of the format, is there a way to convert this highly formatted document into an html page and retain the formatting without major work?

The only way I have been able to do this so far is with the use of a table layout , an iframe, and the client having a copy of the document's format software (either ms office or acrobat reader). None of these are desirable alternatives because the iframe forces the document to open with either the word processor and the iframe is (I think) a deprecated element in html according to w3 standards. Or am I mistaken?

And to recode the document into html/css is a nightmare due to the volume and complexity of the document.

Any suggestions would be welcome. Thanks.
Go to the top of the page
+Quote Post
Tyssen
no avatar
***********
Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Post #2 post Sep 18 2005, 08:44 AM
Why don't you just link directly to the Word doc or PDF if it's gonna be too much work to convert into HTML?
Go to the top of the page
+Quote Post
jlhaslip
no avatar
<?php $answer = googleit( $question ) ; ?>
*******************
Group: [MODERATOR]
Posts: 4,434
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:80.50



Post #3 post Sep 18 2005, 09:11 AM
How's that done? (please provide an example.) And doesn't that require the client to have the same software?

Not everyone has ms office word processing.
Acrobat reader is probably more readily available, but it requires that the reader gets "fired up" and is a resource burden, (the file is about 600K),so I was just curious to see if there might be another way to do it.
Go to the top of the page
+Quote Post
Tyssen
no avatar
***********
Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Post #4 post Sep 18 2005, 09:59 AM
QUOTE(jlhaslip @ Sep 18 2005, 07:11 PM)
How's that done? (please provide an example.) And doesn't that require the client to have the same software?

You just put the link to your file, so instead of www.yoursite.com/index.html, you'd have www.yoursite.com/your.pdf. Yes, the user will need to have the software installed. If your PDF is 600k then you're probably looking at something similar file size-wise in HTML so I wouldn't be too worried about being a resource burden. If, as you say, it's going to take a lot of work to convert, then maybe it's best not to.
If it's a high level academic paper, it's more than likely your user base will a) be used to viewing/downloading PDFs online; and cool.gif have reasonably fast internet connections (and 600k is nothing really).
Go to the top of the page
+Quote Post
Tyssen
no avatar
***********
Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Post #5 post Sep 18 2005, 10:01 AM
Sorry for double posting but you can't be expected to remember every time that if you type b ), that it's gonna turn it into a smilie. dry.gif
Go to the top of the page
+Quote Post
jlhaslip
no avatar
<?php $answer = googleit( $question ) ; ?>
*******************
Group: [MODERATOR]
Posts: 4,434
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:80.50



Post #6 post Sep 18 2005, 10:22 AM
Okay, thanks for the input. That is pretty much what I have been doing with this file. Using the pdf version, and linking to it with an anchor tag, so I guess I'll keep on doing it that way. Just checking to see if anyone knew of a better way.

Thanks for your time and assistance. smile.gif
Go to the top of the page
+Quote Post
Lozbo
no avatar
Super Member
*********
Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



Post #7 post Sep 19 2005, 08:55 PM
Ms Office documents have a "save as" function that allows you to save as html (and even xml). Ive used this in excel, but the code is a little bit messy, though it keeps to the design well.

If the design is too complex maybe it wont hold it, and I don’t remember how obsolete the code was (according to w3 standars), but it might be a nice start for coding it all into css hehe…

Maybe you can post a link of the file and if I have the time I could give it a look, or you could get some other good old trap seventeen member to help ya sort this out.

-10730
Go to the top of the page
+Quote Post
jlhaslip
no avatar
<?php $answer = googleit( $question ) ; ?>
*******************
Group: [MODERATOR]
Posts: 4,434
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:80.50



Post #8 post Sep 19 2005, 10:54 PM
QUOTE(Lozbo @ Sep 19 2005, 02:55 PM)
Ms Office documents have a "save as" function that allows you to save as html

If the design is too complex maybe it wont hold it, .... but it might be a nice start for coding it all into css hehe…
[right][snapback]187602[/snapback][/right]


Tried it using Ms office 2000 and it was a disaster... Maybe a newer version would do better, but I don't have it, so...

Okay, I'll find a spot to upload it to and let you know... thanks.
Go to the top of the page
+Quote Post
Tyssen
no avatar
***********
Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Post #9 post Sep 19 2005, 11:27 PM
QUOTE(jlhaslip @ Sep 20 2005, 08:54 AM)
Tried it using Ms office 2000 and it was a disaster... Maybe a newer version would do better, but I don't have it, so...

All Microsoft products produce disastrous HTML code and while Microsoft continues to flout standards, I wouldn't bet any of their future products will be any better.
Go to the top of the page
+Quote Post
deadlytedly
no avatar
Newbie [Level 1]
*
Group: Members
Posts: 20
Joined: 16-September 05
From: Lincoln, UK
Member No.: 11,925



Post #10 post Sep 19 2005, 11:35 PM
There's a utility here that has a 30-day trial which sounds like it might do the job:

RTF to XHTML converter

Another here which is free:

Easy Text to HTML Converter

Hope one of them does the job for you. ph34r.gif
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   8 -Pandemonium- 654 25th August 2004 - 04:00 PM
Last post by: -Pandemonium-
No New Posts 5 BoSZ 559 Yesterday, 07:35 PM
Last post by: Arthur Dent
No New Posts 6 dozen 358 9th September 2004 - 11:58 PM
Last post by: Triple X
No New Posts   4 annylei 375 14th September 2004 - 09:38 PM
Last post by: Triple X
No New Posts 9 jailbox 412 10th October 2004 - 08:01 AM
Last post by: whatknows
No New Posts   6 XtremeGamer99 718 9th February 2005 - 10:48 AM
Last post by: alexwhin
No New Posts   4 Inty 321 7th October 2004 - 10:32 PM
Last post by: xc3ll
No New Posts   3 josh_sg1 423 12th October 2004 - 12:02 AM
Last post by: s2city
No New Posts   8 sohahm 406 21st October 2004 - 08:44 PM
Last post by: beg4mercy
No New Posts   0 sohahm 258 16th October 2004 - 01:46 AM
Last post by: sohahm
No new   39 Jeremie 3,440 9th July 2005 - 06:30 AM
Last post by: Joshua
No New Posts   12 Lyon 2,212 29th April 2006 - 10:27 PM
Last post by: netsevdam
No new