I recently developed an RSS reader called "News Reader" for Ignition. If you would like to display news or information from a website or blog in an Ignition project, this is for you.
The News Reader is a template that can be added to Ignition windows to display Internet feeds.
The News Reader is pretty capable. It uses the Universal Feed Parser Python module to parse feeds. It can handle 11 different feed formats.
A News Reader template instance has the following properties for configuring what feed to display and how to display it:
Here's a screenshot of two News Reader template instances on an Ignition window. Both template instances are displaying the feed for the Computing Without Boundries blog, but they are configured to display the feed differently. The template instance on the left has StripHTML set to false and MaxSummaryLength set to -1. The template instance on the right has StripHTML set to true and MaxSummaryLength set to 150.
The News Reader template has caching functionality to prevent fetching feeds unnecessarily. A News Reader template instance will fetch and cache a feed the first time the window it is in is opened. When the window is closed and then reopened later the cached version of the feed will be used unless the pollRate time has been exceeded.
Changing a value of one of the template instance properties (except pollRate) will invalidate the cache and cause a feed to be re-fetched.
You are free to use and modify the News Reader template. All I ask is that you sign up for my email mailing list if you haven't already. The News Reader template is licensed under the BSD 2-Clause License.
Requirements, Download & Installation
The News Reader template requires Ignition 7.7. It won't work in earlier versions of Ignition.
Client computers that run News Reader template instances need access to the Internet or local servers that host the feeds that are retrieved.
The News Reader template also exists in Inductive Automation's public template cloud repository in the Misc category.
Installation is simple. Import the template into a project using the import functionality in the Ignition designer. Once imported, drag the template into any window you want it in. The News Reader template is a template like any other template. Once an instance of the template is on a window it can be configured by changing the values of the Template Properties.
If you have any questions, issues or suggestions about the News Reader template then leave a comment or contact me.
This video shows how to configure and use the News Reader template in Ignition. It is best viewed in Full screen mode.