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-sitemap.sitemap',
     ...
]

SITE_NAME = 'https://example.com'
SITEMAP_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.9.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.9.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjan26-sitemap-0.9.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.9.0.tar.gz
Algorithm Hash digest
SHA256 ffa066fa2c0655ed434bf596ca61b8f27ea5d8188a8108afe6b058711b21fa29
MD5 17bca7ced2f60fa9a397876884e821c0
BLAKE2b-256 bbe728a92dd1e79947ffdc1887852ff50d110c8c39b17ed725c68521cf19cc3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjan26_sitemap-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6feb1be75743cc0385b176ad343d285349de33411b73fbbc4f3899db0452dd7b
MD5 c3a0a1bb0909313af79045ec9931401e
BLAKE2b-256 3ac74aee2406e67d9e91f748b61441c958c31514b2356865ab8baed4e8163e5a

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