Dynamic Sitemaps

Tags: sitemaps , XML Posted by davidjnevin on Feb. 6, 2023, 8 p.m.

Using django.contrib.sites and django.contrib.sitemaps APPs the blog dynamically generates an XML sitemap available at /sitemap.xml for each post when it is published.

The blog contains a RSS feed created out of a LatestPosts class accessed through the blog/feed/

Similar posts:

There are no similar posts yet.

0 comments

There are no comments yet.

Add a new comment