From 34fea952b296b237985a1f7e5061b644f6278cf3 Mon Sep 17 00:00:00 2001 From: Timm Heuss Date: Tue, 16 Dec 2025 11:07:47 +0000 Subject: [PATCH 1/3] feat: Add microsoft.com --- .../configs/microsoft.com/azure-products.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/html2rss/configs/microsoft.com/azure-products.yml diff --git a/lib/html2rss/configs/microsoft.com/azure-products.yml b/lib/html2rss/configs/microsoft.com/azure-products.yml new file mode 100644 index 0000000..6d5b0b3 --- /dev/null +++ b/lib/html2rss/configs/microsoft.com/azure-products.yml @@ -0,0 +1,13 @@ +channel: + url: https://azure.microsoft.com/en-us/products + language: en +selectors: + items: + selector: ".card-body" + title: + selector: ".h5" + link: # <-- html2rss v0.17.0 does not seem to work with url here + selector: ".link-group a:first-of-type" + extractor: "href" + description: + selector: "p" \ No newline at end of file From e6f4843e36c9c0c3fa8d63ccdc371b57335473e4 Mon Sep 17 00:00:00 2001 From: Gil Desmarais Date: Fri, 2 Jan 2026 12:16:33 +0100 Subject: [PATCH 2/3] dev: change link key to url --- lib/html2rss/configs/microsoft.com/azure-products.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/html2rss/configs/microsoft.com/azure-products.yml b/lib/html2rss/configs/microsoft.com/azure-products.yml index 6d5b0b3..cafe6c8 100644 --- a/lib/html2rss/configs/microsoft.com/azure-products.yml +++ b/lib/html2rss/configs/microsoft.com/azure-products.yml @@ -6,8 +6,8 @@ selectors: selector: ".card-body" title: selector: ".h5" - link: # <-- html2rss v0.17.0 does not seem to work with url here + url: selector: ".link-group a:first-of-type" extractor: "href" description: - selector: "p" \ No newline at end of file + selector: "p" From 3feed1547f43ed2ec0feaa0a955ae91984d92104 Mon Sep 17 00:00:00 2001 From: Gil Desmarais Date: Fri, 2 Jan 2026 14:59:55 +0100 Subject: [PATCH 3/3] fix: set ttl and time_zone --- lib/html2rss/configs/microsoft.com/azure-products.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/html2rss/configs/microsoft.com/azure-products.yml b/lib/html2rss/configs/microsoft.com/azure-products.yml index cafe6c8..27eb9cb 100644 --- a/lib/html2rss/configs/microsoft.com/azure-products.yml +++ b/lib/html2rss/configs/microsoft.com/azure-products.yml @@ -1,6 +1,8 @@ channel: url: https://azure.microsoft.com/en-us/products language: en + time_zone: US/Pacific + ttl: 3600 selectors: items: selector: ".card-body"