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

WordpressDotCom importer overwrites assets #435

Closed
DavidBurela opened this issue May 17, 2020 · 1 comment · Fixed by #436
Closed

WordpressDotCom importer overwrites assets #435

DavidBurela opened this issue May 17, 2020 · 1 comment · Fixed by #436

Comments

@DavidBurela
Copy link
Contributor

I tried importing my WordpressDotCom website into Jekyll, but I had 350 images get lost/overwritten. This was due to the authoring tool I was using naming all images: image1, image2, image3.
e.g.

/2020
  /01
    image1.jpg
    image2.jpg
    image3.jpg
  /02
    image1.jpg
    image2.jpg
    image3.jpg

but the WordpressDotCom importer, puts all images into /assets which results in them overwriting each other.

I see that there is a similar issue from 6 years ago that went stale #173

@DavidBurela
Copy link
Contributor Author

I created a PR to address it. I ran it successfully on my wordpress blog with 230 posts. #436
It dramatically reduced clashes.

However as I mentioned in the PR, I have never coded in Ruby before. I did it in a minimal way, but there may be a "cleaner way"

@jekyll jekyll locked and limited conversation to collaborators May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants