Sunday, March 19, 2017

XML Sitemaps: for beginners

XML sitemaps are text files that provide information for the important website pages of your site that you would like to have visibility via search engines (e.g., Google, Bing, etc.).

Demonstration of Sitemap.xml content for url elements


Here are the XML tags and what they do...

  •     <urlset></urlset> – The start and end tags of the URL set.  There are no attributes with these elements.
  •      <url></url> – The element's start and end tags of each URL entry.
  •     <loc></loc> – Where the page is located
    • <loc>http://gliesians.com/about-us.faces</loc>
  •     <lastmod></lastmod> The date you last modified the page in YYYY-MM-DD format. 
    • <lastmod>2017-03-19</lastmod> 
  •     <changefreq></changefreq> – The frequencies of which you update the referenced file.  The options are (note first: use always if the content updates dynamically upon use):
    •    <changefreq>always</changefreq>
    •  <changefreq>hourly</changefreq>
    •  <changefreq>daily</changefreq>
    •  <changefreq>weekly</changefreq>
    •  <changefreq>monthly</changefreq>
    •  <changefreq>yearly</changefreq>
    •  <changefreq>never</changefreq> 
  •   <priority></priority> – Priority/importance of the webpage on a scale of 0.0 to 1.0.  The default is .5 (in the middle). The values are relative to each other on your website only.  Here is the priority assignment approach that I have taken:
    • Priority of [.80-1.0] Awesome-tastic web pages, you'd like visitors to easily find
      • <priority>0.99</priority>
    • Priority of [.60-.79] Great pages, not priority-wise visible (diamonds in the ruff)
      • <priority>0.75</priority>
    • Priority of [.40-.59] Really nice pages getting bumped for the good stuff
      • <priority>0.59</priority>
    • Priority of [.20-.39] Average pages that should be reachable (not entirely invisible) 
      •  <priority>0.20</priority>
    • Priority of  [.01-.19] Lovely, but unimportant pages, that you don't care if they are ever visited
      • <priority>0.19</priority>
  •     <xml:link></xml:link> – Alternate versions of the page

 Gliesians.com Sitemap.xml example

<?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/0.9/sitemap.xsd">
   
    <!-- Gliesians.com Sitemap.xml main pages -->
    <url>
        <loc>http://gliesians.com/</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>yearly</changefreq>
        <priority>1.00</priority>
    </url>
    <url>
        <loc>http://gliesians.com/mobile-index.faces</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>yearly</changefreq>
        <priority>1.00</priority>
    </url> 
        <url>
        <loc>http://gliesians.com/index-media.faces</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>yearly</changefreq>
        <priority>0.79</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/about-us.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>monthly</changefreq>
        <priority>1.00</priority>
    </url>  
        <url>
        <loc>http://gliesians.com/sponsorship.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>
 
    <!-- Rotorcraft Utilities -->
    <url>
        <loc>http://gliesians.com/index-rotorcraft.faces</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>monthly</changefreq>
        <priority>1.00</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/rotorcraft-weight-estimates-calculator.faces</loc>
        <lastmod>2017-01-22</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.80</priority>
    </url>
    <url>
        <loc>http://gliesians.com/sector-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>monthly</changefreq>
        <priority>0.19</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/air-density-calculator.faces</loc>
        <lastmod>2017-01-22</lastmod>  
        <changefreq>weekly</changefreq>
        <priority>0.99</priority>
    </url>
   
    <!-- Genealogy Utilities -->
    <url>
        <loc>http://gliesians.com/index-genealogy.faces</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>monthly</changefreq>
        <priority>1.00</priority>
    </url>
    <url>
        <loc>http://gliesians.com/autosomal-mrca-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>   
    <url>
        <loc>http://gliesians.com/cousins-confidence-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>   
    <url>
        <loc>http://gliesians.com/autosomal-analyzer.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.99</priority>
    </url> 
     
    <url>
        <loc>http://gliesians.com/gedcom-analyzer.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.98</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/image-compare.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url>
    <url>
        <loc>http://gliesians.com/earlobe-prediction-calculator.faces
</loc>
             <lastmod>2017-03-17</lastmod>  
            <changefreq>never</changefreq>
            <priority>0.79</priority>
    </url>
    <url>
        <loc>http://gliesians.com/translate.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>  
    <url>
        <loc>http://gliesians.com/genealogy-glossary.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>yearly</changefreq>
        <priority>0.19</priority>
    </url>
    <url>
        <loc>http://gliesians.com/genealogy-events.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.01</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/news.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>   
    <url>
        <loc>http://gliesians.com/hashtags.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/metaphone-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/roman-numeral-converter.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>
    <url>
        <loc>http://gliesians.com/future-days-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url>
    <url>
        <loc>http://gliesians.com/conception-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>  
    <url>
        <loc>http://gliesians.com/world-clocks.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/birthyears-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>
    <url>
        <loc>http://gliesians.com/stage-of-life.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url>   
    <url>
        <loc>http://gliesians.com/age-difference-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>
    <url>
        <loc>http://gliesians.com/tombstone-birthdate-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/forex-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.98</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/website-rankings.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>
   
    <!-- Sandbox Utilities pages-->
    <url>
        <loc>http://gliesians.com/index-sandbox.faces</loc>
        <lastmod>2017-03-08</lastmod>  
        <changefreq>monthly</changefreq>
        <priority>1.00</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/blood-sugar-gauge.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.79</priority>
    </url>       
    <url>
        <loc>http://gliesians.com/what-is-my-ip.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.59</priority>
    </url>       
    <url>
        <loc>http://gliesians.com/pi.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url>
    <url>
        <loc>http://gliesians.com/amazing-sites.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/emoticon-generator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/prime-numbers.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.39</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/impossible-riddle.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/number-generators.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url> 
    <url>
        <loc>http://gliesians.com/service-review-and-tip-calculator.faces</loc>
        <lastmod>2017-03-17</lastmod>  
        <changefreq>never</changefreq>
        <priority>0.19</priority>
    </url> 
</urlset>

No comments:

Post a Comment

OXY 3 Parts Needed

This blog post lists the parts needed to build and operate an OXY 3 .... but first an Oxy 3 unboxing video! Lynx OXY3-255 - Oxy 3 H...