Edgewall Software

Opened 17 years ago

Closed 17 years ago

#2244 closed enhancement (worksforme)

Index on projects availables

Reported by: Alesque Owned by: Christopher Lenz
Priority: low Milestone:
Component: web frontend/mod_python Version: devel
Severity: trivial Keywords:
Cc: agarino@… Branch:
Release Notes:
API Changes:
Internal Changes:


I set Trac with apache and ModPython for multiple projects.

At the root, Trac generate an index with all projects availables in html. It would be fine to have a way of getting this document in xml.

<?xml version='1.0' encoding='UTF-8'?>
    <project name="foo" location="/trac/foo" description="foo description" />
    <project name="bar" location="/trac/bar" description="bar description" />

It would be possible to process this document via JavaScript (XMLHttpRequest and DOM) and to build a tree, list, menu of projects in html or whatever else you want.

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 17 years ago

Milestone: 0.9
Resolution: worksforme
Status: newclosed

You can supply your custom ClearSilver template using PythonOption TracEnvIndexTemplate /path/to/template.cs. That template can generate the representation you want.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.