For my day job, I've been working on a few things that allow you to render
Microsoft Project 2003 projects on a web page.
The code I wrote for my work is proprietary, and probably not directly useful for most people. But I figured that at least some of the work might be useful for others, so I wrote an open source version from scratch and I published that as the
open-msp-viewer project on google code. If you like,
check out the code and give it a spin.
It works by first saving the project in the
MS Project XML format using standard MS Project functionality (Menu \ Save As..., then pick .XML) and then applying an
XSLT transformation to generate HTML.
Currently, the project includes an xslt stylesheet that renders MS Project XML files as a Gantt chart. To give you a quick idea, Take a look at these screenshots:

and

The web gantt chart is rendered in a HTML 4.01 variant, CSS 2.1 and uses javascript to allow the user to collapse and/or expand individual tasks in the work breakdown structure. Currently, the HTML does not validate due to a few custom attributes I introduced to support dynamic collapsing/expanding the chart with javascript. In addition, the xslt transform process introduces the msp namespace into the result document, which results in a validation error
You can either
associate the xslt stylesheet directly with the MS Project XML file, or you can use
an external tool like xsltproc.
In the
trunk/xml subdirectory, you can find a couple of sample projects in xml format that already have the stylesheet association. I have tested these in IE8, Chrome 2, Safari 4 and Firefox 3.5, and it works well in all these browsers. In the
trunk/html directory, you'll find HTML output as created by xsltproc.
In the future, more xslt stylesheets may be added to support alternative views. Things that I think I will add soon are a resources list and a calendar view.
Enjoy, and let me know if you find a bug or would like to contribute.