RSS Widget
Changed in version 14.0
The RSS widget was extended to support Atom feeds (commonly used by GitHub, GitLab, and other platforms)
Widgets using this class will show a list of items of the configured RSS feed or Atom feed.
The "RSS Widget" supports both RSS and Atom feeds via automatic detection.
Widget instances are fully configurable with custom labels, feed URLs, and display limits. Each widget can be configured independently, allowing multiple feeds of different formats on the same dashboard
Automatic caching ensures optimal performance with configurable cache lifetimes.
Usage of the RSS Widget in the dashboard
You can use this kind of widget to show your own RSS feed or Atom feed.
- Navigate to the dashboard where you want to add the widget
- Click "Add widget" and select the RSS widget
- Click the settings (cog) icon to customize the widget
- Configure the feed URL (RSS or Atom), limit, and label as needed
- Save the configuration to apply changes
Feed format support
The RSS widget now supports both feed formats:
RSS Feeds:
- Item titles
- Displayed as clickable links
- Publication dates
- Used for sorting entries (newest first)
- Descriptions
- Displayed as entry content (HTML tags stripped)
Atom Feeds:
- Entry titles
- Displayed as clickable links
- Publication dates
- Used for sorting entries (newest first)
- Content/Summary
- Displayed as entry description (HTML tags stripped)
- Author information
- Name, email, and URL when provided in the feed
Example for RSS widget with Atom feed
services:
# Button provider for external link
dashboard.buttons.github_releases:
class: 'TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider'
arguments:
$title: 'View all releases'
$link: 'https://github.com/TYPO3/typo3/releases'
$target: '_blank'
# RSS widget with Atom feed URL
dashboard.widget.github_releases:
class: 'TYPO3\CMS\Dashboard\Widgets\RssWidget'
arguments:
$buttonProvider: '@dashboard.buttons.github_releases'
$options:
feedUrl: 'https://github.com/TYPO3/typo3/releases.atom'
lifeTime: 43200
limit: 10
tags:
- name: dashboard.widget
identifier: 'github_releases'
groupNames: 'general'
title: 'LLL:EXT:my_extension/Resources/Private/Language/locallang.xlf:widgets.github_releases.title'
description: 'LLL:EXT:my_extension/Resources/Private/Language/locallang.xlf:widgets.github_releases.description'
iconIdentifier: 'content-widget-rss'
height: 'large'
width: 'medium'
Options
refreshAvailable
-
refresh
Available -
- Type
- boolean
- Default
false
Boolean value, either
false
ortrue
.Provides a refresh button to backend users to refresh the widget. If the option is omitted
false
is assumed.
The following options are available via
services.
:
label
-
- Type
- string
- Custom title for the widget instance
- Optional field that defaults to the widget's default title
feedUrl
-
- Type
- string
Defines the URL or file providing the RSS Feed. This is read by the widget in order to fetch entries to show.
lifeTime
-
- Type
- int
- Default
43200
Defines how long to wait, in seconds, until fetching RSS Feed again.
limit
-
- Type
- int
- Default
5
Defines how many RSS items should be shown.
Dependencies
$buttonProvider
-
- Type
\TYPO3\
CMS\ Dashboard\ Widgets\ Button Provider Interface
Provides an optional button to show which is used to open the source of RSS data. This button should be provided by a ButtonProvider that implements the interface
Button
.Provider Interface See Adding button to Widget for further info and configuration options.