WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] WXR Importer only imports first item

[Resolved] WXR Importer only imports first item

  • Hi

    I’ve run into a strange issue with the WordPress XML importer.

    Everything has been working fine, and I’ve been able to import posts with custom fields and taxonomies without any problems… but suddenly the importer is not working.

    I have tried importing very simple xml tests on various WordPress sites, on different web hosting servers, but I’m always getting the same result – just the first item is imported.

    Here’s an example of what I’ve been testing:

    <?xml version="1.0" encoding="UTF-8"?>
    <rss version="2.0"
    	xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/"
    	xmlns:content="http://purl.org/rss/1.0/modules/content/"
    	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    	xmlns:dc="http://purl.org/dc/elements/1.1/"
    	xmlns:wp="http://wordpress.org/export/1.0/"
    >
    <channel>
    <wp:wxr_version>1.0</wp:wxr_version>
    <item>
    	<title>test1</title>
    	<dc:creator><![CDATA[admin]]></dc:creator>
    	<wp:status>publish</wp:status>
    	<wp:post_type>post</wp:post_type>
    </item>
    <item>
    	<title>test2</title>
    	<dc:creator><![CDATA[admin]]></dc:creator>
    	<wp:status>publish</wp:status>
    	<wp:post_type>post</wp:post_type>
    </item>
    </channel>
    </rss>

    I’m running WP 3.1 and Importer 0.3.

    Anyone experienced this before or got any suggestions?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] WXR Importer only imports first item’ is closed to new replies.
Skip to toolbar