-
Notifications
You must be signed in to change notification settings - Fork 6
/
services.yaml
69 lines (64 loc) · 2.17 KB
/
services.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
parameters:
oxid_ivoba.sitemap.lower_urls: true
services:
_defaults:
autowire: true
IvobaOxid\OxidSiteMap\Entity\Config:
arguments:
$filepath: '@=service("OxidEsales\\Eshop\\Core\\Config").getConfigParam("sShopDir")'
$filename: 'sitemap.xml'
$shopUrl: '@=service("OxidEsales\\Eshop\\Core\\Config").getConfigParam("sShopURL")'
$langParams: '@=service("OxidEsales\\Eshop\\Core\\Config").getConfigParam("aLanguageParams")'
IvobaOxid\OxidSiteMap\Query\HomePage:
arguments:
$hierarchy: '0.8'
$changefreq: 'weekly'
IvobaOxid\OxidSiteMap\Query\Categories:
arguments:
$hierarchy: '0.8'
$changefreq: 'weekly'
IvobaOxid\OxidSiteMap\Query\HiddenCategories:
arguments:
$hierarchy: '0.8'
$changefreq: 'weekly'
IvobaOxid\OxidSiteMap\Query\Cms:
arguments:
$hierarchy: '0.1'
$changefreq: 'weekly'
IvobaOxid\OxidSiteMap\Query\Tags:
arguments:
$hierarchy: '0.1'
$changefreq: 'weekly'
IvobaOxid\OxidSiteMap\Query\Products:
arguments:
$hierarchy: '1.0'
$changefreq: 'daily'
# IvobaOxid\OxidSiteMap\Query\Variants:
# arguments:
# $hierarchy: '1.0'
# $changefreq: 'daily'
IvobaOxid\OxidSiteMap\Filter\UrlFilter:
arguments:
$shopUrl: '@=service("OxidEsales\\Eshop\\Core\\Config").getConfigParam("sShopURL")'
$urls:
- '/AGB/'
IvobaOxid\OxidSiteMap\SiteMapGenerator:
public: true
arguments:
$config: '@IvobaOxid\OxidSiteMap\Entity\Config'
$queries:
- '@IvobaOxid\OxidSiteMap\Query\HomePage'
- '@IvobaOxid\OxidSiteMap\Query\Categories'
- '@IvobaOxid\OxidSiteMap\Query\HiddenCategories'
- '@IvobaOxid\OxidSiteMap\Query\Cms'
- '@IvobaOxid\OxidSiteMap\Query\Tags'
- '@IvobaOxid\OxidSiteMap\Query\Products'
# - '@IvobaOxid\OxidSiteMap\Query\Variants'
$lowerUrls: '%oxid_ivoba.sitemap.lower_urls%'
$filters:
- '@IvobaOxid\OxidSiteMap\Filter\UrlFilter'
IvobaOxid\OxidSiteMap\Commands\SiteMapCommand:
class: IvobaOxid\OxidSiteMap\Commands\SiteMapCommand
public: true
tags:
- { name: 'console.command', command: 'ivoba-oxid:sitemap:generate' }