• Resolved amanda.fskar

    (@amandafskar)


    Thank you, thank you, thank you for updating the prior developer’s work on this CSV importer.

    The only thing I really wish it could do that it doesn’t is to append content at the beginning of a post (without replacing the post content) or just replacing the post content.

    Why it matters? I don’t want to lose the comments associated with the post, some of which have many comments. I’m using my WordPress as a tracking system for collections. The comments are the activity history of the collectors. The post content is the contact data, which can change from month to month when a client changes address or billing contact, account status etc. I dump this information from the business database and manually make changes when we already have that account number in our collections system, so we can keep the collection history.

    I left a 5 star rating (and I rarely rate plugins, but you have really made my day with this one). Thanks for any suggestions or enhancements to the plugin.

    https://www.ads-software.com/plugins/csv-importer-improved/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Judge

    (@judgej)

    Just to be clear about the author, this plugin was not originally developed by me, but I have picked it up after the original author appeared to have abandoned it. I’ll bask in your praise, but most credit is due elsewhere ??

    Right, now your requirement. This plugin is designed only to insert new posts – it does not update posts at present, and that would not be a trivial thing to add, but feasible.

    The first thing that would be needed, would be the ability to match a CSV row to an existing post. If your CSV data contains the post ID, then that is fairly easy, and data can be merged in. But if you don’t have the ID, then some other data would be needed. For example, when importing products into WooCommerce, you can match existing products by either post ID or SKU, since both of those fields are unique. It is the unique ID that is important.

    So would your imported data to merge in have the current post IDs? That’s the only field which guarantees a unique match on a standard WP site.

    Plugin Author Jason Judge

    (@judgej)

    Just found this post that offers a solution. I will give it try:

    https://www.ads-software.com/support/topic/plugin-csv-importer-overwrite-posts?replies=9

    Plugin Author Jason Judge

    (@judgej)

    Check out the latest release, and let me know how it goes.

    Thread Starter amanda.fskar

    (@amandafskar)

    Thank you very much I will let you know how it goes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update Existing posts without losing comments’ is closed to new replies.