Project 8

Document to Web Conversion


Documentation and procedures manuals had been created by client staff in Word Perfect. The client needed to have the documents cleaned up, and the formats made consistent, some redesign to try to reduce the number of pages, and a conversion of the documents to an Intranet.


Because these documents had been revised and changed over a number of versions of Word Perfect/DOS, and a number of different clerical personal, inconsistencies had been introduced into the document layouts which required normalizing. In addition, in order to convert to a Web Site, design elements in the documents needed to be tagged.

Word Perfect macros were used to scan through the documents and recognize formatting problems. For example, looking to ensure that one and only one blank line would appear after a heading.

Macros were used to insert Word Perfect styles to mark headings and sections, if these had not been used in the original documents. Pattern matching was used to look for combinations of Font and size definitions and replace these with styles.

In cases were the conversion and cleanup could not be fully automated, then interactive macros displayed parts of the text, and allowed user decision as to the conversion to be made.

Once the documents had been cleaned up, then rules were created for use by HTML Transit that would convert the Word Perfect documents to HTML pages.

In order to handle additional formatting into a Web site, Perl scripts were created that did some more formatting, extracted information for indexes, and converted the HTML into ASP documents.

Since the client still had a requirement for printed documents, the WordPerfect changes had to made in such a way that maintained the formatting for printing, yet kept enough information for conversion to HTML

Platform and Tools

Windows 95, Windows 98, Word Perfect Macros, HTML Transit, Perl, ASP, Visual Basic

Leave a Reply

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