jeudi 25 août 2016

How do can I create web pages on the fly from an iOS app?

Context/Background: I have an iOS app with a Firebase backend. Each user on the app has a couple of public stories or journals. I am working on the v2 of the app and one of the main features of v2 is to give users the ability to publish their stories as static webpages by a click of a button. The goal is to have a journal for a user with a username "johnhouse", for example, be available at http://ift.tt/2bZViAI.

Question: How do can I create web pages on the fly from an iOS app?

I thought of spinning up a server and hosting http://ift.tt/2bs7uaK on it, getting the app to ssh into the server and creating a directory called "johnhouse" (from the example above) inside the website's root directory and then pasting an index.html file inside it, But this doesn't only sound like a bad idea, it also sounds complicated as hell




Aucun commentaire:

Enregistrer un commentaire