RCWeb RSS News Control

RSS News Control is the phone-friendly companion to the rss-news viewer. It shows what is currently on the display, lets you cycle through the loaded screens, and configures the viewer's RSS source addresses.

icon

What it does

  • Lists every article on the current screen with title, snippet, source and timestamp
  • Provides large touch buttons for Prev, Play / Pause, and Next
  • Edits the viewer's active RSS feed URLs
  • Provides a Refresh headlines action that reloads feeds on the viewer

RCWeb communication

The viewer owns all news state. The control sends commands to the viewer:

rc.sendFunctionCall("rss-news", "rssNewsViewer.prev");
rc.sendFunctionCall("rss-news", "rssNewsViewer.next");
rc.sendFunctionCall("rss-news", "rssNewsViewer.toggle");
rc.sendFunctionCall("rss-news", "rssNewsViewer.refresh");
rc.sendFunctionCall("rss-news", "rssNewsViewer.setSources", ["https://feeds.bbci.co.uk/news/rss.xml"]);
rc.sendFunctionCall("rss-news", "rssNewsViewer.requestState", rc.client);

The viewer pushes snapshots to controls through the global callback:

rssNewsControl.receiveState(snapshot);

The snapshot contains the active screen index and total, the play state, the active RSS sources, source errors and the current screen contents.

URL

/rss-news-c/?r=<room>

DocumentationServer TelemetryServer StatsServer HTTP LogServer WebSocket Log