Publishing a feed
Everything an Intelibo Kiosk screen shows — events, news, pictures, videos, announcements — comes from one XML document your site publishes at a public address. Screens fetch it every few minutes, keep a copy, and download the pictures and videos it names. You never talk to a screen; you keep the feed up to date, and the screens follow.
This guide is for whoever builds that feed: usually a developer of the organisation's web site or CMS. It takes an afternoon.
Check your feed as you go. The feed checker reads your feed exactly the way a screen does and tells you, line by line, what a screen would drop and what it would show badly. No account needed.
Do you already have a feed?
Screens can also read an RSS or Atom feed you already publish, as it is: give its address as
the template's feed. Every item becomes a news item — its title, date, link, category, and its
text with the HTML taken out — and its picture is found wherever feeds put one: media:content,
media:thumbnail, an image enclosure, or the first <img> in the description. That is enough
for a news list, a ticker and a slideshow of the pictures. It is not enough for events — RSS
has no start and end times, no locations and no curated lists — and it cannot carry videos or
programmes. For those, publish the feed described here. The checker reads RSS and
Atom too, and says how many items have a picture.
The smallest feed
<?xml version="1.0" encoding="UTF-8"?>
<kiosk-feed xmlns="urn:intelibo:kiosk-feed:1">
<item id="welcome" kind="notice">
<title>Welcome! The library is open until 8 pm today.</title>
</item>
</kiosk-feed>
That is a complete, valid feed. The namespace, urn:intelibo:kiosk-feed:1, is the version:
keep it exactly as written.
A realistic one adds a <source> and more items:
<kiosk-feed xmlns="urn:intelibo:kiosk-feed:1" generated="2026-09-18T14:00:00Z">
<source name="Riverside Community Centre" url="https://example.org" timezone="America/New_York"/>
<item id="event-41" kind="event">
<title>Autumn Folk Dance Workshop</title>
<starts>2026-10-03T18:00:00-04:00</starts>
<ends>2026-10-03T20:00:00-04:00</ends>
<location>Main Hall, 12 River Rd</location>
<image src="https://example.org/media/workshop.jpg"/>
</item>
</kiosk-feed>
complete.xml uses every element once, with one item of each kind.
Items and kinds
Each <item> is one thing a screen can show. It needs an id, a kind and a <title>;
an item missing any of them is dropped, and so is a second item with an id already used.
Keep ids stable from one version of the feed to the next — event-41 should stay event-41.
The kind decides where an item can appear. A template asks for kinds — "upcoming events here,
news there, pictures on the big stage" — so an item of a kind nobody asks for is kept but never
shown.
| kind | for | needs, beyond a title |
|---|---|---|
event |
something happening at a time | <starts> |
news |
a story or announcement | <published> |
media |
a picture or video for the big stage | <image> or <video> |
program |
a standing activity — a class, a club, a department | <image> or <video> |
ad |
a sponsor, usually with from/until |
<image> or <video> |
notice |
a line of text | — |
An item without what it needs is still kept, but templates have nothing to put it on: an event with no start cannot be placed among the others. The checker warns about each one.
Dates and times
Write every date as RFC 3339 with a UTC offset: 2026-10-03T18:00:00-04:00, or with Z
for UTC. A date without an offset is read in each screen's own timezone, which may not be
yours — the checker warns about it.
Two attributes decide when an item appears at all, so you can publish ahead:
<item id="ad-2" kind="ad" from="2026-09-01T00:00:00-04:00" until="2026-12-31T23:59:59-05:00">
Before from and after until, screens skip the item. Past events are best left out of the
feed altogether; they only make it larger.
Pictures and videos
- Addresses must be absolute —
https://example.org/media/a.jpg, not/media/a.jpg. A relative address makes screens drop the whole item. - Pictures: JPEG, PNG or WebP, up to 4096 px on the long edge. Send originals if that is
easier: screens scale pictures down themselves. Give an
altwhen you have one. - Videos: MP4, H.264 (level 4.1 or lower) or HEVC, at most 1080p at 30 frames per second and
200 MB, with the index at the front (
ffmpeg -movflags +faststart). Give aposterpicture and adurationin seconds. A screen plays one video at a time. - Screens download each picture and video once and keep it, by its address. An item appears on the stage only once its picture has arrived, so a new picture shows a little after the feed that names it. To replace a picture, give the new one a new address.
Text
<title>is plain text; screens show the first 120 characters.<body>is plain text, or Markdown withformat="markdown": paragraphs, bullet lists, bold, italics and line breaks. Headings show as plain text, links show their words only (nothing on a screen can be clicked), and HTML is shown as text, never run.- Escape
&as&and<as<, as in any XML. A CMS template engine usually does this for you; a hand-built string does not.
Playlists
A playlist is a list of items you choose, in your order — "what we want on the big screen this week" — for templates that should show your selection instead of choosing by kind:
<playlist name="highlights">
<ref item="program-1"/>
<ref item="media-3"/>
</playlist>
A ref to an item that is not in the feed is skipped. Agree the playlist names with whoever
designs your screens; they are how a template asks for them.
Serving it
- A public
httpsaddress that answers200with the XML, served asapplication/xml. - Send
ETagorLast-Modified. Screens then ask "has it changed?" and usually hear "no", instead of downloading the whole feed every few minutes. Most CMSs and web servers can do this. - Keep it under 2 MB. Screens download all of it whenever it changes.
- Point screens at the final address. A redirect costs every screen a detour on every poll.
- Screens poll every 5 minutes unless their template says otherwise, and sooner after a
failure.
ttlon the root is noted but does not change this.
When your feed cannot be reached or read, screens keep showing the last feed they could read and recover by themselves when it is back. Where the template leaves room for notices, the screen says so in small print, with a code; the panel always shows it:
| code | what the screen says | |
|---|---|---|
| KIOSK-31 | warn | The content feed is unreachable, so this screen is showing what it saved earlier. Nothing is lost. If it lasts, tell whoever publishes the feed. |
| KIOSK-32 | error | The content feed cannot be read, and this screen has nothing saved to show. Tell whoever publishes the feed. |
| KIOSK-33 | info | Waiting for the first content to arrive. |
Checking it
The feed checker is the quickest way: give it your feed's address, or paste the XML. It runs the same code a screen does, so its errors are exactly what a screen would drop.
In your own build, validate against the schema, kiosk-feed-1.xsd:
xmllint --noout --schema kiosk-feed-1.xsd feed.xml
The schema catches structure — a missing id, a relative address, a priority of 12. The checker
also catches what only makes sense to a screen: an event with no start, a date without an
offset, an item whose until has passed.
Versions
This is kiosk-feed/1, and it is frozen. We may add optional elements and attributes to version 1 — a screen that does not know one ignores it — but we will not rename, remove or change the meaning of anything in it. A change like that would be kiosk-feed/2, in a new namespace; screens that read version 1 would refuse a version 2 feed with a clear message rather than misread it, and version 1 feeds would keep working.
You may add your own data in your own namespace anywhere in the feed; screens ignore it.
Feeds written for the earlier draft namespace, urn:intelibo:kiosk-feed:0, are read as version
- Change the namespace when you next touch the feed.
Checklist
- The root is
<kiosk-feed xmlns="urn:intelibo:kiosk-feed:1">. - Every item has an
id(unique, stable), akindand a<title>. - Events have
<starts>; news has<published>; media, programs and ads have a picture or video. - Every date has a UTC offset.
- Every picture and video address is absolute
https. - The address answers
200withETagorLast-Modified, and the feed is under 2 MB. - The feed checker reports no errors.
Reference
<kiosk-feed>
The root. Its namespace, urn:intelibo:kiosk-feed:1, is the version.
| required | ||
|---|---|---|
@generated |
When your CMS built the feed. Screens record it, which helps when diagnosing a feed that stopped changing. | |
@ttl |
Your suggested poll interval, in seconds. Advisory: screens poll on their template's schedule, every 5 minutes unless it says otherwise. |
<source>
Who publishes the feed.
| required | ||
|---|---|---|
@name |
The organisation's name, as a screen may show it. | |
@url |
The organisation's web site. | |
@timezone |
An IANA timezone, e.g. America/New_York: the zone your dates mean when they are shown. |
<item>
One thing a screen can show: an event, a news story, a picture, a programme, a sponsor, a notice.
| required | ||
|---|---|---|
@id |
yes | Unique in the feed, and stable from one fetch to the next: playlists refer to items by it, and a second item with the same id is dropped. |
@kind |
yes | event, news, media, program, ad or notice. Screens keep other kinds, and templates that do not ask for them never show them. |
@from |
Not shown before this moment, so you can publish ahead. | |
@until |
Not shown after this moment. | |
@priority |
1 (first) to 9 (last), default 5. Used where a template orders by priority. | |
@dwell |
Seconds a picture stays on the stage, instead of the template's setting. | |
<title> |
yes | Plain text; screens show at most 120 characters. |
<subtitle> |
A short line under the title, e.g. a tile's "Folk dance · Choir · Traditions". | |
<starts> |
When an event begins, with a UTC offset: 2026-09-20T18:00:00-04:00. An event needs it: screens keep an event without one, but no template can place it. | |
<ends> |
When an event ends. With a UTC offset. | |
<published> |
When a story was published, with a UTC offset. A news item needs it to be sorted among the others. | |
<location> |
Where an event happens, as plain text. | |
<category> |
A short label; the stage shows it as a chip. | |
<sponsor> |
Who an ad is for, as plain text. | |
<body> |
Longer text. format="markdown" (the default is "text") allows paragraphs, bullet lists, bold, italics and line breaks; headings show as plain text, links show their words only, and HTML is shown as text. | |
<image> |
A picture. Repeatable; screens use the first. | |
<video> |
A video. One per item. | |
<link> |
The item's web page. Carried to screens; no current template displays it. | |
<tags> |
Free words a template can select on. |
<image>
Inside an item. A picture. Repeatable; screens use the first.
| required | ||
|---|---|---|
@src |
yes | An absolute http(s) address of a JPEG, PNG or WebP, up to 4096 px on the long edge. Screens scale it down themselves, so an original is fine. |
@width |
||
@height |
||
@alt |
<video>
Inside an item. A video. One per item.
| required | ||
|---|---|---|
@src |
yes | An absolute http(s) address of an MP4: H.264 (level 4.1 or lower) or HEVC, at most 1080p30 and 200 MB, with the index at the front (+faststart). |
@width |
||
@height |
||
@duration |
Seconds; how long the stage gives the video. | |
@poster |
A picture to show while the video loads. |
<playlist>
A named, ordered list of items you curate — "what we want on the big screen". A template can show a playlist instead of choosing by kind.
| required | ||
|---|---|---|
@name |
yes | The name a template asks for. |
<ref item> |
yes | One item in the playlist, by its id. A ref to an item that is not in the feed is dropped. |