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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjan26-sitemap-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 e7d28af840564b5b667f96037a9165338bcf771e5d241d9b12d75e03b36a6206
MD5 04f7183be9117e8aeb6b170259979328
BLAKE2b-256 afa07edeec6998e4ed357db5411c840a9ee7be93c4dafe239299360ee5cbf55f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjan26_sitemap-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ae3cef08e9b7a4ef75e9f2c47eb274141ed2f2ed5b075d91687ac4140950bcb
MD5 d95db12af34bf6e1e4b0272da4af3ec7
BLAKE2b-256 4ad839f731dfba49c906b070294e22cbce3a0d4e70afcce49bdcba1858c9e82d

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