Test: Default templates use platform-specific placeholders #178

Open
opened 2026-06-23 16:31:15 +00:00 by jmiller · 0 comments
Owner

Test Steps

Verify the default templates in install.mysql.sql use the correct platform-specific placeholders.

Social Platforms (use {social})

  • Facebook: {social}\n\n{url}
  • LinkedIn: {social}\n\n{url}\n\n{hashtags}
  • Threads: {social}\n\n{url}
  • Mastodon: {social}\n\n{url}\n\n{hashtags}
  • Instagram: {social}\n\n{hashtags}
  • YouTube: {social}\n\n{url}
  • Medium: {title}\n\n{social}\n\n{url}
  • Pinterest: {title} - {social}

Short Platforms (use {short})

  • Twitter/X: {short}\n\n{url}
  • Bluesky: {short}\n\n{url}
  • Ntfy: {title}: {short}

Chat Platforms (use {chat})

  • Telegram: <b>{title}</b>\n\n{chat}\n\n<a href="{url}">Read more</a>
  • Discord: **{title}**\n\n{chat}\n\n{url}
  • Slack: *{title}*\n\n{chat}\n\n{url}
  • Teams: **{title}**\n\n{chat}\n\n[Read more]({url})

Email Platforms (use {email_subject}/{email_body})

  • Mailchimp: <h1>{email_subject}</h1>\n{email_body}\n<p><a href="{url}">Read more</a></p>
  • SendGrid: same pattern as Mailchimp
  • Brevo: same pattern as Mailchimp

Generic (use {introtext})

  • Default: {title}\n\n{introtext}\n\n{url}
  • WordPress: {title}\n\n{introtext}\n\n{url}
  • Webhook: {title}\n\n{introtext}\n\n{url}
  • Reddit: {title}

Fallback Behavior

  • When Share Content fields are empty, {social} falls back to intro text
  • {short} falls back to truncated title
  • {chat} falls back to intro text
  • {email_subject} falls back to title
  • {email_body} falls back to fulltext
## Test Steps Verify the default templates in install.mysql.sql use the correct platform-specific placeholders. ### Social Platforms (use {social}) - [ ] Facebook: `{social}\n\n{url}` - [ ] LinkedIn: `{social}\n\n{url}\n\n{hashtags}` - [ ] Threads: `{social}\n\n{url}` - [ ] Mastodon: `{social}\n\n{url}\n\n{hashtags}` - [ ] Instagram: `{social}\n\n{hashtags}` - [ ] YouTube: `{social}\n\n{url}` - [ ] Medium: `{title}\n\n{social}\n\n{url}` - [ ] Pinterest: `{title} - {social}` ### Short Platforms (use {short}) - [ ] Twitter/X: `{short}\n\n{url}` - [ ] Bluesky: `{short}\n\n{url}` - [ ] Ntfy: `{title}: {short}` ### Chat Platforms (use {chat}) - [ ] Telegram: `<b>{title}</b>\n\n{chat}\n\n<a href="{url}">Read more</a>` - [ ] Discord: `**{title}**\n\n{chat}\n\n{url}` - [ ] Slack: `*{title}*\n\n{chat}\n\n{url}` - [ ] Teams: `**{title}**\n\n{chat}\n\n[Read more]({url})` ### Email Platforms (use {email_subject}/{email_body}) - [ ] Mailchimp: `<h1>{email_subject}</h1>\n{email_body}\n<p><a href="{url}">Read more</a></p>` - [ ] SendGrid: same pattern as Mailchimp - [ ] Brevo: same pattern as Mailchimp ### Generic (use {introtext}) - [ ] Default: `{title}\n\n{introtext}\n\n{url}` - [ ] WordPress: `{title}\n\n{introtext}\n\n{url}` - [ ] Webhook: `{title}\n\n{introtext}\n\n{url}` - [ ] Reddit: `{title}` ### Fallback Behavior - [ ] When Share Content fields are empty, {social} falls back to intro text - [ ] {short} falls back to truncated title - [ ] {chat} falls back to intro text - [ ] {email_subject} falls back to title - [ ] {email_body} falls back to fulltext
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#178