Blog: overview
Someone at a small firm or charity, writing the news on top of everything else, can write next Thursday’s post today, date it for Thursday and go on leave. The post stays out of your blog until that date, then appears by itself. With HTML caching, keep the scheduler and a queue worker running, because the scheduler checks every minute and the worker clears cached pages.
Setting it up is a short job for whoever looks after your website. It creates the blog page, a page for each month’s posts and a page for each tag, for every site and language you run. Tags are how posts are grouped, since there are no separate categories. Each author gets a page listing the posts they wrote, and their email address never appears on it. Readers who follow blogs through an app that gathers new posts receive your latest 20 as short summaries with a link back. The app picks up a new post the next time it checks.
Months later, a reader after your spring news can open April’s page for every post from that month, or click a tag to see everything on one subject.
What it does
Section titled “What it does”Blog adds site-scoped, multilingual Articles plus the public blog index, monthly archives, tag listings, related-article widgets, and RSS/Atom feeds. The publish and unpublish dates control article visibility.
Install and create the publishing surface
Section titled “Install and create the publishing surface”Install Layout Builder before Blog. Blog also requires Content Sections, Tags, Frontend, and HTML Cache. capell:blog-install publishes/runs the package migrations and assets, but does not create the blog’s layouts, widgets, page types, or public pages.
Run capell:blog-setup to create those publishing defaults and ensure a /blog page, archive pages, and tag pages for every existing site and site language. If Navigation is installed and its tables exist, setup also adds the Blog page to Main and Footer navigations. The command’s --user, --sites, --languages, and --url options are accepted only for installer compatibility and are ignored; setup always reconciles all current sites and languages. Review navigation and generated page translations after running it, especially on a multi-site installation.
Run setup again after adding a site or language when its Blog publishing surface is missing. The operation is designed to reuse existing records, but it can add the missing pages, widgets, translations, URLs, and navigation items.
Create and publish articles
Section titled “Create and publish articles”Open Articles in the admin. Article permissions and assigned-site access control which records an administrator can see or change; global administrators can work across sites. Choose the Site when creating, then add translated title/content, layout, featured image, tags, URLs, and publish dates. Tags are shared through the Tags package, which owns the Tags admin resource and its permissions.
The public article URL is generated beneath that site’s Blog page for each translation. An article needs a matching translation and an enabled Page URL for the requested site/language before it can appear in listings or feeds. Use the article list’s site and language filters to find incomplete coverage.
The publish panel has three practical behaviours:
- Publish now makes the article visible immediately;
- a future Visible from time makes it Scheduled; and
- Unpublish/Visible until hides it once that time has passed.
Public queries use the stored publication dates and the application clock. A scheduled article stays out of the blog index, archive and tag results, and feed until its start time. An expired article stops matching public queries and remains available in the editor. Publishing Studio can add workspace review and editorial-calendar integration.
If the site uses HTML caching, keep Laravel’s scheduler and a queue worker running. The scheduler checks every minute for articles going live or expiring. Cached pages can show the previous content until the worker processes the invalidation job. A queue backlog delays that update, and a stopped worker leaves old pages in the cache until invalidation resumes.
Saving an article, its translation, tags, or featured media clears the package’s affected article/listing caches. Existing full-page HTML and external caches still follow the host cache regeneration policy. Verify the public URL after urgent changes rather than assuming every edge cache refreshed immediately.
Public pages, tags, and archives
Section titled “Public pages, tags, and archives”The setup surface creates the Blog index, /blog/archives, an archive wildcard below it, /blog/tags, a tag wildcard below it, and an author archive wildcard at /blog/author/{author-slug}. Do not delete or repurpose those system pages while their routes are in use. Diagnostics checks the publishing surface, cache wiring, author/related rendering, sitemap, and static-export integration.
Adding or removing tags updates tag listings and related widgets. A tag change can affect several sites when the tag is installation-wide or attached to articles on those sites, so review the affected tag URLs. Article public content is passed through Capell’s public HTML sanitizer before rendering; unsafe markup may be removed even when it remains in the editor’s stored content.
Author archives
Section titled “Author archives”/blog/author/{author-slug} lists the published articles created by one author on that site and language. The page is a system wildcard page like the tag and archive wildcards; it is not selectable as a page type and is not listed in navigation.
Capell’s users table is owned by Core and has no slug, username, or public profile route, and a package must not add columns to it. The author’s public slug is therefore derived from their display name at request time, and an incoming slug is matched only against authors who actually have published articles on the requested site and language. Nothing that identifies the account is published: the user id and email address never appear in the URL or in the rendered page.
Two consequences follow from deriving the slug from the name. Renaming an author changes their archive URL and leaves the old URL returning 404, so treat author renames like a slug change and add a redirect if the old URL was linked. When two authors’ names slugify to the same value, the account with the lowest user id wins that URL and the other author has no reachable archive; give one of them a distinguishing display name if that matters.
An unknown slug, an ambiguous slug that loses the tie-break, and an author with no published articles all return 404.
Soft-deleting an article removes it from normal public queries and keeps it available to restore. Force-delete is the irreversible content-removal path. Blog has no age-based archive or deletion schedule.
Blog exposes /blog/feed.xml and /blog/feed.rss as RSS 2.0, and /blog/feed.atom as Atom. Each request resolves the current Site Domain and language and returns up to the 20 latest published articles that have an enabled URL and translation for that site/language. Future, expired, other-site, and untranslated articles are excluded.
RSS and Atom use HTTP revalidation. Feed responses ask browsers and caches to check with the server on every request before reusing a copy. The HTML cache handles web pages, while the feeds reflect the articles visible when the server checks. Feeds contain the article title, URL, publication date, and summary.
Operational boundaries
Section titled “Operational boundaries”Blog stores editorial content, URLs, tag relationships, user stamps, featured media relationships, and activity-log entries in plaintext application storage. It does not register a Privacy Centre exporter or eraser. If an article contains personal data, handle export, correction, retention, and erasure through the owning editorial/privacy process, including media and backups.
There are no Blog-specific notification or retry queues. A missing public page, translation, URL, layout, or Site Domain is a configuration/data issue rather than a failed publishing job; use the article screen and Diagnostics to repair the surface, then recheck the exact site/language URL.
For how to use Blog, see the admin guide. For developers: see the README.