The sitemap framework
The sitemap framework
Django comes with a high-level sitemap-generating framework that makes creating sitemap XML files easy.
Overview
A sitemap is an XML file on your website 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 you express this information in Python code.
It works much like Django’s syndication framework. To create a sitemap, just write a 登录查看完整内容