Skip to main content

The blog feed behind the dashboard

Besides the What's new launches, the Admin UI can show recent posts from this blog. The gateway fetches them through its own endpoint so that the browser never talks to an outside site, and so that deployments without internet access still get a sensible list.

The endpoint​

GET /public/spanway_blog_posts returns the latest posts as a list with a title, a description, a date and a URL for each. The gateway reads the RSS feed of this blog at https://docs.spanway.ai/blog/rss.xml, keeps the parsed result in an in-process cache for an hour, and serves the cached copy to every dashboard request in that window. If the feed cannot be fetched, the gateway falls back to a bundled list that ships with each build, so the endpoint always answers.

Changing the feed​

The feed URL is read from SPANWAY_BLOG_POSTS_URL. Point it at any RSS feed, for example a feed of your platform team's announcements, and the dashboard shows those posts instead.

export SPANWAY_BLOG_POSTS_URL="https://intranet.example.com/ai-gateway/feed.xml"

What is in the feed​

This blog's feed carries the full text of each post, so a reader or an internal aggregator can display posts without visiting the site. Posts cover product announcements, such as new models with day 0 pricing, and engineering notes, such as the realtime WebRTC endpoints. For the dashboard's launches panel, which is separate from the blog feed, see what the panel shows.