forked from Netcentric/edge-delivery-abbott-astro-agentic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelix-query.yaml
More file actions
91 lines (91 loc) · 2.8 KB
/
helix-query.yaml
File metadata and controls
91 lines (91 loc) · 2.8 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
indices:
products:
target: /query-products.json
include:
- '/products/**'
properties:
name:
select: head > meta[property="og:title"]
value: attribute(el, "content")
brand:
select: head > meta[name="brand"]
value: attribute(el, "content")
label:
select: head > meta[name="badge"]
value: attribute(el, "content")
features:
select: "#features + ul > li"
values: textContent(el)
characteristics:
select: .characteristics > div > div:last-child
values: textContent(el)
specifications_variables:
select: .specifications > div > div:first-child
values: textContent(el)
specifications_values:
select: .specifications > div > div:last-child
values: textContent(el)
image:
select: head > meta[property="og:image"]
value: attribute(el, "content")
assets_zip:
select: head > meta[name="assets_zip"]
value: attribute(el, "content")
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
segments:
target: /query-segments.json
include:
- '/segments/**'
properties:
name:
select: head > meta[property="og:title"]
value: attribute(el, "content")
age:
select: h1 + p
value: textContent(el)
label:
select: h1 + p
value: textContent(el)
property:
select: "#property + ul > li"
values: textContent(el)
technology:
select: "#technology--channel-preferences + ul > li"
values: textContent(el)
education:
select: "#highest-education-work--finances + ul > li"
values: textContent(el)
transport:
select: "#transport--automotive + ul > li"
values: textContent(el)
description:
select: head > meta[property="og:description"]
value: attribute(el, "content")
image:
select: head > meta[property="og:image"]
value: attribute(el, "content")
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
regions:
target: /query-regions.json
include:
- '/regions/**'
properties:
name:
select: head > meta[property="og:title"]
value: attribute(el, "content")
image:
select: head > meta[property="og:image"]
value: attribute(el, "content")
label:
select: head > meta[name="badge"]
value: attribute(el, "content")
postalcodes:
select: "#postal-codes + ul > li"
values: textContent(el)
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")