Heraldic Duty.

So… I have this problem… and I thought I would once again ask all of you if you have any idea’s for a solution…

I have a document that it supplied to me in Word… I need to convert this document to work within a webpage, however I only want to keep the basic formatting, I don’t want font or special formatting… What I would like to preserve are Bolds, Italics, Underlines, Headings, Special Charaters other basic textual markup.

My question is… is there an EASY way to do this? Or is the easiest way to manualy do it?


Comments

Heraldic Duty. — 1 Comment

  1. In Word, you can search and replace based on formatting. So, imagine you have the following text:

    In the beginning the universe was created. This has made a lot of people very angry and been widely regarded as a bad move.

    You need to search for bold text and replace it with <b>^&</b> (the ^& is in the Special menu as “Find What Text”, ie the text that was found.)

    On my version of Word, the sequence of commands is:

    Ctrl+H to open the Find and Replace dialog.
    Alt+M to click the More button and open the otherwise-hidden section of the dialog.
    Click the “Find what:” field to ensure it’s selected.
    Alt+O to open the Format button menu.
    F to open the Font dialog.
    Choose Bold from the “Font style:” list.
    Enter to confirm.
    Click the “Replace with:” field to select it.
    Type in <b>^&</b>.
    Alt+A to Replace All.

    Repeat with Italic (<i>^&</i>), Format/Style/Heading 1 (<h1>^&</h1>) and so on. This should do most of the work for you.

    As an added bonus: searching for a double line break (^p^p) and replacing with </p><p> will do most of your paragraph formatting for you. You just have to stick in the first <p> and the last </p> yourself, and of course deal with the occasional heading.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>