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
- Install the plugin
pip install pyjan26-sitemap
- 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
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
pyjan26-sitemap-0.8.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cbc3ad09f76f238a8eff2a3341c090d90cd5d8d4868241c7ee2b5f869b94d87
|
|
| MD5 |
ec16a26ad2ecd27cca00e92f2d493fbd
|
|
| BLAKE2b-256 |
b12080a3f6e7d071602a55273bcb6d62f2abdd77a400a38d5dbbe7af31903f27
|
File details
Details for the file pyjan26_sitemap-0.8.0-py3-none-any.whl.
File metadata
- Download URL: pyjan26_sitemap-0.8.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b75c5666fc175e56e8ca234bd886830173b961ff9b9f382380fb5b9f0e665815
|
|
| MD5 |
5bada1d29b9156980348b4bf9d6b0220
|
|
| BLAKE2b-256 |
8f6b1a5dd0a7d4e1b9ebb059003839e3dc70e2b874962618ddf28ac1cbf3cb9f
|