From 92d96604a224443b21886d7190a99e9a94039d0c Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Tue, 12 Dec 2023 13:59:07 +0530 Subject: [PATCH 1/3] husbpot sitemap --- helix-sitemap.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/helix-sitemap.yaml b/helix-sitemap.yaml index 7a64c5241..346a2dc4e 100644 --- a/helix-sitemap.yaml +++ b/helix-sitemap.yaml @@ -8,4 +8,9 @@ sitemaps: origin: https://www.moleculardevices.com source: /sites/default/files/query-index.json destination: /files-sitemap.xml - lastmod: YYYY-MM-DD \ No newline at end of file + lastmod: YYYY-MM-DD + hubspot: + origin: https://www.moleculardevices.com + source: /sites/default/files/husbpot/query-index.json + destination: /hubspot-sitemap.xml + lastmod: YYYY-MM-DD \ No newline at end of file From 4535ff924beb83e3a3c8b7625d7721d0f03673c4 Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Tue, 12 Dec 2023 14:02:03 +0530 Subject: [PATCH 2/3] husbpot sitemap 1 --- helix-sitemap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-sitemap.yaml b/helix-sitemap.yaml index 346a2dc4e..0849b6333 100644 --- a/helix-sitemap.yaml +++ b/helix-sitemap.yaml @@ -11,6 +11,6 @@ sitemaps: lastmod: YYYY-MM-DD hubspot: origin: https://www.moleculardevices.com - source: /sites/default/files/husbpot/query-index.json + source: /sites/default/files/hubspot/query-index.json destination: /hubspot-sitemap.xml lastmod: YYYY-MM-DD \ No newline at end of file From dd093d65b600bf894c03017c3e2fcab0bcf4294c Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Tue, 12 Dec 2023 14:21:56 +0530 Subject: [PATCH 3/3] add values dynamically --- helix-query.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/helix-query.yaml b/helix-query.yaml index 0174c0d5f..d5e9536fc 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -182,3 +182,14 @@ indices: lastModified: select: none value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT") + hubspot: + include: + - '/en/assets/newsletters/**' + target: /sites/default/files/hubspot/query-index.json + properties: + path: + select: head > meta[name="gated-url"] + value: attribute(el, "content") + lastModified: + select: none + value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")