I actually wrote something that does something related while trac-hacks was down. I wanted to pull some structured content out of some of my other pages and present them as a table. So I wrote:
https://github.com/netjunki/trac-RecentReleasesMacro It's kind of targeted to the concept of software releases... but it ended up being fairly generic in the end. Needs a bit of clean up to make it easier to use/configure but it does the job I need it to at the moment. Ben On Fri, Sep 28, 2012 at 10:42 AM, Steffen Hoffmann <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 27.09.2012 22:33, Olemis Lang wrote: >> On 9/27/12, Christopher Nelson <[email protected]> wrote: >>> > Am I crazy or would it be useful to be able to embed the tabular >>> > output of a report in a wiki page? >> You are not ... or maybe we both are >> :P > > No comments to your ability to read in trac-hacks.org hack listings, but > I see at least two likely candidates to check: > > SqlQueryMacro > > Execute an SQL Query against a configured database displaying a > formatted table of results. > > WikiTableMacro > > This is a simple macro that enables you to place tables resulting from > SQL queries into a wiki page. > > It is similar to, but simpler than, SqlQueryMacro. The main differences > are that it has fewer dependencies and always queries the Trac database, > rather than letting you set up a separate data connection. > > Bear with us and improve one of these instead of re-inventing the wheel, > please. > > Steffen Hoffmann > > > [1] http://trac-hacks.org/wiki/SqlQueryMacro > [2] http://trac-hacks.org/wiki/WikiTableMacro > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlBl4ZYACgkQ31DJeiZFuHd8swCfTtPYicQ2ZsYZl51skYVGJzKQ > cEIAoKzdt1vkzRXPmKTRBSFCHpc7p71/ > =K3lJ > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "Trac Development" 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-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev?hl=en.
