I have been looking for this answer, but I can quite see to find the solution I need.
I used Twine 2.0.8 to create a project. When I select Publish To File, an .html is created on my desktop. I can import that document back into Twine and play it in Chrome without any problems.
However, when I upload the file as an attachment, then download it, I get a .html file that doesn't seem to work. I cannot import it into Twine. (Sorry, there is no story contained in this file.) And, when I open it in Chrome, it's not rendered and all I get is lines of the html code.
I need to share my file with someone and know that they can open it without running into any problems. I expect the .html file would open just fine in a browser, but that doesn't seem to be the case.
Please help.
P.S. I am using a mac with Yosemite 10.10.4
Comments
You don't explain how you are uploading the HTML file as an attachment, nor to which service you are uploading to. It is possible that that process is modifying the HTML file in some way.
You could create a ZIP file containing your HTML and upload the ZIP file instead.
I want to make sure there is not something I can do on my end to make sure that the recruiter gets a working .html file.
One possibility is that you are downloading the file incorrectly, especially if you are using a "Link Save As" process but without knowing how the website implements it's downloads it is hard to know.
Another possibility is that the website is modifying the HTML file in some way, like stripping out any Javascript it finds in the HTML for security reasons. This would explain why it does not run and also possible why it know longer imports because the importer relies on the HTML file having a known structure.
Would you be willing to share a copy of the damaged HTML file (the one you download from the corporate website) so I can debug it.
If you are then could you ZIP the damaged file, upload it to a file sharing site and PM the link to it. I will keep the personal information contain within the file private.
My workaround was to upload the document to dropbox, and provide a download link. I tested it, and the .html file seems to be completely intact. I included a link in my cover letter to the .html file on dropbox, and a link to where it is hosted philome.la.
I went ahead an uploaded it to their site, but I suspect they'll notice the issues pretty quickly.
Thanks,
I would be more worried from an IT security point of view about a company that was not doing so. lol