PHP Classes

File: resources/en.sitemap.ini

Recommend this page to a friend!
  Classes of Kristo Vaher   Wave Framework   resources/en.sitemap.ini   Download  
File: resources/en.sitemap.ini
Role: Auxiliary data
Content type: text/plain
Description: Sitemap Configuration
Class: Wave Framework
MVC framework for building Web sites and APIs
Author: By
Last change: Update of resources/en.sitemap.ini
Date: 9 months ago
Size: 4,368 bytes
 

Contents

Class file image Download
; MyProjectNameHere <http://www.example.com> ; Sitemap Declaration ; ; Sitemap is an INI file that defines all the URL's for all the languages - with one sitemap ; file per language - and these files are used by the URL Controller to find a match in URL ; and apply a number of settings to the page. Sitemap has groups that act as URL keywords, ; separated by forward slash '/' characters. URL nodes can also be dynamic and include a ; regular expression or fixed list. ; ; Reference for dynamic URL nodes: ; * :numeric: - Numbers only ; * :numeric:1-20 - Numbers with the range of 1-20 ; * :alpha: - Letters only ; * :alpha:1-10 - Letter string with the length of 1-10 characters ; * :alphanumeric: - Letters and numbers only ; * :alphanumeric:1-10 - Letters and numbers with the length of 1-10 characters ; * :fixed:a,b,c - Fixed value from the comma-separated list ; * :any: - Allows for any character string, except '/' which is the node separator ; * :any:/^[a-zA-Z0-9]*$/u - After ':any:' key you can write a regular expression for matched characters ; ; Reference for URL settings ; * view - View file to be loaded from /views/view.{view}.php ; * meta-title - View controller appends this to Meta title of the page ; * meta-description - Meta description string loaded for this view ; * meta-keywords - List of meta keywords loaded for this view ; * subview - This allows to categorize the same view file under different categories ; * robots - This allows to overwrite default robots setting from configuration ; * temporary-redirect - This tells URL controller to redirect requests made to this URL ; * permanent-redirect - This tells URL controller to permanently redirect requests made to this URL ; * cache-timeout - Time in seconds about how long cache exists for requests made to this URL ; * cache-tag - If cache is written for this page load, then cache-tag is added ; * cache-tag-dynamic - If dynamic URL will be added to cache tag (dynamic cache tag will convert slashes to dashes) ; * permissions - Single or comma separated list of user permissions that are checked from sessions ; * controller - View Controller that is loaded, default is 'view' ; * controller-method - This is the controller method that is called to load the frame of the View, default is 'load' ; * view-method - This is the view method that is called for this view, default is 'render' ; * header - Header that will be sent when on this page ; * hidden - True or false value about whether this URL will be hidden from sitemap.xml generation ; * priority - Value from 0.0 to 1.0, used for sitemap.xml generation ; * change-frequency - Value of 'always','hourly','daily','weekly','monthly','yearly','never' for sitemap.xml ; * last-modified - Time in YYYY-MM-DD format for the last time content of this page was modified, for sitemap.xml ; * frame-permissions - Either 'deny' or 'sameorigin', whether URL can be loaded from within a frame ; * content-security-policy - This is a content security policy rule, if it is set then it overwrites configuration ; * additional-php - This is a comma-separated list of PHP scripts loaded from /resources/scripts/ directory ; * additional-js - This is a comma-separated list of JavaScript files loaded from /resources/scripts/ directory ; * additional-css - This is a comma-separated list of additional CSS files to be loaded from /resources/styles/ directory ; * external-js - This is a comma-separated list of URL's where additional JavaScript is loaded from, such as external libraries ; * external-css - This is a comma-separated list of URL's where additional stylesheets are loaded from, such as external libraries ; * appcache - If set to 1, the URL will be served with cache manifest either from root or with Appcache Handler ; * user-agent - This is a regular expression match that is used against user agent when this URL is accessed ; * return-type - If this is set, then view itself is not loaded and defined controller and method are accessed directly ; ; @package URL Controller ; @author DeveloperNameHere <email@example.com> ; @copyright Copyright (c) 2012, ProjectOwnerNameHere ; @license Unrestricted ; @tutorial /doc/pages/guide_url.htm ; @since 1.0.0 ; @version 1.0.0 [home] view="home" meta-title="Home!" [example] view="example" [redirecter] temporary-redirect="http://www.google.com"