Posted by Flying Drupalist on June 4, 2008 at 5:58pm
I'm just wondering how to import mediawiki XML and turning it into a wikitools drupal system. This should theoretically be simple, but I'm not sure where to begin.
I'm just wondering how to import mediawiki XML and turning it into a wikitools drupal system. This should theoretically be simple, but I'm not sure where to begin.
Comments
cross post to rss and aggregation group?
I'd make a stab at doing this via a custom parser for the FeedAPI --
Folks in the rss and aggregation group could speak to the wisdom (or lack thereof) of this approach in more detail.
Cheers,
Bill
FunnyMonkey
Tools for Teachers
FunnyMonkey
Thanks, I'm not at all
Thanks, I'm not at all familiar with FeedAPI and I'll look into it right away. At the same time though, some sort of outline of neccessary steps would be nice to have. And we can put it into a book too.
Getwiki module
Check out http://hyrme.com/node/10 for a module that pulls Wikipedia entries into Drupal.
Thanks for the link to the
Thanks for the link to the getwiki christefano, the hyrme site also discusses his way of importing, a perl script?
I've checked out FeedAPI, and it's complicated. I'm hoping there's an easier way to do this.
Didn't see this post earlier...
We did a mediawiki integration for unicef using the mediawiki xml api and feedapi/feedapi element mapper a few months back. Let me see if I can get my partners Jody (aka lynn) to post about the experience.
I don't know that there really is an easier way to do it- mediawiki sure doesn't make it easy to interact with their software- and without the api I don't know how you'd be able to gather the info you'd want to display. We looked in a bunch of other directions, but the api seems like the only good path to go, and feedapi is probably the easiest way you're going to get there (though I don't mean to say it will be easy).
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
you have a feedapi-based parser for mediawiki XML?
That's the grail!
I'd LOVE to see that!
Cheers,
Bill
FunnyMonkey
Tools for Teachers
FunnyMonkey
Sure...
If Jody doesn't get a chance to post by DrupalCon we can show you there...
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
MediaWiki importation
Hi!
I had the same problem: I wanted to import several MediaWiki into my Drupal
site. I looked arround the web and found nothing interesting to do the job. So
I wrote my own "Media Wiki Importer" and I publish it here "as is". It's not a
module, just the guide lines on how to proceed to import a MediaWiki content
into Drupal and it includes the required source PHP code. I hope it'll help
some people like me. I'm not saying it works perfectly but it did for my stuff
and it can be used by others to create their own importer.
You can find it there:
http://southgreen.cirad.fr/sites/all/files/mediawiki2drupal.zip
thx a lot
...for the script and howto. Worked very well for me. Rendering is as expected.
though i still have to figure out if images and files are available and how to extract categories and even semantic mediawiki attributes (rdf) and maybe some namespaces.
florian
have you solved the category
have you solved the category problem? im on that too
catetegories -> taxonomy: not yet done...
havent cared for that yet, too many other interesting stuff :)
but i might try it again this weekend, as you remembered me now.
what do you think which approach would make sense? in module or as bootstrap script? or...?
Interested
I'd be interested in that and in having a module too. Though I'd rather wait for a real wiki module to exist (red links, templates…)
Rough Feeds parser module for wiki xml in the works
Last weekend I was trying to reuse some of your code into a prototype mediawiki xml parser for feeds. Code is somewhat dirty at this stage but the basics are working. I'll have another look at it, clean it up and post it here.
UPDATE: Sorry, I haven't had a chance to work on this. I just post what I have so far. Your mileage may vary...
http://sqyd.net/feeds_mediawikixmlparser.tar.gz
Eagerly awaiting for it!
Eagerly awaiting for it!
Also eagerly waiting!
This would solve a big problem for me too! I am about to transfer all contents of a wiki to a drupal site.
Tammo
Has this been updated for
Has this been updated for Drupal 7?