Yeah, at the moment you can't use headings in the html. But it would be a very small job to add a code into the word doc and output that as html.
**h2**My Heading**/h2** or something. Also, it doesn't use word html. I parse the xml and output html. So it's as clean as it can get. Basically just text, tables, lists. No formatting at all. Gav On Thu, 4 Nov 2004 16:36:25 -0500, Nathan Mische <[EMAIL PROTECTED]> wrote: > This could be a very cool tool. It looks like you can't have headings in > the html content as they get converted to nodes, is this correct? Also, > have you though about using HTMLTidy (http://tidy.sourceforge.net) to > clean up the word HTML? > > > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf > >Of Gavin Cooney > >Sent: Thursday, November 04, 2004 2:24 AM > >To: FarCry Developers > >Subject: [farcry-dev] New Quick site builder > > > >Hi all, > > > >It seems that every time I'm given a farcry site to do I'm > >given huge amounts of content in MS Word format to copy up there. > > > >As you all know, this is a pain in the arse. First you have to > >work out the site structure for the quick site builder and > >then copy and paste into hundreds of pages. Plus you have to > >tidy up HTML etc. So i figured there must be an easier way. > >It turns out that there is. > > > >Download Open Office from www.openoffice.org, and open your > >word document in open office word. Then File Save as the > >regular open office document format. The beauty of this is > >that it's a bunch of XML files (and maybe some images) zipped up. > > > >Once you have the file, rename it something.zip. Use any > >unzipper to extract it and open content.xml. The whole > >document is there. > > > >So i've written a few cfm pages that goes thru this xml and > >does am import into farcry. This is based on Quentin Zervaas's > >work on the current quick site builder. Here's how it works: > > > >The document should be laid out with word document headings. > >I've used them for years, because tables of contents are > >easier this way. This forms the basis of the site structure in > >the same way as the current quick site builder. > > > >In the current quick site builder you'd do this: > >Item 1 > >-Item 1.2 > >--Item 1.2.1 > >-Item 1.3 > >Item 2 > >-Item 2.1 > >--Item 2.2 > >Item 3 > > > >Here you just apply "Heading 1" to items 1, 2 & 3. "Heading 2" > >to items 1.2, 1.3, 2.1, 2.2 and "Heading 3' to the remaining > >headings (you can go as deep as you want). > > > >Then any text between headings is parsed to html and copied > >into the body of the page. > > > >Only basic html is supported at the moment, but i'll work on > >that. (or you can help me!). > >Text (just paragraphs) > >tables > >unordered lists > >ordered lists > >nested lists > >lists inside a table etc > > > >NO support so far for: > >bold > >italics > >spans > >images > >links > > > >Anything that is not supported is marked in the body with > ><strong>xxxx to be added</strong>. So you can find them by > >doing a verity search afterwards. > > > >I just got my thesis that i wrote in 2000 (146 printed pages) > >and made it into a 176 page farcry site in about 5 minutes... > >of course it's not perfect- images are missing etc, but i can > >go back and edit that stufff. > > > > > >I've a few sites built entirely around non-dmHTML objects and > >around different display methods. So on the confirm page, you > >can chose an object type and display method for each page. It > >defaults to dmHTML displayStandard. > > > >I've found that some word documents come with shortish pages > >(well shortish distances between headings). In this case, i'd > >just move a load of generated pages under the same nav, and > >make them all a display method that does a table of contents. > > > >At the moment you have to paste in the contents of the > >content.xml file. You also have to remove the <!DOCTYPE> at > >the start of the xml. > >Mark lynch has offered to add a feature where you just upload > >the Open office doc and it does the unzipping using the > >underlying java stuff... so stay tuned for that. Once this is > >done, i'll add image support. > > > > > >So anyway, there it is. It's not perfect, but it works. I'll > >be adding more features in the next days/ weeks. > > > >Hope you like it. > > > >Gav > > > > > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
