Hi, I'm looking for some general advice on how best to approach a task that I have been given.
We are attempting to use a graph tool called "XML/SWF Charts" to create customizable graphs/tables of data stored in our TRAC database. This library is simply a FLASH plugin that is embedded on the page where the graph is desired. The plugin is configured to load an XML file (the location of which is provided to it as an argument during instantiation) containing all of the necessary information from which to create the graph. The problem that I have is in trying to understand how to configure TRAC to return an XML file containing data dynamically generated from it's database. I'm not even entirely sure if this is possible. I am looking for the ability to perform some fixed query upon loading a new page and to have the results of that query compiled into an XML file the format of which is controlled by me. For example, this is what I'm trying to achieve: When the graph plugin loads, it attempts to read an XML file from some location on the TRAC server (for example, http://trac/myproject/user_ages.xml) The very act of attempting to read this file causes the TRAC server to query it's database for the relevant information and then to collate the results into a valid XML file. The graph plugin then reads this dynamically created file and generates it's graph accordingly. I'm pretty sure it is not possible to do this out of the box (an attempt to read a location on the TRAC server would typically return a wiki page), but I was wondering if it would be possible to do it by writing a plugin for TRAC. So, 1. Is such a feature possible with TRAC? And if so, what would be the best approach to implement one? 2. If this is not possible, are there any other techniques through which similar functionality could be achieved? Thanks for your help, Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
