Results 1 to 6 of 6
  1. #1
    4 Star Lounger
    Join Date
    Nov 2002
    Location
    London, Gtr London, England
    Posts
    496
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Web publishing from Word Document (2003 SP2)

    Dear Loungers,

    Does anyone know of a good guide or book or have some advice on using Word to publish web pages. We have a set of procedures that are written in Word and are based on a corporate template. These documents need to be available both as word documents and htm documents that will be retrieved from the intranet. There are a number of things which I think I need to know about, the list so far is:

    1. how to relate word styles to CSS styles
    2. can a css style sheet be generated automatically and how do you refer to it? - I mean can word handle that automatically as a characteristic of a web template?
    3. what word functionality should be avoided?
    4. I don't want to edit the HTML for each document does Word really support html production without resorting to this?
    5. The documents have pictures, these should be in a central repository and be referred to. Whilst being written this folder will be e.g. ProjectProceduresScreenShots, ( with the documents being in the procedures folder with separate folders) however they will eventually be in a folder based on the web server. How can this be managed without editing every link to an image and what is the best way of including the image in the document to avaid any problems later.
    6. The html will obviously be produced as a master file and a folder/s of other bits & peices can this be controlled and are there any pitfalls - and relating to the images I don't want these saved per document but as explained above, is this possible?

    I'm sure there are more but I've only just started thinking about this.

    thank you.............. liz

  2. #2
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Web publishing from Word Document (2003 SP2)

    Hi Liz

    <img src=/S/hmmn.gif border=0 alt=hmmn width=15 height=15> I am really concerned about the amount of effort that you are letting yourself into here <img src=/S/sad.gif border=0 alt=sad width=15 height=15>

    Everytime you create a word document with embedded graphics and save that doc as HTML a web page is created and as you will be aware a folder is produced that will contain that pages graphics. All CSS will be stored as an internal style for that document ( Have a look at <post:=581,435>post 581,435</post:> where the Lounger produced the document in Frontpage and see my zipped attachment to see the IMHO horrific styling underlying the document)

    Many moons ago in a former life I was responsible for my Divisional Intranet pages and because of specific issues between corporate webmasters and myself I was denied access to the main IIS area and had to resort to using the intranet document management system <img src=/S/flee.gif border=0 alt=flee width=25 height=25> I had to build sites from the ground up, sometimes using word, sometimes Dreamweaver...a horrific time and I soon moved on......

    Frankly it was a complete and utter nightmare <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>

    So answers to your questions

    1) Can't be done and if you can it would take longer than if you created specific HTML pages individually
    2) No
    3) What functionality are you talking about but if it is macro's you can't have them
    4) No
    5) See my comments above..each html generated file will create a personal folder for its graphics
    6) No see above

    Frankly who ever requested you to do this should be spoken to quite strongly... the amount of resources required for far outway the benefits...Why not created a web page with links to the said word documents........
    Jerry

  3. #3
    4 Star Lounger
    Join Date
    Nov 2002
    Location
    London, Gtr London, England
    Posts
    496
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Re: Web publishing from Word Document (2003 SP2)

    Jerry,

    Thank you for the insights. I will possibly go back to the original plan to use linked PDF documents. However to explain the rationale I shold explain that this client has an internet & technology phobic workforce and is working hard to change tha. In addition they love 3 inches of manual but once obtained they just become doorstops! So to save the brazilian rainforest and to encourage intranet usage the intranet will hold this projects output with regard to process and procedure, process models are being produced using a good tool that allows web publishing, the associated procedures need to be linked but a syou can imagine there is a many to many between process and procedure and system functions will be used in differnet ways for differnet processes so images may also need to be linked to more than one place. We ddidn't want the users to think of the documents as documents per se, rather as information they got from the intranet, therefore rather than have something that looks like a word document we though that producing a set of web pages woudl break the habit.

    Having said all thait it has to be maintainable so I am now thinking again.

    many thanks............... liz

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Web publishing from Word Document (2003 SP2)

    Hi Liz

    PDF does sound like the way to go and purchasing Adobe Acrobat would be a great option for cost against benefit. AA has the ability to do distilling so hyperlink against documents are kept when they are produced in Word. No documents+image problems, you have your templates stored as word

    Also you can set the security in the pdf to switch off print so that you can save the 3 inch doorstop....you are on to a winner with that idea and it has certainly worked for me in the past. <img src=/S/cool.gif border=0 alt=cool width=15 height=15>
    Jerry

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Web publishing from Word Document (2003 SP2)

    If you are just starting out in creating the documents, I think it's a bit less bleak than if you have inherited thousands of pages of existing documents. Here's why:

    If you use your own template to create Word styles, then you can expect that corresponding styles defined in a CSS stylesheet would have a good chance of matching up. You could imagine writing a macro that would manually visit each paragraph and add HTML tags that code it for your style definition. E.g., if paragraph style = body then surround the text with <p class="body"> and </p>. I do a simlar thing to convert text with an italic style to mostly-HTML-ready tagged text.

    If you insert images using INCLUDEPICTURE fields to link to them, you could imagine using a macro to globally replace the old path with the new path, whatever it turns out to be. Then you could globally change the Word INCLUDEPICTURE fields to valid HTML <img> tags. Of course, positioning is a bit tricky and probably would require manual tweaking if the images are not "inline with text."

    My approach here sounds like using Word as a fancy text editor and IGNORING its ability to create HTML files. Exactly right. Take advantage of Word as a word processor, then swap its own way of working to a tagged approach using lots of find-and-replace macros. Then save as plain text with an HTML extension. If the macros are written in a skillful way, you can repeat this one-way journey numerous times with minimal hand-coding. However, as you can see, there are a lot of "if"s in this scenario. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    Added: By the way, Word's HTML output is only terrible if you are concerned about file size (bandwidth usage) and support for non-Microsoft browsers. For an intranet application that only supports IE, Word's output might be just fine.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web publishing from Word Document (2003 SP2)

    I have a crude procedure that will augment a CSS as it finds any new styles (new to the existing CSS), I avoid the Word bloat with my own html generator, I LINK to images on drive W: which is a (DOS) SUBSTituted drive that I can later map to a different location. I link images, rather than embed them.
    The crude application (WbWrd) is given a starting document (typically but not necessarily Index.doc) and a target folder, an optional template file, and spits out a web site, optionally processing only updated pages (saves time!)

    That is, it is doable.

    I have several self-imposed restrictions, and am this week partway through migrating everything to a new scheme so that my web pages will look just like my blog pages. Which means that I can use a blogger as an extension of my web site.

    My main effort was spent learning enough elementary html and style sheets facts so that I could write a better html generator than MSoft's habit of dumping everything it can lay its hands on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •