On Sep 6, 2008, at 5:28 PM, ikus060 wrote:
> > Hi, > > I'm really new to python and Trac sdk. At this time, I try to fix some > issue of GoogleSitemap plugin. So Far, I manager to convert the plugin > from 0.10 to 0.11 but there is some remaining issue I want to fix. > > One of this issue require me to retreive the base url of the web site. > There is any way to retreive this information using Trac API ? > > e.g.: Your trac web site are accessible from http://trac.example.com/trac-env/ > To Show a wiki page it's will be > http://trac.example.com/trac-env/wiki/SomePage > The value I need is http://trac.example.com/trac-env/ or > http://trac.example.com > > The goal is to produce an absolute URL for WikiPage and Ticket. req.abs_href.wiki('SomePage') --Noah --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
