diff --git a/src/routes/admin.tsx b/src/routes/admin.tsx index 334b791..f865d84 100644 --- a/src/routes/admin.tsx +++ b/src/routes/admin.tsx @@ -159,7 +159,7 @@ app.get("/login", (c) => { /> -

Email to RSS Admin

+

kill-the-news

{errorMessage && (
{errorMessage}
)} @@ -337,12 +337,10 @@ app.get("/", async (c) => { return c.html( -
+
-

Email to RSS Admin

+

kill-the-news

Manage your email newsletter feeds

@@ -469,11 +467,12 @@ app.get("/", async (c) => { - - - - - + + + + + + @@ -572,6 +571,24 @@ app.get("/", async (c) => { title="Resize" > + +
+ +
+
Actions
{ {feedsWithConfig.map((feed) => { const emailAddress = `${feed.id}@${env.DOMAIN}`; const rssUrl = `https://${env.DOMAIN}/rss/${feed.id}`; + const atomUrl = `https://${env.DOMAIN}/atom/${feed.id}`; const titleDisplay = clampText(feed.title, 160); const titleHover = clampText(feed.title, 1000); const sortTitle = titleHover.toLowerCase(); const sortFeedId = feed.id.toLowerCase(); const sortEmail = emailAddress.toLowerCase(); const sortRss = rssUrl.toLowerCase(); + const sortAtom = atomUrl.toLowerCase(); const descDisplay = clampText(feed.description || "", 220); const descHover = clampText(feed.description || "", 1000); const searchHaystack = @@ -606,6 +625,7 @@ app.get("/", async (c) => { data-sort-feed-id={sortFeedId} data-sort-email={sortEmail} data-sort-rss={sortRss} + data-sort-atom={sortAtom} >
{ + + +
+ Atom Feed: +
+ + {atomUrl} + +
+ + +
+
+