Could i use an .asp or .aspx file to generate an xml? This way i do with the rss feed xml! i'm thinking of doing it the same. what do you think? google would see it correctically?
nobody can tell me if this is ok? you all guys have .xml files created by hand or with another .php/.asp file? i wanna make one file .aspx in order to return an xml file (something like this: www.editiaspeciala.com/rssfeed.aspx but with sitemap rules from google!)
so i see nobody knows i have allready done it! i put an aspx file wich return an rss feed with all my news: i'm very courious if google gets it right. in google help it says that they recognize rss feed
the file extension or even the url does not matter, as long as it sends the correct type (xml), encoding (utf-8) and of course content.
you can also name the file .xml and put an apache (or IIS i suppose) directive in that executes the file as asp. or you can have asp write a static xml file or u can just leave it as google doesnt really care
The answer to your question is yes you can. Ii did it to my site www.CellUp.com and it worked. Google seen my .aspx file as a .xml file. But for this i had to use a rewrite rule for my sitemap URL. I renamed my sitemap_index.aspx file as sitemap_index.xml.