Home
/
river.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30bb809
)
add custom support for the register
author
xangelo
<me@xangelo.ca>
Sat, 27 Jan 2024 03:50:23 +0000
(22:50 -0500)
committer
xangelo
<me@xangelo.ca>
Sat, 27 Jan 2024 03:50:23 +0000
(22:50 -0500)
src/server.ts
patch
|
blob
|
history
diff --git
a/src/server.ts
b/src/server.ts
index 9d987c0ad2835f87f774e617faab2b722fe51462..83f1244bf159102f44622f06f1b0139f1ab6a7ad 100644
(file)
--- 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, '');