<p>I need to </p>

<ol>
<li>convert my Sandcastle Help File
Builder (SHFB) output that is a Web
site (HTML) to Media wiki format     </li>
<li>Find a way to transfer/include the
converted pages directly into the
MediaWiki we have set up.</li>
</ol>

<p>Any ideas? we have over 1000 pages of HTML files inthe Website (output of SHFB).</p>

<p>I thought of using a html2wiki converter ..I could think of looking around for a script to convert those 1000 pages into wiki format... that could take care of (1).</p>

<p>But I would still be left with the block in the last bit of the pipeline - how to feed converted pages directly into the Wiki?</p>

I did some work with ingesting existing material from several sites into a comprehensive Wiki. It did not involve Sandcastle, but if you're dealing with HTML it shouldn't matter much.
html2wiki
extensions are out there, and from what I have read they can solve a lot of problems. I needed a little more control over each node in the DOM, so i used
Simple HTML DOM Parser
. It's in PHP and was easily dropped into Mediawiki's includes.
For creating the new pages, I ended up writing a small script that uses Mediawiki's Article class, specifically the
doEdit function
. this allows you to create new articles programatically, without user interaction. Of course, you'd want to be careful with this... The last thing you need is to create 1000 pages that are no good and have to be deleted. But perhaps this will help get you going.