Add content to atom feed
Tim Izzo tim@octree.ch
Sun, 20 Nov 2022 18:17:20 +0100
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
generator/atom.ts
→
generator/atom.ts
@@ -30,6 +30,10 @@ name: item.attributedTo.name,
uri: item.attributedTo.url, email: item.attributedTo.email, }, + content: { + '@type': 'html', + '#text': item.content + }, link: { "@href": item.url, "@rel": "alternate",