blackstork-io / fabric

An open-source command-line tool for reporting workflow automation and a configuration language for reusable templates. Reporting-as-Code
https://blackstork.io/fabric/
Apache License 2.0
10 stars 0 forks source link

Built-in `rss` data source #128

Closed traut closed 1 month ago

traut commented 2 months ago

Description

RSS and Atom are popular syndication feed formats. A whole ecosystem of cyber-security blogs distributes their content through the feeds.

Use Case

External feeds are often summarized into short overviews, and Fabric is ideally suited to cover this use case.

Requirements

Behaviour

Since RSS and Atom specs differ, the data stream normalizes data into a custom object that looks something like:

{
    "title": "Channel Title",
    "description": "Channel Description",
    "link": "<URL>",
    "pub_date": "<datetime-obj>",
    "items": [
        {
            "guid": "<item-guid>"
            "pub_date": "<datetime-obj>"
            "title": "Item Title",
            "description": "Description",
            "link": "<item-link>",
        }
    ]
}

Additional Information