Fix and complete author element in Atom feed

This commit is contained in:
2025-04-30 12:22:16 +04:00
parent 7aebcfc43f
commit 038ce15908

View File

@@ -42,7 +42,9 @@ export async function profileAtomFeed(
<updated>${isoDate(lastUpdate)}</updated> <updated>${isoDate(lastUpdate)}</updated>
<icon>${profile.avatarImageUrl}</icon> <icon>${profile.avatarImageUrl}</icon>
<author> <author>
<name>${name}</name> <name>${profile.name}</name>
<uri>${profile.profileUrl}</uri>
<nostr:uri>nostr:${profile.nprofile}</nostr>
</author> </author>
${articlesXml} ${articlesXml}
</feed> </feed>