Attic is a cozy space with lofty ambitions. attic.social
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

bookmark rss fixes

+6 -2
+1
src/css/components/bookmark.css
··· 8 8 display: flex; 9 9 flex-wrap: wrap; 10 10 justify-content: space-between; 11 + row-gap: 20px; 11 12 12 13 & > button { 13 14 margin-block: -9px;
+5 -2
src/routes/bookmarks/[did=did]/rss/+server.ts
··· 1 1 import { resolvePDS } from "$lib/atproto"; 2 - import { reEscape } from "$lib/escape"; 2 + import { escape, reEscape } from "$lib/escape"; 3 3 import type { BookmarkEntity } from "$lib/types"; 4 4 import { 5 5 type ActorProfileData, ··· 30 30 props: Record<string, string>, 31 31 ) => (` <entry> 32 32 <title>${reEscape(props.title)}</title> 33 - <link rel="alternate">${props.link}</link> 33 + <link rel="alternate" href="${props.link}"/> 34 34 <id>${props.id}</id> 35 35 <updated>${props.updated}</updated> 36 + <content type="html">${ 37 + escape(`<a href="${props.link}">${reEscape(props.title)}</a>`) 38 + }</content> 36 39 </entry>`); 37 40 38 41 export const GET: RequestHandler = async ({ params, url }) => {