Marco, I tried what you had below but it didn't seem to work. Trying to access http://www.mysite.com/sitemap.xml did not work with the expose decorator as given below. Maybe I'm missing something....
Thanks, Rich On Jun 29, 4:51 am, Marco Mariani <[EMAIL PROTECTED]> wrote: > madcubano2 ha scritto: > > > I've tried exposing the file in my controller and putting the file in > > the /templates directory but this doesn't seem to work (seems that a > > period in the filename is not supported in the expose clause). > > Try having this on your root controller. You should be able to use an > underscore in place of a dot. > > @expose(template='project.templates.sitemap') > def sitemap_xml(self): > return dict() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

