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.
- Host: GitHub
- URL: https://github.com/i-valchev/rss-to-json
- Owner: I-Valchev
- Created: 2021-05-21T19:22:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T08:46:37.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T06:34:57.507Z (about 2 months ago)
- Language: JavaScript
- Size: 1.37 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```