An open API service indexing awesome lists of open source software.

https://github.com/i-valchev/rss-to-json

A GitHub Action which crawls RSS feeds and outputs a JSON file.
https://github.com/i-valchev/rss-to-json

Last synced: about 2 months ago
JSON representation

A GitHub Action which crawls RSS feeds and outputs a JSON file.

Awesome Lists containing this project

README

        

# rss-to-json
> The GitHub Action for parsing multiple RSS feeds into a local JSON file.

## Usage

```yaml
- uses: i-valchev/rss-to-json@v1
```

All options:

```yaml
- uses: i-valchev/rss-to-json@v1
with:
source: data/feeds.yaml # An optional parameter to specify the source. Defaults to feeds.yaml
target: output/feeds.json # An optional parameter to specify the target. Defaults to feeds.json
sortBy: An optional parameter to sort the feed items by a field. Default is isoDate.
sortOrder: An optional parameter to specify the order direction. 'desc' or 'asc'. Default is desc.
```

### `feeds.yaml` format

Specify as many URLs to RSS feeds to be included as you like.

```yaml
feeds:
- https://example.org/rss.xml
- https://another-example.org/feed
```