mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +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" |
||
---|---|---|
.. | ||
admin-build | ||
config | ||
csv | ||
data | ||
export | ||
filter-param | ||
images | ||
import | ||
media | ||
settings | ||
themes | ||
urls | ||
cache-rules.js | ||
context.js | ||
data-generator.js | ||
default-settings-browser.json | ||
default-settings.json | ||
fixtures.json | ||
test.hbs |