Transport Forms

We've borrowed most of the transporter logic and added it to one special case of the Html plugin: submitting forms.

We now expect form handlers to return new pages in wiki json rather than html. This mimics the protocol used by the Transport plugin. In fact, here we mimic the image transporter by entering the image url rather than dropping an image to discover it. github

Now, can we extend the "transport" practice by offering possibly useful submit handlers as part of the Html plugin itself? We consider a "new page" form to be the test case.

Create New Page

We special case one action url and handle it within the plugin without transporting through a remote service.

<form action = "http://new_page/">

A simpler and less deceptive action name didn't work for us, possibly due to the sanitizer.

Watch for version 0.3.0.

wiki-plugin-html