Re: Transforming doc files into html

From: Date: Tue, 07 Aug 2001 04:11:18 +0000
Subject: Re: Transforming doc files into html
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11101@lists.php.net to get a copy of this message
try the html editor Arachnophilia : http://www.arachnoid.com/arachnophilia/index.html How to make your own page (the easy way) You always have the option of creating a page from scratch, by entering the HTML tags on your own. But, even with a lot of predefined tags, this takes a long time, and you have to learn a lot about HTML as you go along. But there is an easier way -- Arachnophilia will allow you to import a word processing document that has been saved in Rich Text Format (RTF) and will then convert it automatically into a Web page. Some word processing programs will export their documents in the RTF format, others won't, but you can still export them using one of the methods described here. Here are the ways to get your document from your word processor/spreadsheet/database to Arachnophilia: · Simply save the document in the Rich Text Format (RTF) document type. Then open it in Arachnophilia (File . Open File . RTF File). When you do this, Arachnophilia will ask whether it should convert it into HTML format. Choose "Yes" and you are done. · Open Windows Explorer and drag an RTF document icon onto the Arachnophilia program window (not onto an open document, but onto the background). In the same way as method (1), Arachnophilia will ask whether it should convert it into HTML format. · For programs that do not support the RTF file format, open your source program and Arachnophilia at the same time. Open a new, blank RTF document in Arachnophilia (File . New File . RTF File). Move to your source program and select the block of text you are interested in. Drag this block over to the open RTF document window in Arachnophilia, and drop it. Then select the menu option Tools . Convert RTF to HTML. · Use the Windows clipboard and proceed as in method (3) above. These methods apply to data sources such as spreadsheets and databases -- just use method 3 or 4 above if the program does not export RTF files. Here are some suggestions to help Arachnophilia convert your document: Always use real bulleted lists and real numbered lists, available in most word processing programs, instead of manually numbering a list of items. If you use the real versions of these features, Arachnophilia will create the HTML equivalent of these structures, which look great. If you simply manually number a list, it will not look nearly as good when viewed on a browser. Avoid "outdenting" paragraphs in your document formatting -- Arachnophilia will interpret this as an outline. Instead, if you create a real outline, even one with multiple levels, Arachnophilia will translate it into HTML for you. Here are some restrictions for this automatic conversion method: Arachnophilia will automatically import tables and outlines, but cannot import any pictures that are included in your original document. These parts of your document have to be imported separately, using the HTML tags that are designed for that purpose. Sometimes Arachnophilia will misinterpret a line with tab characters in it as a table row. If this is not what you intended and you want to prevent this behavior, choose Tools . Options and select "Convert Tabs into Spaces." Remember later that you made this choice, because Arachnophilia won't create tables until the "Convert Tabbed Lines into Tables" option is enabled again. In general, avoid the use of tabs, because this character is used in the RTF document format to identify table rows, and Arachnophilia relies on them for this purpose. Be sure to review the Arachnophilia File Import methods for more information on these techniques. ----- Original Message ----- From: "Cami" <cami@fcpl.com> To: <php-db@lists.php.net> Sent: Saturday, August 04, 2001 4:08 AM Subject: [PHP-DB] Transforming doc files into html > Hi there, > Does anybody know if is any way in which when you upload a word document > file you can parse it and transform > it into an html file? > Is this possible ? Has anybody tried it? I know I can transform it into a > txt file but wouldn't it be even better if we can do an html file? > > Thanks, > Cami > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#11101) next »