pid_list | Set the PageId where the output for sitemap beginns |
recursive | How deep you want to show the pages. 0 = all Levels Default: 0 |
domain | set the Domain on wich the sitemap is available If you don't enter a domain the request URI is default |
allowedDoktypes | Comma seperated Values (Default: 2,1) |
languageVar | set the name of the languageVar (Default: “L”) |
showLanguages | set the Languages ID's to show (Default: 0) – comma separated |
sitemap = PAGE
sitemap {typeNum = 200
10 >
10 < plugin.tx_weeaargooglesitemap_pi1
10.pid_list = 2
10.recursive = 0
10.allowedDoktypes = 2,1,4
10.domain = http://www.weeaar.com/
config {disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
}
}
To make the sitemap available under the URL http://domain.tld/sitemap.xml you have to configure your RealUrl. (changes are bold).
.
.
.
'fileName' => array(
'defaultToHTMLsuffixOnPrev'=>1,
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 104,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
'atom03.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'sitemap.xml' => array(
'keyValues' => array(
'type' => 200,
),
),
),
),
),
.
.
.
In the menupoint Web->GoogleSitemap you can change the priority and the change-frequenz of every page. Click on the page what you want change and select your favorite setting.
Since Version 0.3.3 it's possible to show newslinks in your sitemap.xml
If you wanna use this feature add to you TS Code following:
sitemap = PAGE
sitemap {typeNum = 200
10 >
10 < plugin.tx_weeaargooglesitemap_pi1
10.pid_list = 174
10.tt_news.single_page {1 = 221
1.pid_list = 222
2 = 214
2.pid_list = 213
}
10.tt_news {disabledParameter = day,month,year
}
}
tt_news.single_page.X | This is the singlepage pid from tt_news |
tt_news.single_page.X.pid_list | The News Storage Folder which contains your news |
tt_news.disabledParameter | Defined which parameter should don't display in the URL (important for archived news ) |
tt_news.single_page.X.cat_id_list | Show news in the categories only |
If exists more than one news page and folder you can configure it with tt_news.single_page.2 or .3 or .4 a.s.o.
Is not set the parameter “disabledParameter” the generated URL should looks like :
http://www.weeaar.com/projekte/typo3-extensions/patches/patches/archive/2007/february/article/flexform-getfield.html
if set the parameter “disabledParameter” to day,month,year the generated URL should looks like:
http://www.weeaar.com/projekte/typo3-extensions/patches/article/flexform-getfield.html
Since version 0.4.2 the news parameter publication_date will be shown (It's for Google News).
In version 0.4.2 it's possible to use the sitemap.org schema. To use the sitemap.org schema add following to your TS:
10.defaultCode = sitemap_org
It's possible to set to “google” or “sitemap_org”. The Default is: google
If you use sitemap_org, it's not possible the new Google News parameters.