40 lines
1.5 KiB
Markdown
40 lines
1.5 KiB
Markdown
|
|
# Configuration
|
||
|
|
|
||
|
|
Navigate to **Components → MokoJoomCross** to access the admin panel.
|
||
|
|
|
||
|
|
## Global Settings
|
||
|
|
|
||
|
|
Go to **Options** (toolbar gear icon) to configure:
|
||
|
|
|
||
|
|
| Setting | Default | Description |
|
||
|
|
|---------|---------|-------------|
|
||
|
|
| Auto-post on Publish | Yes | Automatically cross-post when articles are published |
|
||
|
|
| Max Retries | 3 | How many times to retry a failed post |
|
||
|
|
| Retry Delay | 300s | Seconds between retry attempts |
|
||
|
|
| Log Retention | 90 days | How long to keep activity logs |
|
||
|
|
| Default Template | `{title}\n\n{introtext}\n\n{url}` | Fallback message template |
|
||
|
|
|
||
|
|
## Message Templates
|
||
|
|
|
||
|
|
Templates use placeholders that are replaced with article data:
|
||
|
|
|
||
|
|
| Placeholder | Description |
|
||
|
|
|-------------|-------------|
|
||
|
|
| `{title}` | Article title |
|
||
|
|
| `{url}` | Full article URL |
|
||
|
|
| `{introtext}` | Article intro text (stripped of HTML, max 280 chars) |
|
||
|
|
| `{image}` | Article intro image URL |
|
||
|
|
| `{category}` | Article category name |
|
||
|
|
| `{author}` | Article author name |
|
||
|
|
|
||
|
|
You can create per-platform templates. The system checks for a platform-specific template first, then falls back to the default.
|
||
|
|
|
||
|
|
## Service Modes
|
||
|
|
|
||
|
|
Services that support universal bots offer two modes:
|
||
|
|
|
||
|
|
- **Default Mode** — Uses the pre-configured MokoWaaS bot/app. API keys are stored in the component's encrypted global params and never exposed in the individual service record.
|
||
|
|
- **Custom Mode** — You provide your own API keys, tokens, and credentials.
|
||
|
|
|
||
|
|
Services supporting default mode: **Telegram** (@MokoWaaSBot), **Facebook**, **Discord**, **Slack**
|