Skip to content

[App] RSS reader

HouzuoGuo edited this page Jul 7, 2020 · 5 revisions

Introduction

Read latest news and briefings via RSS.

Configuration

This app is always available for use and does not require configuration.

However, if wish to override the default news sources, under JSON object Features, construct a JSON object called RSS that has the following properties:

Property Type Meaning Default value
Sources array of strings URLs to various RSS sources. Top stories/home page from A(ustralia)BC, BBC, The Guardian, CNBC.

Here is an example:

{
    ...

    "Features": {
        ...

         "RSS": {
              "Sources": [
                  "https://www.theguardian.com/uk/rss",
                  "https://www.cnbc.com/id/100003114/device/rss/rss.html"
              ]
            },

        ...
    },

    ...
}

Usage

Use any capable laitos daemon to invoke the app:

.r skip count

Where skip is the number of latest feeds to discard, and count is the number of feeds to read after discarding.

Tips

Upon running this command, the feeds are downloaded from all sources at once, sorted in chronological order from latest to oldest, and then the skip and count parameters are taken into account.

If some of the sources failed to respond, the command response will still collect feeds from the remaining working sources. The program health report produced by system maintenance daemon helps to discover invalid source URLs.

Clone this wiki locally