Is there software that?

Locked
Giraffe }{unter
Posts: 2941
Joined: Fri Mar 17, 2000 8:00 am

Is there software that?

Post 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
creep
Posts: 1007
Joined: Tue Dec 30, 2003 8:00 am

Re: Is there software that?

Post 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.
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: Is there software that?

Post 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.
Last edited by Eraser on Fri Feb 01, 2008 7:45 am, edited 2 times in total.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Re: Is there software that?

Post 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.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Is there software that?

Post 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
Last edited by ^misantropia^ on Fri Feb 01, 2008 7:50 am, edited 1 time in total.
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Re: Is there software that?

Post 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?
Giraffe }{unter
Posts: 2941
Joined: Fri Mar 17, 2000 8:00 am

Re: Is there software that?

Post 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 :)
Locked