fix: use article link as post body for RSS posts, card shows title
This commit is contained in:
parent
ecf3fd0271
commit
1064f3e284
|
|
@ -474,8 +474,8 @@ func (s *OfficialAccountsService) PostNextArticle(ctx context.Context, configID
|
||||||
var body string
|
var body string
|
||||||
switch cfg.AccountType {
|
switch cfg.AccountType {
|
||||||
case "rss":
|
case "rss":
|
||||||
// Post the title — the link preview card handles the URL display
|
// Post the link — renders as small clickable text; the link preview card shows the title/description
|
||||||
body = art.Title
|
body = art.Link
|
||||||
case "news":
|
case "news":
|
||||||
// Generate AI commentary
|
// Generate AI commentary
|
||||||
rssItem := &RSSItem{
|
rssItem := &RSSItem{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue