Editorial Workflows: Draft Previews, Scheduled Revisions & AST Diffs
Daypress includes team editorial workflows out of the box—letting you share drafts without creating logins, stage timed launches on already-live URLs, credit multiple authors, and compare layout revisions node by node.
Secret stakeholder preview links (/preview/{token})
Need external client or legal sign-off on a draft, pending, or future page without creating CMS user accounts? Mint a cryptographically random, time-bound preview URL inside the editor's Publish panel or via MCP:
// MCP: daypress_create_preview_link
{
"post_id": 42,
"expires_in_hours": 72,
"label": "Q4 Launch Review — External Legal"
}
// Returns: { "preview_url": "https://example.com/preview/9f4b2c8e...", "expires_at": "..." }- Search-Engine Safe: Every
/preview/{token}response emitsX-Robots-Tag: noindex, nofollowand bypasses the public SSR hot cache. - Instant Revocation: Revoke any active preview token with one click in the Post Editor when review concludes.
Scheduled revisions on already-published pages
Standard WordPress scheduling only works for brand-new posts. In Daypress, you can keep your current pricing or homepage live while staging an atomic future replacement for that exact same post ID:
// MCP: daypress_schedule_revision
{
"post_id": 2,
"publish_at": "2026-12-01T09:00:00Z",
"title": "Winter Release — Updated Pricing",
"content": "<p>Updated copy...</p>",
"layout_json": "{...updated DaypressLayout AST...}"
}Structural AST revision diffs & multi-author bylines
- Automatic Revision Snapshots: Every save in the Post Editor or DayStudio snapshots both HTML content and
layout_jsonAST into SQLite. - Node-by-Node Visual AST Diffs (
daypress_diff_revisions): Compare any two revisions (or compare a revision against the live page) to inspect added, removed, and modified AST nodes—including exact typography, color, and spacing property changes—and restore either the full snapshot or individual nodes. - Co-Authors Plus Parity: Assign multiple authors to any post or page in the editor's Authors box; Daypress exposes the full ordered
coauthorsarray in templates and REST responses.