Convert the output file of the Builder Builder Sandcastle (website) to the MediaWiki format

I need

  • convert my Sandcastle Builder (SHFB) help file, which is a web-based website (HTML) to the media wiki format.
  • Find a way to transfer / enable converted pages directly to the MediaWiki we created.

Any ideas? we have more than 1000 pages of HTML files on the site (SHFB output).

I was thinking about using the html2wiki converter. I could think of looking around the script to convert these 1000 pages to wiki format ... that could take care of (1).

But I would still stay with the block in the last bit of the pipeline - how do I submit the converted pages directly to the Wiki?

+6
mediawiki sandcastle shfb
source share
2 answers

Take a look at the help server. It allows you to publish .CHM / .HxS created by any tool (including Sandcastle) on the Internet, and provides a URL-based integration API .

We also use MediaWiki. A set of templates for it allows us to create links to a class link shared by a reference server. Some examples of such links can be found right on this page.

Please note that the DataObjects.Net Help website runs on the 2.X help server, but the newest is 3.X ( an example website is here ).

+3
source share

I did some work by swallowing existing material from several sites into a comprehensive Wiki. This is not Sandcastle related, but if you are dealing with HTML, it doesn't really matter. html2wiki , and from what I read, they can solve many problems. I needed a little more control over each node in the DOM, so I used the Simple HTML DOM Parser . This is in PHP and was easily dropped in Mediawiki.

To create new pages, I wrote a small script that uses the Mediawiki article class, in particular the doEdit function . this allows you to create new articles programmatically, without user interaction. Of course, you would like to be careful with this ... The last thing you need is to create 1000 pages that are not suitable and need to be deleted. But perhaps this will help you get away.

0
source share

All Articles