fix(route/apple): add guid to items (#19760)

* fix: add guid to items

* fix: reduce the number of feed items

* Revert "fix: reduce the number of feed items"
This commit is contained in:
L 2025-08-06 14:01:59 +01:00 committed by GitHub
parent b30ad64c5e
commit b18f792596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { Route } from '@/types';
import { parseDate } from '@/utils/parse-date';
import ofetch from '@/utils/ofetch';
import md5 from '@/utils/md5';
import { load } from 'cheerio';
export const route: Route = {
@ -37,6 +38,7 @@ async function handler() {
return {
description,
guid: md5(`${title}${description}${date}`),
link,
pubDate: parseDate(date),
title,