see app.cfg for an exemple regarding favicon.ico so to publish a file that is in the the top level dir of your project use something like [/sitemap.xml] static_filter.on = True static_filter.file = "%(top_level_dir)s/sitemap.xml"
On 6/29/07, madcubano2 <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm having trouble figuring out how to put a file, sitemap.xml, which > google uses for indexing, in the root of my website (as required by > google for indexing websites). i.e. www.mysite.com/sitemap.xml > > I've tried a few things so far, none of which have worked for me: > Putting the file in the root of my project. > > 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). > > I also threw the file in my project/static directory which makes it > accessible but Google did not like this -they require it to be at the > top/root of my website. > > Any guidance on how to go about doing this would be greatly > appreciated. > > Thanks, > Rich > > > > > -- cheers elvelind grandin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---