📜 ⬆️ ⬇️

Microhosting microsites

I already wrote about microhosting a couple of days ago. Those who have not seen, can see .
In fact, you can look at my profile ( ainu )
Demo right here (for viewing it is not necessary to open the post, it works directly from the list of blogs):
This beta does not work (yet) when you click the middle mouse button on a tab.



So, imagine the beta version of the service to create such gizmos.

Total available 3 versions of the microsite. An example of the first can be seen in the first comment post about the microsite . It is reliable, but slower than the second.
An example of the second version you see a couple of lines above. It requires Javascript enabled. The third version is slower than the second, but a little more reliable (it is waiting for the update of pictures and after that displays the main site).
Attention! If there are anchors in the address bar (for example, #comments), scrolling to the microsite will not work.
PHP file insertion works, but for free access the opportunity is closed (for now!) For security reasons. With a personal appeal and can screw. Those. it is theoretically possible to eliminate polls, tests and similar functionality.
For example, it is quite realistic to add additional rating buttons to your Habratopic, such as “smiled”, and everyone will be able to vote, and not just registered users.
The source code of the first demo is still posted in my post.
The service is at the testing stage, so do not be surprised if the microsites you have laid out will stop working in a week (what if the site moves!).
Address: micro.ramainen.ru (you can also look at micro.cait.ru ).
Registration is free until the hosting starts to lag.
The service is simple: at registration 8 pages are given. You edit them and get the code. Or rather, you can get the code, put it, for example, in LJ, and only then edit it.
If someone does not understand the device of the system, ask!
Ideas, suggestions and instructions on bugs (which, I am sure, will be) are accepted.
I would be pleased to see the use of microsites anywhere else. The technology is not mine personally. It should be public. Ajax doesn't patent, right?

')

Source: https://habr.com/ru/post/40365/


All Articles