From: xangelo Date: Sat, 27 Jan 2024 03:50:23 +0000 (-0500) Subject: add custom support for the register X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=3151d1a59b372dc9da3be2b0becc8880dfc6d8e3;p=river.git add custom support for the register --- diff --git a/src/server.ts b/src/server.ts index 9d987c0..83f1244 100644 --- a/src/server.ts +++ b/src/server.ts @@ -25,6 +25,9 @@ function contentExtractor(feed: FeedSchema, item): string { case 'Ars Technica Features': str = item.contentSnippet; break; + case 'The Register': + str = item.summary; + break; } str = str.replace(/<[^>]+>/g, '');