fixed the feed

This commit is contained in:
ld3zian 2025-01-28 18:34:35 -07:00
parent 40552e471c
commit 6ca77cf6af
2 changed files with 4 additions and 2 deletions

View file

@ -42,13 +42,14 @@ export const GET: APIRoute = async ({ params, request }) => {
language: lang,
copyright: "All rights reserved",
updated: new Date(),
generator: 'ComicK RSS Generator',
});
chapters.forEach((chapter) => {
const chapterUrl = `https://comick.io/comic/${chapter.md_comics.slug}`;
feed.addItem({
title: `${chapter.md_comics.title} - Chapter ${chapter.chap}`,
id: `urn:comick:${chapter.md_comics.slug}:${chapter.chap}`,
id: `${chapter.md_comics.slug}-${chapter.chap}`,
link: chapterUrl,
description: `
<div>