I am using slingshot to upload some images in my Amazon s3 and it works like charm. Nevertheless, I want to use slingshot to upload some files (text,doc,odf etc) too in my Amazon s3. BUT, I want to convert all these files into PDF first before uploading into s3. I am familiar with nodeJs package like "https://github.com/gfloyd/node-unoconv", that converts file into PDF. But how would i be able to integrate it into slingshot.
Eventually all the text, doc, etc files, that the client uploads, I want them to be stored in S3 but in PDF format. So is there any way to do that.
Amateur in meteor, so would be grateful if the explanation is detailed.
Thanks.