At Wed, 12 Jan 2000 23:28:18 +0200 (EET), Henri Bergius <[EMAIL PROTECTED]> 
wrote:

>
>On 12 Jan, [EMAIL PROTECTED] wrote:
>> This is semi-related...
>
>Actually, it is quite much related to the subject.
>I think we should try to make the parser system
>generic enough that you could also support converters
>to/from obscure document formats like MS Word.

Parsers = good.

Have seen editthispage? It's an interesting idea,although I think the implementation 
they provide -sucks-. Anyway (www.editthispage.com), they allow you to control 
the site layout with XML. It'd be nifty to add XML parsing so that you could 
let people control things with that.

>
>The parser system is probably something that will
>wait until Midgard 2.x, so at this point you'll
>have to create the conversion mechanisms a bit
>differently.

oh. :( That's a drag. *waits anxiously for Mid2*

>
>First (and probably easiest) way to do this is to 
>use Word's native 'Save as HTML' option. Of course,

This is what I didn't want to do. But you knew that.

>the HTML this system produces is way too messy to
>be served on a site, so you'll want to first clean
>it up either manually or with a script. This might
>be easier if you can set down the authors to only
>use some specific templates and formatting 
>conventions. To make this more automatic, you could
*nods*
>have a page in Midgard that would receive the
>Word Doc in HTML format, run it through a script
>that cleans it up, and then save it to Midgard's
>article database. Maybe you will want to also
>store the original Word document as an attachment
>to that article to make later editing easier.
Good idea. How do I do attachments? (that is, is there a nice elegant way 
to do it, or do I just put a path in an extra field or something?)

>
>The second way would be to have the authors just
>send the Word document to the server, and do all
>the conversions there. I've seen some Open Source
>Word-to-HTML converters out there but I'm not
>sure how good they are:
>       http://word2x.alcom.co.uk/
>       http://www.wvWare.com/
>This would be easier to authors but possibly more
>complex to set up.

I want easy for the authors... They are primarily high school teachers. 
They don't have time (nor inclination) to learn a complex system. Its my 
job to be complex, and theirs to be simple. :)

Thanks for the links - those are exactly what I needed to know.

>
>The third way would be to write a custom set of
>VBA macros to handle it all. I discussed this 
>possibility with some developers at Stonesoft back 
>when we were implementing Midgard 0.1 there, but 
>nothing came of it (and these days we just use
>Midgard's :F text parser).
Too bad :( What would those macros entail/do?
>
-snip-
>
>-- 
>-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
>               http://www.iki.fi/Henri.Bergius
>
>
>--
>This is The Midgard Project's mailing list. For more information,
>please visit the project's web site at http://www.midgard-project.org
>
>To unsubscribe the list, send an empty email message to address
>[EMAIL PROTECTED]
>
   
IMPORTANT NOTICE:  If you are not using HushMail, this message could have been
read easily by the many people who have access to your open personal email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to