This commit is contained in:
parent
d3e908b2b0
commit
29e2fca2a5
4
feeds.ts
4
feeds.ts
@ -20,7 +20,7 @@ export async function profileAtomFeed(
|
|||||||
<id>${articleId}</id>
|
<id>${articleId}</id>
|
||||||
<title>${article.title}</title>
|
<title>${article.title}</title>
|
||||||
<link href="${article.url}" />
|
<link href="${article.url}" />
|
||||||
<link rel="alternate" type="application/nostr+json" href="nostr:${article.naddr}">
|
<link rel="alternate" type="application/nostr+json" href="nostr:${article.naddr}" />
|
||||||
<updated>${isoDate(article.updatedAt)}</updated>
|
<updated>${isoDate(article.updatedAt)}</updated>
|
||||||
<published>${isoDate(article.publishedAt)}</published>
|
<published>${isoDate(article.publishedAt)}</published>
|
||||||
<summary>${article.summary}</summary>
|
<summary>${article.summary}</summary>
|
||||||
@ -35,7 +35,7 @@ export async function profileAtomFeed(
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title>${profile.name} on Nostr (Articles)</title>
|
<title>${profile.name} on Nostr (Articles)</title>
|
||||||
<link rel="alternate" type="application/nostr+json" href="nostr:${profile.npub}">
|
<link rel="alternate" type="application/nostr+json" href="nostr:${profile.npub}" />
|
||||||
<id>${feedId}</id>
|
<id>${feedId}</id>
|
||||||
<updated>${isoDate(lastUpdate)}</updated>
|
<updated>${isoDate(lastUpdate)}</updated>
|
||||||
<icon>${profile.avatarImageUrl}</icon>
|
<icon>${profile.avatarImageUrl}</icon>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user