Page 1 of 1

Is there software that?

Posted: Fri Feb 01, 2008 2:47 am
by Giraffe }{unter
We have a documentation library with a directory structure on Server A

We have an intranet site on Server B

Can anyone recommend software that will take the directory and Word documents on Server A and create web pages with the same directory structure creating links with file names to post on the intranet site on Server B

Or even better create the same directory structure and convert the docs to webpages and host them from the intranet site on Server B?

TIA

Re: Is there software that?

Posted: Fri Feb 01, 2008 4:03 am
by creep
Well, assuming that Server B is connecting via network share to Server A, it should take about 2 php functions to make a listing, format it into html, make links (including nesting subdirs), and output it. I don't recall all the syntax but search your favorite php site for "directory listing" and it should be fairly easy to figure out.

Trying to convert them automagically would probably turn into a disaster.

Re: Is there software that?

Posted: Fri Feb 01, 2008 7:37 am
by Eraser
Giraffe }{unter wrote:Or even better create the same directory structure and convert the docs to webpages and host them from the intranet site on Server B?
That's tough work. I know Open Office contains an open source component which can do that. The CMS that the company I work for has developed uses that for document conversions.

Re: Is there software that?

Posted: Fri Feb 01, 2008 7:40 am
by Foo
If you run a copy function to take the docs across to the web server, register the file type so it's handled properly in whatever HTTP server package you're using, then make the folder web-accessible... the HTTP server should generate the folder listings for you automatically.

As for conversion, I think you'd need to look at one of those PDF/document conversion gateways.

Re: Is there software that?

Posted: Fri Feb 01, 2008 7:49 am
by ^misantropia^
Convert* or save** the Word document to DocBook and use DocBook XSL*** to transform it into HTML.

* http://wiki.docbook.org/topic/ConvertOt ... sToDocBook
** http://www.yawcpro.com/
*** http://wiki.docbook.org/topic/DocBookXslStylesheets

Re: Is there software that?

Posted: Fri Feb 01, 2008 7:49 am
by Turbanator
mass converting doc to html usually ends up in funky formatting in my experience...

personally i'd take creeps option of making a network share, then a virtual folder on the web service and then link the virtual folder to the share... make the whole thing browsable and readable and job done?

Re: Is there software that?

Posted: Sat Feb 02, 2008 12:42 am
by Giraffe }{unter
Yes, I plan on checking that and Docbok out to see what they are all about. Looks like the php would be less work and build the directory structure on the fly :)