diff --git a/admin/src/app/official-accounts/page.tsx b/admin/src/app/official-accounts/page.tsx
index aa6f040..0a3c594 100644
--- a/admin/src/app/official-accounts/page.tsx
+++ b/admin/src/app/official-accounts/page.tsx
@@ -62,9 +62,9 @@ function ModelSelector({ value, onChange, className }: { value: string; onChange
}
const DEFAULT_NEWS_SOURCES = [
- { name: 'NPR', rss_url: 'https://feeds.npr.org/1001/rss.xml', enabled: true },
- { name: 'AP News', rss_url: 'https://rsshub.app/apnews/topics/apf-topnews', enabled: true },
- { name: 'Bring Me The News', rss_url: 'https://bringmethenews.com/feed', enabled: true },
+ { name: 'NPR', site: 'npr.org', enabled: true },
+ { name: 'AP News', site: 'apnews.com', enabled: true },
+ { name: 'Bring Me The News', site: 'bringmethenews.com', enabled: true },
];
const DEFAULT_NEWS_PROMPT = `You are a news curator for Sojorn, a social media platform. Your job is to write brief, engaging social media posts about news articles.
@@ -91,7 +91,8 @@ Rules:
interface NewsSource {
name: string;
- rss_url: string;
+ site?: string;
+ rss_url?: string;
enabled: boolean;
}
@@ -351,7 +352,8 @@ export default function OfficialAccountsPage() {
@@ -489,14 +491,14 @@ function CreateAccountForm({ onDone, initialProfile }: { onDone: () => void; ini
{ const n = [...newsSources]; n[i] = { ...n[i], name: e.target.value }; setNewsSources(n); }}
className="w-32 px-2 py-1 border border-warm-300 rounded text-sm" />
- { const n = [...newsSources]; n[i] = { ...n[i], rss_url: e.target.value }; setNewsSources(n); }}
+ { const n = [...newsSources]; n[i] = { ...n[i], site: e.target.value }; setNewsSources(n); }}
className="flex-1 px-2 py-1 border border-warm-300 rounded text-sm font-mono" />
))}
-