Skip to main content

django CMS page extension to handle sitemap customization

Project description

Latest PyPI version Latest Travis CI build status Monthly downloads Test coverage

django CMS page extension to handle sitemap customization

Quickstart

  • Install djangocms-page-sitemap:

    pip install djangocms-page-sitemap
  • Add to INSTALLED_APPS with django.contrib.sitemaps:

    INSTALLED_APPS = [
        ...
        'django.contrib.sitemaps',
        'djangocms_page_meta',
    ]
  • Add to the urlconf, eventually removing django CMS sitemap:

    from djangocms_page_sitemap.sitemap import ExtendedSitemap
    
    urlpatterns = patterns('',
        ...
        url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': {'cmspages': ExtendedSitemap}}),
    )

Features

  • Support for changefreq and priority customisation per-page

  • Values are cached

  • django CMS toolbar integration

History

0.1.0 (2014-08-26)

  • Initial version.

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

djangocms-page-sitemap-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

djangocms_page_sitemap-0.1.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file djangocms-page-sitemap-0.1.0.tar.gz.

File metadata

File hashes

Hashes for djangocms-page-sitemap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 185e70d594fb2dc7286d67612468e6092d37b498a46b461525927dadd35ed907
MD5 3b83650b09c331d007a7212742a36583
BLAKE2b-256 377e0afef091be813552299672c6dd830a9c23d84e94941d511ffac32929e146

See more details on using hashes here.

File details

Details for the file djangocms_page_sitemap-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_page_sitemap-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 90d2106b1af9e38ebbf79b05691136aee35b895e1f861b56b313be423aeaef2d
MD5 0ac098432768f5a771f433f8ac678bda
BLAKE2b-256 839821ec96f177c195b4f8f82e683350e7034d367b0e30c77e906269b435299d

See more details on using hashes here.

Supported by

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