Skip to content

Commit

Permalink
add consent-query-index
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Jan 13, 2025
1 parent e8cfc10 commit e078450
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,28 @@ indices:
select: head > meta[name="robots"]
value: |
attribute(el, 'content')
include:
- '/events/fragments/consents/*'
target: /events/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')

0 comments on commit e078450

Please sign in to comment.