Support » Fixing WordPress » change normal XML format to WXR Format

  • i have a xml file and i want to transform that file into wordpress extended RSS format,

    Below is the format of XML file

    <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>

    i need script and suggestions, i dont know how to format above xml to WXR format,
    actually i want to import that XML to wordpress, and also suggest some best practices if the size of the file huge

  • The topic ‘change normal XML format to WXR Format’ is closed to new replies.