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 21:01:59 +08:00
committed by GitHub
parent b30ad64c5e
commit b18f792596
+2
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,