Sitemap.xml not fetching

https://search.google.com is not “fetching” my sitemap.xml. What should I do?

In Firefox when I type in mcgraphics.us/sitemap.xml I get this:
This XML file does not appear to have any style information associated with it. The document tree is shown below.

<url> <loc>https://mcgraphics.us/</loc> <lastmod>2020-11-01T23:51:05+00:00</lastmod> <priority>1.00</priority> </url> <url> <loc>https://mcgraphics.us/art/index.html</loc> <lastmod>2020-11-03T19:00:28+00:00</lastmod> <priority>0.80</priority> </url> <url> <loc>https://mcgraphics.us/history/index.html</loc> <lastmod>2020-10-25T16:46:06+00:00</lastmod> <priority>0.80</priority> </url> <url> <loc>https://mcgraphics.us/index.html</loc> <lastmod>2020-11-01T23:51:05+00:00</lastmod> <priority>0.64</priority> </url> <url> <loc>https://mcgraphics.us/art/</loc> <lastmod>2020-11-03T19:00:28+00:00</lastmod> <priority>0.64</priority> </url> </urlset>

1 Like

My sitemap.xml looks nothing like codeproject sample xml, so confused on how to make xsl style sheet.
Mine has a bunch of loc tags the the page urls
<?xml version="1.0" encoding="UTF-8"?>
`

 <url>
      <loc>https://mcgraphics.us/</loc>
      <lastmod>2020-11-01T23:51:05+00:00</lastmod>
      <priority>1.00</priority>
    </url>…`

CODEPROJECT sample:
`<?xml version="1.0" encoding="UTF-8"?>
<catalog>
  <cd>
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
    <price>10.90</price>
    <year>1985</year>
  </cd>
</catalog> '

CODEPROJECT sample create xsl style sheet and link to sitemap.xml looks like

`<?xml version="1.0" encoding="UTF-8"?>

`<xsl:stylesheet version=“1.0”
xmlns:xsl=“http://www.w3.org/1999/XSL/Transform”>

<xsl:template match="/">
  <html>
  <body>
 ` <h2>My CD Collection</h2>`
  <table border="1">
    <tr bgcolor="#9acd32">
      <th>Title</th>
      <th>Artist</th>
    </tr>
    <xsl:for-each select="catalog/cd">
    <tr>
      <td><xsl:value-of select="title"/></td>
      <td><xsl:value-of select="artist"/></td>
    </tr>
    </xsl:for-each>
  </table>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet> `

This is mostly beyond the scope of this forum, but basically you shouldn’t worry about it. Google will scrape it without styling

1 Like

Looks like you’re right, as usual, Bob.
From Google
You might not need a sitemap if:

  • Your site is “small”. By small, we mean about 500 pages or less on your site. (Only pages that you think need to be in search results count toward this total.)

By the way I’m watching media queries for a 3rd time. You are so good.

  1. helps with pixel to em thinking.
  2. clicking paint brush at top of window to target size
  3. understanding calc