# default configuration to show a sitemap.xml for tx_news records #
plugin.tx_csseo.sitemap {
	extensions {
		# configuration for an extension
		news {
			# string; the table name where the records are stored
			table = tx_news_domain_model_news

			# string; will be attached to the typolink, more params are possible, the last one is the record param
			additionalParams = tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]

			# boolean; use cHash on url creation
			useCacheHash = 1

			# string; add custom query options : title LIKE '%top%'
			additionalWhereClause = tx_news_domain_model_news.type=0

			# comma separated list; page uid where are the records stored
			storagePid = {$plugin.tx_csseo.sitemap.extensions.news.storagePid}

			# int; extend the storage pid by a recursive level
			recursive = {$plugin.tx_csseo.sitemap.extensions.news.recursive}

			# int; page uid where the details are shown
			detailPid = {$plugin.tx_csseo.sitemap.extensions.news.detailPid}

			# comma separated list; configure the available languages, e.g.: 0,1
			languageUids = {$plugin.tx_csseo.sitemap.extensions.news.languageUids}

			# comma separated list; display only records with this categories
			categories = {$plugin.tx_csseo.sitemap.extensions.news.categories}

			# string; if categories were saved in the same table, set here the field name
			categoryField =

			# string; if categories were saved in a MM-Table set here the name of the table
			categoryMMTable = sys_category_record_mm

			# boolean; true if the MM table has a column 'tablenames' which contains the current record table
			categoryMMTablenames = 1

			# string; if set the column 'fieldname' of the MM-table must be this
			categoryMMFieldname = categories

			# string; set here the name of the category table, required if categoryDetailPidField is used
			categoryTable = sys_category

			# string; if set the name of detail pid column of the category must be this
			categoryDetailPidField = single_pid
		}
	}
}
