Can't import anything but example files
-
I’m using this plugin to import some data into a site that uses quite a number of custom fields (associated with a custom post type). The first time I tried it, when it didn’t work (returned the error that posts were skipped “most likely due to empty title, body and excerpt”), I assumed it had something to do with the relative complexity of the fields/post type.
However, I’ve spent the better part of an hour working on this, and I haven’t been able to get a single file to import except the sample one.
I’m working on a Mac using Excel 2011. Since some people suggested in previous posts that Excel might cause problem with the way it creates csv files, I’ve tried copying/pasting data into a Google spreadsheet and importing a CSV form there. That didn’t work either.
I then tried simply opening up the created CSV files in TextWrangler and comparing them to the example files. At face value, there is no difference — all are encoded in UTF-8 with LF line breaks. But only the example ones will import.
I’ve tried using only wpv-post-title as well as using wpv-post-title, wpv-post-post, wpv-post-excerpt, wpv-post-categories as column headers. None of these make any difference.
I started with the version of the plugin that is available in the Repository (0.3.7), but I’ve also tried the version that bheadrick mentioned he had forked and improved on GitHub (0.3.9). Upgrading didn’t make any difference.
I strongly suspect at this point that I’m dealing with an encoding issue, but I’m at a loss of how to address it.
I’d appreciate any advice anyone might have to offer!
Edit: updated to add that I’ve stripped out all of the complex data from my initial spreadsheet at this point. I’ve literally tried just creating a csv file from scratch in TextWrangler with one or two fiels and one record. Even that won’t import.
- The topic ‘Can't import anything but example files’ is closed to new replies.