Get your own customer support community
 

How do I import comments for existing blog posts?

I can import the comments using this format via an XML file:

<wp:comment>
<wp:comment_id>1</wp:comment_id>
<wp:comment_author><![CDATA[Import Test]></wp:comment_author>
<wp:comment_author_email></wp:comment_author_email>
<wp:comment_author_url></wp:comment_author_url>
<wp:comment_author_ip></wp:comment_author_ip>
<wp:comment_date>2008-09-08 23:15:31</wp:comment_date>
<wp:comment_date_gmt>2008-09-09 05:15:31</wp:comment_date_gmt>
<wp:comment_content><![CDATA[This is an imported comment. ]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_type></wp:comment_type>
<wp:comment_parent>0</wp:comment_parent>
<wp:comment_user_id>0</wp:comment_user_id>
</wp:comment>

And they show up just fine under "Manage Comments"... But the comments aren't being published on the blog because there's no way to specify what post the comments should be posted on. How do I specify what post the comments are supposed to go on? Or "move" them to the correct post?

Or is there another way to go about this?
 
indifferent I’m frustrated
Inappropriate?
1 person has this question

User_default_medium