Say I'm looking at a long web doc.html which has no tree view on the left, but I can hack a local tree view file with level, name, href like
+ 1 US href= ("+" button expands, "-" folds)
2 Alabama href=
3 ...
2 Alaska href=
...
+ 1 Canada href=
...
Is there a small API that can generate a tree viewer / navigator from this,
either side by side in the same browser window with the remote web pages,
or in a separate window ?
I'd prefer Python (don't know Java or php), use Macosx and Firefox.
(The tree view lines can of course be reformatted to xml
or whatever the API wants.)