In case your web site focuses on geographic information, a KML sitemap generally is a beneficial device for integrating with map providers and precisely representing spatial info. A KML (Keyhole Markup Language) Sitemap is a selected sitemap used primarily for web sites containing geographical info.
Whereas wealthy snippets and Schema markup can improve your web site’s common website positioning, a KML sitemap can particularly assist in presenting and organizing geographic information. Right here’s a breakdown:
What’s a KML Sitemap?
- Goal: KML Sitemaps are used to tell engines like google in regards to the location-based content material on an internet site. They’re notably helpful for websites that includes maps, resembling actual property, journey, or native guides.
- Format: KML is an XML notation for geographic annotation and visualization inside Web-based maps (like Google Maps). A KML file marks places, shapes, and different geographical annotations.
Is that this a Sitemap Customary?
- Standardization: KML is a regular format initially developed for Google Earth, nevertheless it’s not a regular sitemap format like XML sitemaps for internet pages. It’s extra specialised.
- Utilization: It’s broadly used for geographic information however not universally relevant to all web sites.
- Itemizing in robots.txt: Itemizing KML Sitemaps in robots.txt shouldn’t be necessary. Nevertheless, together with the sitemap location in your robots.txt can assist engines like google in discovering and indexing your geographical information. For those who embrace it, the syntax is:
Sitemap: https://yourdomain.com/places.kml
What’s the Format?
- Primary Construction: KML recordsdata are XML-based and usually include parts like
<Placemark>
, which features a title, description, and coordinates (longitude, latitude). - Extensions: They will even have extra advanced buildings like polygons and kinds for customizing the looks of the map parts.
Examples of KML Sitemap Components:
<Placemark>
<title>Instance Location</title>
<description>This can be a description of the placement.</description>
<Level>
<coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
</Level>
</Placemark>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-122.084,37.422,0 -122.086,37.422,0 -122.086,37.420,0 -122.084,37.420,0 -122.084,37.422,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
These examples illustrate how KML recordsdata are structured to symbolize web site geographical information. Their use is very helpful for websites the place location info is a key content material ingredient.