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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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