[thelist] Re: using ms publisher files

Simon Willison simon at incutio.com
Mon Jul 29 12:39:01 CDT 2002


At 10:14 29/07/2002 -0700, you wrote:
>I would really like to consume pub files if possible, getting them to
>output a bunch of html and upload it is potentially to complex

Sounds like you've got a pretty insurmountable task here. The only way I
can think of doing it is to use COM (I don't know much about COM so the
following is just speculation on my part). You'll need a Windows server for
them to upload the files to. Once the file is uploaded, you can have a
script (probably written in ASP) which can use MS Publisher's COM interface
to start up an instance of Publisher, open the file they have just uploaded
and then fire off Publisher's "save-as-HTML" feature. You can then do your
funky stuff with the HTML it generates. As I said, I have no experience of
COM at all so I don't even know if this would be possible but it might be
worth investigating.

Regards,

Simon Willison
http://www.bath.ac.uk/~cs1spw/blog/




More information about the thelist mailing list