Skip to main content

A pyjan26 plugin to generate dynamic sitemaps

Project description

Sitemap

This plugin generates a dynamic sitemap for projects built w Pyjan26. It creates a sitemap XML file annd integrates custom collections into the sitemap

Setup

  1. Install the plugin
pip install pyjan26-sitemap
  1. Add to your settings.py
PLUGIN_MODULES = [
    'pyjan26-repeat.repeat_page',
     ...
]

SITE_NAME = 'https://example.com'
SITEMAPE_CONFIG = [
	{'collection': 'articles', 'changefreq': 'daily', 'priority': 1.0}
] 

Output

Sitemap saved at

<output_dir>/sitemap.xml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyjan26-sitemap-0.6.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyjan26_sitemap-0.6.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pyjan26-sitemap-0.6.0.tar.gz.

File metadata

  • Download URL: pyjan26-sitemap-0.6.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.8

File hashes

Hashes for pyjan26-sitemap-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a00da61f05edf351d00c94747d35ecf71a76cc3c2d73a1f8fb8eb56f1da58bb7
MD5 8d4bdea2a868b0395b3670104c152d37
BLAKE2b-256 92b38bac8ed11bf062068a84c2d011b35b4866f67b8f4cb31ae33e9c98156cb8

See more details on using hashes here.

File details

Details for the file pyjan26_sitemap-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyjan26_sitemap-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2547f7704029efa269fd6f2abc0cf7ee743c2303cd59f4105312ba88e8199fa8
MD5 63fdadd8f329f8d7a03f7f578adea49c
BLAKE2b-256 aa1fd79d3fe6585e225139197e2f89554f4e3650fc6a903a7afa209bc2106537

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page