{"id":75751,"date":"2020-01-20T11:58:10","date_gmt":"2020-01-20T06:28:10","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?p=75751"},"modified":"2024-04-12T14:17:16","modified_gmt":"2024-04-12T08:47:16","slug":"the-sitemap-framework","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/","title":{"rendered":"The Sitemap Framework"},"content":{"rendered":"<p>A sitemap is an XML file on your Web site that tells search engine indexers how frequently your pages change and how important certain pages are in relation to other pages on your site. This information helps search engines index your site.<\/p>\n<p>The Django sitemap framework automates the creation of this XML file by letting you express this information in Python code. It works much like Django\u2019s syndication framework. To create a sitemap, just write a Sitemap class and point to it in your URLconf.<\/p>\n<h3>Installation<\/h3>\n<p>To install the sitemap app, follow these steps:<\/p>\n<ul>\n<li>Add &#8220;django.contrib.sitemaps&#8221; to your INSTALLED_APPS setting.<\/li>\n<li>Make sure your TEMPLATES setting contains a DjangoTemplates backend whose APP_DIRS options is set to True. It\u2019s in there by default, so you\u2019ll only need to change this if you\u2019ve changed that setting.<\/li>\n<li>&nbsp; Make sure you\u2019ve installed the sites framework.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Initialization<\/h3>\n<p>To activate sitemap generation on your Django site, add this line to your URLconf:<br>\nfrom django.contrib.sitemaps.views import sitemap<\/p>\n<p>url(r&#8217;^sitemap\\.xml$&#8217;, sitemap, {&#8216;sitemaps&#8217;: sitemaps},<br>\nname=&#8217;django.contrib.sitemaps.views.sitemap&#8217;)<\/p>\n<p>This tells Django to build a sitemap when a client accesses \/sitemap.xml. The name of the sitemap file is not important, but the location is. Search engines will only index links in your sitemap for the current URL level and below. For instance, if sitemap.xml lives in your root directory, it may reference any URL in your site. However, if your sitemap lives at \/content\/sitemap.xml, it may only reference URLs that begin with \/content\/.<\/p>\n<p>The sitemap view takes an extra, required argument: {&#8216;sitemaps&#8217;: sitemaps}. sitemaps should be a dictionary that maps a short section label (e.g., blog or news) to its Sitemap class (e.g., BlogSitemap or NewsSitemap). It may also map to an instance of a Sitemap class (e.g., BlogSitemap(some_var)).<\/p>\n<h3>Sitemap Classes<\/h3>\n<p>A Sitemap class is a simple Python class that represents a section of entries in your sitemap. For example, one Sitemap class could represent all the entries of your Weblog, while another could represent all of the events in your events calendar.<\/p>\n<p>In the simplest case, all these sections get lumped together into one sitemap.xml, but it\u2019s also possible to use the framework to generate a sitemap index that references individual sitemap files, one per section.<\/p>\n<p>Sitemap classes must subclass django.contrib.sitemaps.Sitemap. They can live anywhere in your codebase.<br>\nA Simple Example<br>\nLet\u2019s assume you have a blog system, with an Entry model, and you want your sitemap to include all the links to your individual blog entries. Here\u2019s how your sitemap class might look:<\/p>\n<p>from django.contrib.sitemaps import Sitemap<br>\nfrom blog.models import Entry<\/p>\n<p>class BlogSitemap(Sitemap):<br>\nchangefreq = &#8220;never&#8221;<br>\npriority = 0.5<\/p>\n<p>def items(self):<br>\nreturn Entry.objects.filter(is_draft=False)<\/p>\n<p>def lastmod(self, obj):<br>\nreturn obj.pub_date<br>\nNote:<\/p>\n<ul>\n<li>&nbsp;changefreq and priority are class attributes corresponding to &lt;changefreq&gt; and &lt;priority&gt; elements, respectively. They can be made callable as functions, as lastmod was in the example.<\/li>\n<li>items() is simply a method that returns a list of objects. The objects returned will get passed to any callable methods corresponding to a sitemap property (location, lastmod, changefreq and priority).<\/li>\n<li>lastmod should return a Python datetime object.<\/li>\n<li>There is no location method in this example, but you can provide it in order to specify the URL for your object. By default, location() calls get_absolute_url() on each object and returns the result.<\/li>\n<\/ul>\n<h3>Sitemap Class Reference<\/h3>\n<p>A Sitemap class can define the following methods\/attributes:<\/p>\n<p><strong>items<\/strong> &#8211; Required. A method that returns a list of objects. The framework doesn\u2019t care what type of objects they are; all that matters is that these objects get passed to the location(), lastmod(), changefreq() and priority() methods.<\/p>\n<p><strong>location<\/strong> &#8211; Optional. Either a method or attribute. If it\u2019s a method, it should return the absolute path for a given object as returned by items(). If it\u2019s an attribute, its value should be a string representing an absolute path to use for every object returned by items().<\/p>\n<p>In both cases, absolute path means a URL that doesn\u2019t include the protocol or domain. Examples:<\/p>\n<ul>\n<li>&nbsp;Good: &#8216;\/foo\/bar\/&#8217;<\/li>\n<li>Bad: &#8216;example.com\/foo\/bar\/&#8217;<\/li>\n<li>Bad: &#8216;http:\/\/example.com\/foo\/bar\/&#8217;<\/li>\n<\/ul>\n<p>If location isn\u2019t provided, the framework will call the get_absolute_url() method on each object as returned by items(). To specify a protocol other than http, use protocol.<\/p>\n<p><strong>lastmod<\/strong> &#8211; Optional. Either a method or attribute. If it\u2019s a method, it should take one argument \u2013 an object as returned by items() \u2013 and return that object\u2019s last-modified date\/time, as a Python datetime.datetime object.<\/p>\n<p>If it\u2019s an attribute, its value should be a Python datetime.datetime object representing the last-modified date\/time for every object returned by items(). If all items in a sitemap have a lastmod, the sitemap generated by views.sitemap() will have a Last-Modified header equal to the latest lastmod.<\/p>\n<p>You can activate the ConditionalGetMiddleware to make Django respond appropriately to requests with an If-Modified-Since header which will prevent sending the sitemap if it hasn\u2019t changed.<\/p>\n<p><strong>changefreq<\/strong> &#8211; Optional. Either a method or attribute. If it\u2019s a method, it should take one argument \u2013 an object as returned by items() \u2013 and return that object\u2019s change frequency, as a Python string. If it\u2019s an attribute, its value should be a string representing the change frequency of every object returned by items().<br>\nPossible values for changefreq, whether you use a method or attribute, are:<\/p>\n<ul>\n<li>&nbsp;&#8216;always&#8217;<\/li>\n<li>&#8216;hourly&#8217;<\/li>\n<li>&#8216;daily&#8217;<\/li>\n<li>&#8216;weekly&#8217;<\/li>\n<li>&#8216;monthly&#8217;<\/li>\n<li>&#8216;yearly&#8217;<\/li>\n<li>&#8216;never&#8217;<\/li>\n<\/ul>\n<p><strong>priority<\/strong> &#8211; Optional. Either a method or attribute. If it\u2019s a method, it should take one argument \u2013 an object as returned by items() \u2013 and return that object\u2019s priority, as either a string or float.<\/p>\n<p>If it\u2019s an attribute, its value should be either a string or float representing the priority of every object returned by items(). Example values for priority: 0.4, 1.0. The default priority of a page is 0.5.<\/p>\n<p><strong>protocol<\/strong> &#8211; Optional. This attribute defines the protocol (http or https) of the URLs in the sitemap. If it isn\u2019t set, the protocol with which the sitemap was requested is used. If the sitemap is built outside the context of a request, the default is http.<\/p>\n<p>i18n &#8211; Optional. A boolean attribute that defines if the URLs of this sitemap should be generated using all of your LANGUAGES. The default is False.<\/p>\n<h3>Shortcuts<\/h3>\n<p>The sitemap framework provides a convenience class for a common case \u2013 django.contrib.syndication.GenericSitemap<\/p>\n<p>The django.contrib.sitemaps.GenericSitemap class allows you to create a sitemap by passing it a dictionary which has to contain at least a queryset entry. This queryset will be used to generate the items of the sitemap. It may also have a date_field entry that specifies a date field for objects retrieved from the queryset.<\/p>\n<p>This will be used for the lastmod attribute in the generated sitemap. You may also pass priority and changefreq keyword arguments to the GenericSitemap constructor to specify these attributes for all URLs.<\/p>\n<p>Example &#8211; Here&#8217;s an example of a URLconf using `GenericSitemap`:<br>\nfrom django.conf.urls import url<br>\nfrom django.contrib.sitemaps import GenericSitemap<br>\nfrom django.contrib.sitemaps.views import sitemap<br>\nfrom blog.models import Entry<\/p>\n<p>info_dict = {<br>\n&#8216;queryset&#8217;: Entry.objects.all(),<br>\n&#8216;date_field&#8217;: &#8216;pub_date&#8217;,<br>\n}<\/p>\n<p>urlpatterns = [<br>\n# some generic view using info_dict<br>\n# &#8230;<\/p>\n<p># the sitemap<br>\nurl(r&#8217;^sitemap\\.xml$&#8217;, sitemap,<br>\n{&#8216;sitemaps&#8217;: {&#8216;blog&#8217;: GenericSitemap(info_dict, priority=0.6)}},<br>\nname=&#8217;django.contrib.sitemaps.views.sitemap&#8217;),<br>\n]\n<p><strong>Sitemap for static views<\/strong> &#8211; Often you want the search engine crawlers to index views which are neither object detail pages nor flatpages. The solution is to explicitly list URL names for these views in items and call reverse() in the location method of the sitemap. For example:<\/p>\n<p># sitemaps.py<br>\nfrom django.contrib import sitemaps<br>\nfrom django.core.urlresolvers import reverse<\/p>\n<p>class StaticViewSitemap(sitemaps.Sitemap):<br>\npriority = 0.5<br>\nchangefreq = &#8216;daily&#8217;<\/p>\n<p>def items(self):<br>\nreturn [&#8216;main&#8217;, &#8216;about&#8217;, &#8216;license&#8217;]\n<p>def location(self, item):<br>\nreturn reverse(item)<\/p>\n<p># urls.py<br>\nfrom django.conf.urls import url<br>\nfrom django.contrib.sitemaps.views import sitemap<\/p>\n<p>from .sitemaps import StaticViewSitemap<br>\nfrom . import views<\/p>\n<p>sitemaps = {<br>\n&#8216;static&#8217;: StaticViewSitemap,<br>\n}<\/p>\n<p>urlpatterns = [<br>\nurl(r&#8217;^$&#8217;, views.main, name=&#8217;main&#8217;),<br>\nurl(r&#8217;^about\/$&#8217;, views.about, name=&#8217;about&#8217;),<br>\nurl(r&#8217;^license\/$&#8217;, views.license, name=&#8217;license&#8217;),<br>\n# &#8230;<br>\nurl(r&#8217;^sitemap\\.xml$&#8217;, sitemap, {&#8216;sitemaps&#8217;: sitemaps},<br>\nname=&#8217;django.contrib.sitemaps.views.sitemap&#8217;)<br>\n]\n<p><strong>Creating a sitemap index<\/strong> &#8211; The sitemap framework also has the ability to create a sitemap index that references individual sitemap files, one per each section defined in your sitemaps dictionary. The only differences in usage are:<\/p>\n<ul>\n<li>You use two views in your URLconf: django.contrib.sitemaps.views.index() and django.contrib.sitemaps.views.sitemap().<\/li>\n<li>The django.contrib.sitemaps.views.sitemap() view should take a section keyword argument.<\/li>\n<\/ul>\n<p>Here\u2019s what the relevant URLconf lines would look like for the example above:<\/p>\n<p>from django.contrib.sitemaps import views<\/p>\n<p>urlpatterns = [<br>\nurl(r&#8217;^sitemap\\.xml$&#8217;, views.index, {&#8216;sitemaps&#8217;: sitemaps}),<br>\nurl(r&#8217;^sitemap-(?P&lt;section&gt;.+)\\.xml$&#8217;, views.sitemap,<br>\n{&#8216;sitemaps&#8217;: sitemaps}),<br>\n]\n<p>This will automatically generate a sitemap.xml file that references both sitemap-flatpages.xml and sitemap-blog.xml. The Sitemap classes and the sitemaps dictionary don\u2019t change at all.<\/p>\n<p>You should create an index file if one of your sitemaps has more than 50,000 URLs. In this case, Django will automatically paginate the sitemap, and the index will reflect that. If you\u2019re not using the vanilla sitemap view \u2013 for example, if it\u2019s wrapped with a caching decorator \u2013 you must name your sitemap view and pass sitemap_url_name to the index view:<\/p>\n<p>from django.contrib.sitemaps import views as sitemaps_views<br>\nfrom django.views.decorators.cache import cache_page<\/p>\n<p>urlpatterns = [<br>\nurl(r&#8217;^sitemap\\.xml$&#8217;,<br>\ncache_page(86400)(sitemaps_views.index),<br>\n{&#8216;sitemaps&#8217;: sitemaps, &#8216;sitemap_url_name&#8217;: &#8216;sitemaps&#8217;}),<br>\nurl(r&#8217;^sitemap-(?P&lt;section&gt;.+)\\.xml$&#8217;,<br>\ncache_page(86400)(sitemaps_views.sitemap),<br>\n{&#8216;sitemaps&#8217;: sitemaps}, name=&#8217;sitemaps&#8217;),<br>\n]\n<h3>Template customization<\/h3>\n<p>If you wish to use a different template for each sitemap or sitemap index available on your site, you may specify it by passing a template_name parameter to the sitemap and index views via the URLconf:<\/p>\n<p>from django.contrib.sitemaps import views<\/p>\n<p>urlpatterns = [<br>\nurl(r&#8217;^custom-sitemap\\.xml$&#8217;, views.index, {<br>\n&#8216;sitemaps&#8217;: sitemaps,<br>\n&#8216;template_name&#8217;: &#8216;custom_sitemap.html&#8217;<br>\n}),<br>\nurl(r&#8217;^custom-sitemap-(?P&lt;section&gt;.+)\\.xml$&#8217;, views.sitemap, {<br>\n&#8216;sitemaps&#8217;: sitemaps,<br>\n&#8216;template_name&#8217;: &#8216;custom_sitemap.html&#8217;<br>\n}),<br>\n]\n<p><strong>Context variables<\/strong> &#8211; When customizing the templates for the index() and sitemap() views, you can rely on the following context variables.<\/p>\n<p><strong>Index<\/strong> &#8211; The variable sitemaps is a list of absolute URLs to each of the sitemaps.<br>\nSitemap &#8211; The variable urlset is a list of URLs that should appear in the sitemap. Each URL exposes attributes as defined in the Sitemap class:<\/p>\n<ul>\n<li>changefreq<\/li>\n<li>item<\/li>\n<li>lastmod<\/li>\n<li>location<\/li>\n<li>priority<\/li>\n<\/ul>\n<p>The item attribute has been added for each URL to allow more flexible customization of the templates, such as Google news sitemaps. Assuming Sitemap\u2019s items() would return a list of items with publication_data and a tags field something like this would generate a Google compatible sitemap:<\/p>\n<p>{% spaceless %}<br>\n{% for url in urlset %}<br>\n{{ url.location }}<br>\n{% if url.lastmod %}{{ url.lastmod|date:&#8221;Y-m-d&#8221; }}{% endif %}<br>\n{% if url.changefreq %}{{ url.changefreq }}{% endif %}<br>\n{% if url.priority %}{{ url.priority }}{% endif %}<\/p>\n<p>{% if url.item.publication_date %}{{ url.item.publication_date|date:&#8221;Y-m-d&#8221; }}{\\<br>\n% endif %}<br>\n{% if url.item.tags %}{{ url.item.tags }}{% endif %}<\/p>\n<p>{% endfor %}<br>\n{% endspaceless %}<\/p>\n<h3>Pinging Google<\/h3>\n<p>You may want to ping Google when your sitemap changes, to let it know to reindex your site. The sitemaps framework provides a function to do just that:<\/p>\n<p>django.contrib.syndication.ping_google() &#8211; ping_google() takes an optional argument, sitemap_url, which should be the absolute path to your site\u2019s sitemap (e.g., &#8216;\/sitemap.xml&#8217;). If this argument isn\u2019t provided, ping_google() will attempt to figure out your sitemap by performing a reverse looking in your URLconf. ping_google() raises the exception django.contrib.sitemaps.SitemapNotFound if it cannot determine your sitemap URL.<\/p>\n<p>One useful way to call ping_google() is from a model\u2019s save() method:<\/p>\n<p>from django.contrib.sitemaps import ping_google<\/p>\n<p>class Entry(models.Model):<br>\n# &#8230;<br>\ndef save(self, force_insert=False, force_update=False):<br>\nsuper(Entry, self).save(force_insert, force_update)<br>\ntry:<br>\nping_google()<br>\nexcept Exception:<br>\n# Bare &#8216;except&#8217; because we could get a variety<br>\n# of HTTP-related exceptions.<br>\npass<\/p>\n<p>A more efficient solution, however, would be to call ping_google() from a cron script, or some other scheduled task. The function makes an HTTP request to Google\u2019s servers, so you may not want to introduce that network overhead each time you call save().<\/p>\n<p>Pinging Google via manage.py &#8211; Once the sitemaps application is added to your project, you may also ping Google using the ping_google management command:<\/p>\n<p>python manage.py ping_google [\/sitemap.xml]\n\n\n<p><a href=\"https:\/\/www.vskills.in\/certification\/tutorial\/certified-django-developer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Back to Tutorial<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A sitemap is an XML file on your Web site that tells search engine indexers how frequently your pages change and how important certain pages are in relation to other pages on your site. This information helps search engines index your site. The Django sitemap framework automates the creation of this XML file by letting&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[8655],"tags":[8797],"class_list":["post-75751","page","type-page","status-publish","hentry","category-django-web-development","tag-the-sitemap-framework"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Sitemap Framework - Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Sitemap Framework - Tutorial\" \/>\n<meta property=\"og:description\" content=\"A sitemap is an XML file on your Web site that tells search engine indexers how frequently your pages change and how important certain pages are in relation to other pages on your site. This information helps search engines index your site. The Django sitemap framework automates the creation of this XML file by letting...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T08:47:16+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/\",\"name\":\"The Sitemap Framework - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"datePublished\":\"2020-01-20T06:28:10+00:00\",\"dateModified\":\"2024-04-12T08:47:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Sitemap Framework\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Sitemap Framework - Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/","og_locale":"en_US","og_type":"article","og_title":"The Sitemap Framework - Tutorial","og_description":"A sitemap is an XML file on your Web site that tells search engine indexers how frequently your pages change and how important certain pages are in relation to other pages on your site. This information helps search engines index your site. The Django sitemap framework automates the creation of this XML file by letting...","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T08:47:16+00:00","twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/","name":"The Sitemap Framework - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"datePublished":"2020-01-20T06:28:10+00:00","dateModified":"2024-04-12T08:47:16+00:00","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-sitemap-framework\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"The Sitemap Framework"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=75751"}],"version-history":[{"count":4,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75751\/revisions"}],"predecessor-version":[{"id":83373,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/75751\/revisions\/83373"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=75751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=75751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=75751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}