RSS Feed
SynaptikCMS generates an RSS 2.0 feed automatically at /feed.php. No configuration is required — the feed is always available.
Feed URL
https://yourdomain.com/feed.php
The feed lists published articles in reverse-chronological order. Pages and Projects are not included.
What the feed contains
Each item in the feed includes:
| Field | Source |
|---|---|
<title> | Article title |
<link> | Full article URL via cleanUrl() |
<description> | Summary field if set, otherwise a plain-text excerpt (150 chars) |
<pubDate> | Publication date in RFC 2822 format |
<guid> | Full article URL (permanent link) |
Channel-level metadata (<title>, <description>, <link>, <language>) comes from settings.json.
Auto-discovery
The feed <link> tag is injected automatically into <head> by render_header_scripts() — themes do not need to add it manually:
<link rel="alternate" type="application/rss+xml"
title="Site Name" href="https://yourdomain.com/feed.php">
Limiting the number of items
The feed is not paginated. It returns all published articles. There is no built-in setting to cap the number of items — if you need to limit it, edit feed.php directly and slice the index array before the output loop.
Caching
The feed response sets Cache-Control: no-store (same as all PHP-generated pages) so feed readers always get fresh content. If you want to add server-side caching, wrap the output in a file-based cache keyed to the most recent article's last_modified timestamp.
