I'm actually using the 0.11 version of trac, and, due to Genshi, this plugin doesn't work, and it is far too complicated for me to adapt (patch). The author of this plugin told me it won't be adapt =/
2008/8/28 Noah Kantrowitz <[EMAIL PROTECTED]> > Any particular reason to not use http://trac-hacks.org/wiki/S5Plugin? > > --Noah > > tyrsensei wrote: > > Hi there ! > > > > My transforming script is actually ready (simple version that > > transforms titles into slides). > > > > But I'm still blocked on the page name problem. Can anyone help me ? > > > > Thanks in advance, > > TyR > > > > On 26 août, 10:09, tyrsensei <[EMAIL PROTECTED]> wrote: > >> Hello everyone, > >> > >> I'm new to Trac, and to python, but I've been asked to create a macro > >> that can transform the wiki page to a S5 document. > >> > >> Knowing nothing at all, I've decided that the macro would be a link to > >> a script that has, for argument, the source of the wiki page. > >> > >> I've managed to create the link, but I can't find out how to get the > >> URL of the wiki page where the macro is executed. > >> > >> Could someone help me ? > >> > >> Here is the python code : > >> > >> ================================ > >> from trac.wiki.macros import WikiMacroBase > >> from trac.util.html import html > >> > >> class S5Macro(WikiMacroBase): > >> revision = "$Rev$" > >> url = "$URL$" > >> > >> def expand_macro(self, formatter, name, args): > >> return html.A('Format S5', href="http://my_server/ > >> generateS5.php?source=" + self.url) > >> ================================ > >> > >> Thank you in advance, > >> TyR > >> > >> (excuse my poor English...) > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
