I am new to WordPress, tried couple of plugins to import xml file. This file is quite huge. I am unable to import it. Any tutorial or suggestions?
Edit : format of the XML file is below
<articles>
<article id="1240xxxx" timestamp="April 27, 2009, 8:26 am" published="1">
<title>Theme Parks in Tenerife</title>
<pageName>theme-parks-in-tenerife-408</pageName>
<imageFile>blogthemeparkstenerife.jpg</imageFile>
<imageAlt>Theme Parks in Tenerife</imageAlt>
<content>
<p>Anyone taking a
<a href="xxxxxxxxxxxxxxx">holiday in Tenerife</a>.
</p>
</content>
<summary>Theme Parks in Tenerife offer an alternative to the traditional beach holiday, providing entertainment for families.</summary>
<tags>
<tag>tenerife</tag>
<tag>holidays</tag>
<tag>parks</tag>
<tag>beaches</tag>
<tag>island</tag>
</tags>
</article>
So the markup is incompatible with the WordPress import function. That leaves two other options:
Both require some understanding of wordpress internals. In the first case you will need to learn about the wordpress export markup, in the second case you will need to learn about the database scheme of wordpress posts (and tags and categories). In both cases you need to learn some XSLT, but that’s a real valuable tool anyway.
A ‘last resort’ option would be something along the lines of parsing the XML and scripting the submission of the articles. The viability of this option depends on the ways you can ‘automate’ article submission in WordPress. I know there’s a way to submit articles through email, but I don’t know how well that supports tags and categories.
These might not be the most pretty options, and you might be screwed anyway. But this is the least I could do.