ZenphotoCMS 1.6.3

sitemap-extended.php

Generates individually sitemap.org compatible XML files for use with Google and other search engines.

It supports albums and images as well as optionally Zenpage pages, news articles and news categories. Sitemaps need to be generated via the button on the admin overview page and are cached as static files in the /%STATIC_CACHE_FOLDER%/sitemap/ folder. Individual sitemaps are generated for all of the above item types as well as a sitemapindex file. Album sitemaps are split into individual sitemaps per album (incl. all albums pages) and image sitemaps into individual sitemaps per album.

Based on the plugin by Jeppe Toustrup (Tenzer) http://github.com/Tenzer/zenphoto-sitemap

The sitemapindex file can be referenced via www.yourdomain.com/zenphoto/index.php?sitemap or with modrewrite www.yourdomain.com/zenphoto/?sitemap.

IMPORTANT: A multilingual sitemap requires the dynamic-locale plugin and either the seo_locale plugin or language subdomains.

Tags
author

Malte Müller (acrylian), Jeppe Toustrup (Tenzer), timo, Blue Dragonfly and Francois Marechal (frankm)

Table of Contents

Classes

sitemapOptions
Plugin option handling class
sitemap
Sitemap class

Constants

GOOGLE_SITEMAP  = \getOption('sitemap_google')
SITEMAP_CHUNK  = \getOption('sitemap_processing_chunk')
SITEMAP_LOCALE_TYPE  = 0

Constants

GOOGLE_SITEMAP

public mixed GOOGLE_SITEMAP = \getOption('sitemap_google')

SITEMAP_CHUNK

public mixed SITEMAP_CHUNK = \getOption('sitemap_processing_chunk')

        
On this page

Search results