In case you don't get an answer that provides an immediate solution to
your need, here is a reasonable do it yourself way.
We provide XSLT scripts at:
http://www.riehle.org/category/wiki-tech/
There is no immediate solution for your problem (we only have the
other way, Wiki Creole to XHTML), but we have pieces of what you need
to do there.
(Wiki Creole is a subset of MediaWiki syntax; it might be sufficient
for what your XHTML files express---you probably don't have templates
etc.)
You would need to write an XSLT script that converts XHTML to our
XML-interchange format for wiki markup. This is pretty linear, as it
is quite similar. (We simply felt XHTML is not a good XML interchange
format.) Once you have it in the XML interchange format, you can use
our XSLT scripts to convert from XML to markup. Since we provide
source you can tweak it to your needs.
Hope this helps,
Dirk
On Wed, Feb 27, 2008 at 10:05 AM, Michael Monaghan <mickmon(a)gmail.com> wrote:
Hi,
I have a large volume of valid xhtml [xhtml1-transitional.dtd] that I want
to import into my MediaWiki instance.
Are any good filters available that might convert my xhtml to MediaWiki's
wiki-text format?
Thanks,
~mm
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Phone: +1 650 215 3459
Web:
http://www.riehle.org