chore: feed consistency
This commit is contained in:
parent
4a677a9ca2
commit
6c889dc592
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ module.exports = async function () {
|
|||
return {
|
||||
title: item['title'],
|
||||
date: item['pubDate'],
|
||||
summary: item['description'],
|
||||
description: item['contentSnippet'],
|
||||
url: item['link'],
|
||||
id: item['guid'],
|
||||
type: 'article',
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = async function () {
|
|||
return {
|
||||
title: item['title'],
|
||||
date: item['pubDate'],
|
||||
summary: item['contentSnippet'],
|
||||
description: item['contentSnippet'],
|
||||
image: images.length
|
||||
? images
|
||||
.map((image) => image.replace(/.*src="([^"]*)".*/, '$1'))[0]
|
||||
|
|
Reference in a new issue