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.

Why two generators make totally different Sitemaps??

Discussion in 'Google Sitemaps' started by tayiper, Nov 28, 2006.

  1. #1
    One of Google Sitemap generators is the one at the "Mypagerank" site: http://www.mypagerank.net/google_sitemap_creator.html and the other at "XML Sitemaps": http://www.xml-sitemaps.com, and both generated "sitemap.xml" files are not valid when processed with "Google Sitemap Validator": http://www.validome.org/google (oh and btw. what's "Sitemap-index", which is a second option beside "Sitemap" to choose when validating); I mean I needed to "merge" them to be valid (mostly it was incorrect syntax in the XML header), i.e. I used some of the syntax from the "sitemap.xml" file generated on one site and some of the syntax from "sitemap.xml" file generated on the other site to be valid at the end.


    Incorrect syntax 1:

    <?xml version="1.0" encoding="UTF-8" ?>
    <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    <url>
    Code (markup):
    Incorrect syntax 2:

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset
          xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="
                http://www.sitemaps.org/schemas/sitemap/0.9
                http://www.sitemaps.org/schemas/sitemap/09/sitemap.xsd">
    <url>
    Code (markup):
    The correct syntax:
    SEMrush
    <?xml version="1.0" encoding="UTF-8" ?>
    <urlset
          xmlns="http://www.google.com/schemas/sitemap/0.84"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
    <url>
    Code (markup):
    thanks, tayiper
     
    tayiper, Nov 28, 2006 IP
    SEMrush
  2. Imran

    Imran Notable Member

    Messages:
    2,342
    Likes Received:
    191
    Best Answers:
    0
    Trophy Points:
    205
    #2
    It depends on what version of what script they are using to generate.
    some ppl use this:
    echo '<?xml version="1.0" encoding="UTF-8"?' . '>
    <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">';
    Code (markup):
    and others as u mentioned.
    I guess all these are valid sitemaps.
    If you want to know more which one is valid and which one isnt.
    then https://www.google.com/webmasters/ is the place to look for.
     
    Imran, Nov 29, 2006 IP
  3. Diddy1

    Diddy1 Peon

    Messages:
    295
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Diddy1, Nov 29, 2006 IP
  4. hhheng

    hhheng Banned

    Messages:
    2,633
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hhheng, Nov 29, 2006 IP
  5. seo_kate

    seo_kate Peon

    Messages:
    362
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i have been using xml-sitemaps and it seems to work fine for me.
     
    seo_kate, Nov 29, 2006 IP
  6. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #6
    Thanks all for the replies ...

    Yeah, I didn't say that it doesn't work, I just said that it generates a "sitemap.xml" file that is not valid when processed with "Google Sitemap Validator": http://www.validome.org/google.


    tayiper
     
    tayiper, Nov 30, 2006 IP
  7. jitendra

    jitendra Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    site map contains all link of web site.
    u can find all link of website through site map.
     
    jitendra, Dec 1, 2006 IP
  8. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #8
    Hmmm OK yeah, but I must confess that I am not sure what's the point of your reply (post count maybe??), I mean we surely all know that ...


    tayiper
     
    tayiper, Dec 6, 2006 IP