mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
ab3959f3f2
refs https://github.com/TryGhost/Toolbox/issues/523 - When migrating or importing ZIP files into Ghost there's often a need to include document files. - When document 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 document files in the imported "posts" substituting the links with local ones - The document files importer recognizes media files inside of "files" or "content/files" folders present in the zip. - The supported media file extensions are same as for file upload widget: ".pdf",".json",".jsonld",".odp",".ods",".odt",".ppt",".pptx",".rtf",".txt",".xls",".xlsx",".xml" with following content-types: "application/pdf", "application/json", "application/ld+json", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.text", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/rtf", "text/plain", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/xml", "application/atom+xml" |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |