All help articles

Blog

Mailocity and Zappocity each have a blog: news, how-tos and changes, written in the admin panel. No files or deploys are needed.

Each has a page of posts (newest first, ten at a time), a page per post, a page per tag (/blog/tag/news) and an Atom feed (/blog/feed.xml) for feed readers.

Writing a post

In the panel, Blog → New post. The Mailocity panel writes the Mailocity blog and the Zappocity panel the Zappocity blog.

View opens the published post. Delete removes it from the blog and the feed.

Staff need the content permission ("Write the blogs") to write, change and delete posts. Everyone with read can see them in the panel.

Command line and API

corpsuite blog posts site=mailocity
corpsuite blog post add site=mailocity slug=hello title="Hello" body="**Hi** there" status=published authorName=Ann
corpsuite blog post set POST-ID site=mailocity slug=hello title="Hello" status=draft
corpsuite blog post delete POST-ID
corpsuite blog preview body="*hi*"

In the admin API: /v1/blog/posts, /v1/blog/posts/{postId} and /v1/blog/preview. See api/openapi.yaml.