Support » Fixing WordPress » Categories and metadata not working with wp xml import

  • Hello,
    I’m attempting to import data with the syntax created by WP’s new export feature. I should make it clear that the data I’m attempting to import wasn’t actually exported by wordpress, but through the use of scripts, it appears to be exactly the same.

    The problem is that the categories, the metadata, and the dates refuse to map correctly. Has anyone attempted to do this before? Has anyone experienced the same trouble?

    Here is some of the code (one item) I’ve generated:

    <title>Post Title</title>
    <pubDate>Mon, 10 May 2004 08:50:00 -0400</pubDate>
    <dc:subject>Category Name</dc:subject> 				<guid isPermaLink="false">removed/?p=16/</guid>
    <content:encoded><![CDATA[<p>Blah Blah Blah</p><ul><li>list one</li><li>list two</li></ul>]]></content:encoded>
    <wp:post_date>Mon, 10 May 2004 08:50:00 -0400</wp:post_date>
    <wp:meta_value>no tags</wp:meta_value>
    <wp:meta_key>Scripture Book</wp:meta_key>
    <wp:meta_value>1 Peter 1:1-5:11</wp:meta_value>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Has anybody else even tried to place their own variables into the WP XML format? Has anybody had similar problems when importing one actually exported from WP?


    That looks the wrong way around to start
    Note suer what data must be pressent and what doata can eb left out in the feed. I am still working on my dataset

    Category is a a CDATA field…

    Try using xml notepad to compare and also I found this pho test feed script

    which you might find useful in debugging

    All the best

    Sorry I did not look close enough. I realised now you ave a few elements.

    Down load a export file from your database and do a comarision of similar data with xml notepad..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Categories and metadata not working with wp xml import’ is closed to new replies.