mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:43:45 -07:00
revert cdata
This commit is contained in:
parent
c765ca9c85
commit
226414ad12
1 changed files with 3 additions and 3 deletions
|
|
@ -21,16 +21,16 @@ export const GET: APIRoute = async ({ params, request }) => {
|
||||||
description: `A simple RSS feed for ComicK!`,
|
description: `A simple RSS feed for ComicK!`,
|
||||||
site: "https://github.com/ld3z/manga-rss",
|
site: "https://github.com/ld3z/manga-rss",
|
||||||
items: comics.map((comic) => ({
|
items: comics.map((comic) => ({
|
||||||
title: `<![CDATA[${comic.md_comics.title} - Chapter ${comic.chap}]]`,
|
title: `${comic.md_comics.title} - Chapter ${comic.chap}`,
|
||||||
link: `https://comick.io/comic/${comic.md_comics.slug}`,
|
link: `https://comick.io/comic/${comic.md_comics.slug}`,
|
||||||
pubDate: new Date(comic.updated_at),
|
pubDate: new Date(comic.updated_at),
|
||||||
description: `<![CDATA[Chapter ${comic.chap} of ${
|
description: `Chapter ${comic.chap} of ${
|
||||||
comic.md_comics.title
|
comic.md_comics.title
|
||||||
} is now available on ComicK!
|
} is now available on ComicK!
|
||||||
${
|
${
|
||||||
comic.md_comics.md_covers[0]
|
comic.md_comics.md_covers[0]
|
||||||
? `<img src="https://meo.comick.pictures/${comic.md_comics.md_covers[0].b2key}"
|
? `<img src="https://meo.comick.pictures/${comic.md_comics.md_covers[0].b2key}"
|
||||||
alt="Cover" style="max-width: 300px;" />]]`
|
alt="Cover" style="max-width: 300px;" />`
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue