This page will discuss creating web pages that look like Leo outlines. It's a good place to post code.
It is important in these discussions to recognize that Ajax does one thing only.
It allows a script in a web page to request the contents of another web page as if the script were a browser and receive the page as a browser would receive it, except in the form of a string.
The string received may be the contents of a static web page (html, xml) or a dynamically generated page from php, asp, cgi etc. or in a pickled data format such as JSON produced by a server script (or as plain text).
Unfortunately, plumloco.co.uk is no longer present. Part or all of the work is present in the leo_to_html.py plugin included in the Leo trunk. - thyrsus
There are range of what can loosely call 'use cases'. Let's try to make a list of them from simplest to most esoteric. Here is a start:
(It might be better if long comments were put in a separate section and only a short note with a link placed in this list.)
Static XHTML/HTML (sample1)
This is a straight forward conversion of an outline to an xhtml list that can be displayed as a web page. XHTML is perhaps better as it allows xml tools such as XSLT to post precess the page.
Dhtml page that allows the outline to be collapsed/expanded.
Dhtml page that interprets bodyString (sample2).
This would allow leo to become a web authoring tool. The bodyString of a leo node could contain Wiki markup or raw html and then displayed as html. @url nodes, when clicked could display the page indicated. Markup could be used to include forms in the page.
Web page as GUI (thin client).
It might be possible to use a webpage as a thin client, collecting keystrokes to feed to a leo running on localhost or a remote server and receiving instructions as to how to update the view.
Web page as GUI (thick client).
Not impossible, but a lot of work ...
Create a Firefox plugin.