sitemap generator
Project description
Installation
$ [sudo] pip install sitemap42
Examples
from sitemap42 import Sitemap
sitemap = Sitemap()
sitemap.append('https://domain.com/page1', )
sitemap.append('https://domain.com/page2', changefreq='daily', priority=0.5, lastmod=datetime.now())
sitemap.tostring()
sitemap.write('sitemap.xml')
from sitemap42 import Sitemapindex
sitemapindex = Sitemap()
sitemapindex.append('https://domain.com/sitemap1.xml')
sitemapindex.append('https://domain.com/sitemap2.xml', lastmod=datetime.now())
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sitemap42-2021.1.17.tar.gz
(2.0 kB
view hashes)