Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WpImportedObject Needs to be more unique #11

Open
camfindlay opened this issue Sep 13, 2015 · 0 comments
Open

WpImportedObject Needs to be more unique #11

camfindlay opened this issue Sep 13, 2015 · 0 comments

Comments

@camfindlay
Copy link
Owner

From micmania1:
If you try to import multiple XML files you may get duplicate IDs which prevents new posts being imported.

Proposed fix:
Create a hash of the XML file, and append the post ID: d0be2dc421be4fcd0172e5afceea3970e2f3d940-ID

Another potential fix could be that we use the guid field of each post.

Yes I would tend to agree. Could be a good change for future version. Currently the module is a pretty quick a dirty way to migrate from one place to the other (SIlverStripe) and use case wasn't to import multiple blogs combining them into one.

Perhaps this is more a feature? Giving the ability to import multiple WP XML files into SS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant