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.8.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.8.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjan26-sitemap-0.8.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.8.0.tar.gz
Algorithm Hash digest
SHA256 9cbc3ad09f76f238a8eff2a3341c090d90cd5d8d4868241c7ee2b5f869b94d87
MD5 ec16a26ad2ecd27cca00e92f2d493fbd
BLAKE2b-256 b12080a3f6e7d071602a55273bcb6d62f2abdd77a400a38d5dbbe7af31903f27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjan26_sitemap-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b75c5666fc175e56e8ca234bd886830173b961ff9b9f382380fb5b9f0e665815
MD5 5bada1d29b9156980348b4bf9d6b0220
BLAKE2b-256 8f6b1a5dd0a7d4e1b9ebb059003839e3dc70e2b874962618ddf28ac1cbf3cb9f

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