Action: category_tree
Warning: this is still under development
category_tree retrieves a tree representing the categories under a particular category id.
example: http://www.acm.uiuc.edu/sigsoft/webchalk/category_tree?id=2&mode=xml
- id optional
- If this argument is supplied, the category tree with have the root at this id. If id is not present, the root will be the top level category, like "Events". It will include the WHOLE (sub)category tree, so take caution!
- mode optional
- dictates the format of the results. Either 'xml' or 'html'. If none is specified, xml will be assumed.
- XML format:
<results> <category name="Events"> <category name="Parties"> <category name="example1"> </category> </category> <category name="Lectures"> <category name="example2"> <category name="example3"></category> <category name="example4"></category> <category name="example5"></category> </category> </category> </category> </results> - HTML format:
<ul> <li>Events <ul> <li>Parties <ul> <li>example1</li> </ul> </li> <li>Lectures <ul> <li>example2 <ul> <li>example3</li> <li>example4</li> <li>example5</li> </ul> </li> </ul> </li> </ul> </li> </ul>
