generated from adobecom/milo-college
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhelix-query.yaml
53 lines (51 loc) · 1.46 KB
/
helix-query.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
version: 1
indices:
website: &website
include:
- '/events/**'
target: /events/query-index.xlsx
properties:
title:
select: head > meta[property="og:title"]
value: |
attribute(el, 'content')
image:
select: head > meta[property="og:image"]
value: |
match(attribute(el, 'content'), 'https:\/\/[^/]+(\/.*)')
lastModified:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
shortTitle:
select: head > meta[name="short-title"]
value: |
attribute(el, 'content')
robots:
select: head > meta[name="robots"]
value: |
attribute(el, 'content')
include:
- '/events/fragments/consents/*'
target: /events/fragments/consents/consent-query-index.xlsx
properties:
countryCode:
select: head > meta[name="country-code"]
value: |
attribute(el, 'content')
countryName:
select: head > meta[name="country-name"]
value: |
attribute(el, 'content')
consentId:
select: head > meta[name="consent-id"]
value: |
attribute(el, 'content')
lastModified:
select: none
value: |
parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT')
robots:
select: head > meta[name="robots"]
value: |
attribute(el, 'content')