Forum Archive

Viewing files on local Mac from Editorial browser: Possible?

pruppert222

Is there some way that I can set up a local site on my Mac that can show a specific folder on my Mac. I'd like to be able to navigate this folder and view its files from the Editorial web browser. This would allow me to have reference documents accessible with an easy swipe to the browser when writing in the editor. The reference documents would be PDF or docx, which I believe are rendered by the iOS native browser.

Thanks.

omz

One basic, but easy way would be to fire up a Terminal window and type

python -m SimpleHTTPServer

Then enter http://YourComputerName.local:8000 in the Editorial browser, and you should see a listing of your Mac home directory. You can find your computer name in the Sharing system preferences (IP address would also work).

TutorialDoctor

Awesome! This possible on windows too?

pruppert222

Wow! Thank you, Ole. That is exactly what I was wanting. So simple, too!

pruppert222

So I was curious if there was some way to implement this requiring a username and password. I'm sure there are ways to have a more sophisticated python server that allows this, but my search led me to a wonderful GUI solution in this app https://itunes.apple.com/us/app/simple-http-server-pro/id551386437?mt=12

Perfect for someone like me with limited server/web coding knowledge.

pruppert222

Argh. Turns out, you cannot access the server when using the SSL or authentication settings in that app I linked. The Editorial browser says the certificate is invalid and doesn't let you proceed. Works fine in mobile Safari, though. Reporting here in case it is a bug or something that may need to be fixed.

TutorialDoctor

Hey pruppert, as a tip, I use Documents by Readle to download files, Editorials browser can't play any of the media.