\Sitemap
Sitemap support for SilverStripe ================================
Extension to sitemap support SilverStripe
Usage: See README.md
License: MIT-style license http://opensource.org/licenses/MIT
Authors: Techno Joy development team (www.technojoy.co.nz)
Based on github.com/silverstripe-labs/silverstripe-googlesitemaps
Synopsis
class Sitemap
{
- // members
- private static boolean $include_sitetree = true;
- private static boolean $google_notifications = false;
- private static array $dataobjects = ;
- // methods
- public static void register_dataobject()
- public static null exclude_sitetree()
- public static null enable_google_notifications()
- public static boolean is_registered()
- public static null unregister_dataobject()
- public static string get_frequency_for_class()
- public static float get_priority_for_class()
- public static null init_sitetree()
- public static ArrayList get_sitemaps()
- public static ArrayList get_filtered_results()
- public static ArrayList get_items()
- public static string ping()
- protected static String send_ping()
Members
private
- $dataobjects
- $google_notifications
- $include_sitetree
Methods
protected
- send_ping() — Send an HTTP request to the host.
public
- enable_google_notifications() — Enable Google pings
- exclude_sitetree() — Do not include SiteTree
- get_filtered_results() — Return all filtered items in class Supports additional filtering (filter, where & exclude)
- get_frequency_for_class() — Returns the string frequency of edits for a particular dataobject class Frequency for {@link SiteTree} objects can be determined from the version history.
- get_items() — Return paginated results in class Only returns items that contain Link() Limited to 1000 results per page
- get_priority_for_class() — Returns the default priority of edits for a particular dataobject class
- get_sitemaps() — Return all sitemaps
- init_sitetree() — Automatically add SiteTree
- is_registered() — Is class already registered?
- ping() — Notifies Google about changes to your sitemap. This behavior is disabled by default, to enable, read the documentation provided in the docs folder.
- register_dataobject()
- unregister_dataobject() — Remove class from list