2361669bb6
refs https://github.com/TryGhost/Toolbox/issues/523 - When migrating or importing ZIP files into Ghost there's often a need to include more than just post content and images. - When media files are present in the imported zip file they are now copied across and processed along with the rest of import files: json, images, csvs, etc. - The importer also searches for use of the media files in the imported "posts" substituting the links with local ones - The media importer recognizes media files inside of "media" or "content/media" folders present in the zip. The supported media file extensions are same as for media upload widget: ".mp4", ".webm", ".ogv", ".mp3", ".wav", ".ogg", ".m4a" with following content-types: "video/mp4", "video/webm", "video/ogg", "audio/mpeg", "audio/vnd.wav", "audio/wave", "audio/wav", "audio/x-wav", "audio/ogg", "audio/mp4", "audio/x-m4a" |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json | ||
playwright.config.js |