You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi,
I've got an xml file with all of my content. It comes from a mediawiki:
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3" xml:lang="de">
<siteinfo>
<sitename>InfoPoint</sitename>
<base>http://localhost/mediawiki/index.php/Hauptseite</base>
<generator>MediaWiki 1.12.0</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2">Media</namespace>
</namespaces>
</siteinfo>
<page>
<title>Hauptseite</title>
<id>1</id>
<revision>
<id>873</id>
<timestamp>2008-12-01T14:30:13Z</timestamp>
<contributor>
<username>User1</username>
<id>1</id>
</contributor>
<text xml:space="preserve">Hilfe zur Benutzung und Konfiguration der Wiki Software finden Sie im [http://meta.wikimedia.org/wiki/Help:Contents Benutzerhandbuch].
== Willkommen ==
----
{|border="0"
|- class="wikitable sortable"
! width="30%" | Systeme
! width="30%" | Andere Systeme
! width="40%" | == Schneller Einstieg ins Wiki ==Now I want to transfer it into Drupal .. it needs SQL or XML or CSV.
Here my questions:
- Is it possible to walk through this file, recognize the <page> and extract text, timestamp and so on and insert it into an SQL statement?
- Could you think of an easier way to do the conversion?
Thank you in advance.
Bye, Chris
Offline
Chris-
Did you get anywhere with this MediWiki -> TOS -> Drupal migration? I am interested in creating CCK nodes on the fly against an existing web service, and (having exhausted my experimentation with Feeds and Services Client (drupal contrib modules) TOS came to mind. I am not sure where to begin as far as creating cck nodes by direct db manipulation.
-Bronius
Offline

Hello Bronius,
sorry for the late reply.
Unfortunately I didn't get anywhere.
But an easier solution might be: iMacros
With a little JavaScript, it enabled me to do a lot out of the free version just with FF.
Offline
Pages: 1