Open kjrhody opened 6 years ago
Can you give us an example InDesign file which is not working for you?
@nooitaf It looks like github doesn't support upload of that file type (.indd) so I had to compress it into a .zip
@nooitaf Any update? Were you able to get the file to work?
Sry and thanks for needed ping :)
I downloaden and extracted the zip you uploaded.
The first thing i noticed was that it's a directory, similar to .application/.app
"files" on the mac.
$ tree indesign_figure_Test_v1.indd -a
indesign_figure_Test_v1.indd
├── indesign_figure_Test_v1.indd
└── __MACOSX
└── ._indesign_figure_Test_v1.indd
The directory contains a binary file.
When i check the binary file for it's mime-type with file
i get
$ file --mime-encoding --mime-type indesign_figure_Test_v1.indd
indesign_figure_Test_v1.indd: application/octet-stream; charset=binary
I did a local and production upload check and if you upload the binary file inside, it just works.
You can normaly see the contents of those folders with right click > show-package-contents
I hope this helps
Is there support for inDesign (.indd, .idml) files with this? From what I can see, the
type
property for files with that extension continues to be empty despite my best efforts, and errors out on theinsert
(Error is:Uncaught Error: FS.Collection insert: file does not pass collection filters
). My code is this:and