How to import only certain comments from post[s]

NOTICE: This is solely NOT a WordPress Question, but related to WordPress Migration and Export-Import.I started blogging

NOTICE: This is solely NOT a WordPress Question, but related to WordPress Migration and Export-Import.

I started blogging in WordPress and then shifted my blog to a self-hosted site. But even after that, I din't shut down my blog for some internal reasons. Though I stopped updating the blog, users are still commenting there. But after a long time, I now determined to shut down the site. But before that, I want to import some of the new comments, those posted after the migration.

Suppose, post#5 had 3 comments, when I migrated, now it has 5 comments — so, 2 new comments are in post#5.

As because I have to Export .xml data from the site, and the .xml contains all the post comments etc. in it. So, I've to find out a way that only import and add, but doesn't duplicate and/or delete and/or overwrite any of my site's present post content or comments or any other settings.

Is that really possible?

EDIT

What I got so far is the .xml, and I got that the comment resides under <wp:comment> under each <item> with the $post_id and others:

<item>
 <wp:post_id>$post_id</wp:post_id>
 <wp:comment>$comment</wp:comment>
</item>

I've actually no idea about how to proceed with WordPress .xml data file.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744942740a4602427.html

相关推荐

  • How to import only certain comments from post[s]

    NOTICE: This is solely NOT a WordPress Question, but related to WordPress Migration and Export-Import.I started blogging

    1天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信