Skip to content

Commit dfbbaee

Browse files
committed
remove truncation and use full text
1 parent 7c79d6a commit dfbbaee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/generate-rss.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ async function main() {
1818
});
1919

2020
for (const post of posts) {
21-
const plain = post.body.html.replace(/<[^>]*>/g, "").replace(/\s+/g, " ").trim();
2221
feed.item({
2322
title: post.title,
24-
description: plain.length > 250 ? plain.slice(0, 250) + "..." : plain,
23+
description: post.body.html.replace(/<[^>]*>/g, "").replace(/\s+/g, " ").trim(),
2524
url: `${SITE_URL}${post.url}`,
2625
author: post.author || "IntelOwl Project",
2726
date: new Date(post.date),

0 commit comments

Comments
 (0)