1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Sitemap with .asp extension or .aspx

Discussion in 'Google Sitemaps' started by lbordea, Nov 24, 2005.

  1. #1
    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?
     
    lbordea, Nov 24, 2005 IP
  2. lbordea

    lbordea Peon

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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!)
     
    lbordea, Nov 25, 2005 IP
  3. lbordea

    lbordea Peon

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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 :D
     
    lbordea, Nov 25, 2005 IP
  4. web-spy

    web-spy Active Member

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #4
    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.
     
    web-spy, Nov 27, 2005 IP
  5. lbordea

    lbordea Peon

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes indeed - google found it without any problems :) - it's working :D
     
    lbordea, Nov 27, 2005 IP
  6. Stin

    Stin Guest

    Messages:
    264
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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
     
    Stin, Nov 27, 2005 IP
  7. hepy

    hepy Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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.
     
    hepy, Nov 28, 2005 IP