Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trivigy/feed-resource
Concourse RSS/Atom feed integration resource
https://github.com/trivigy/feed-resource
atom concourse feed rss
Last synced: 12 days ago
JSON representation
Concourse RSS/Atom feed integration resource
- Host: GitHub
- URL: https://github.com/trivigy/feed-resource
- Owner: trivigy
- Created: 2018-04-23T05:06:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T18:59:33.000Z (over 6 years ago)
- Last Synced: 2023-02-26T08:51:23.764Z (almost 2 years ago)
- Topics: atom, concourse, feed, rss
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RSS Feed Concourse Resource
Retrieves and parses an RSS/Atom feed from an arbitrary
URL, and splits out each syndicated post into files on-disk.Resource Type Configuration
---------------------------```yaml
resource_types:
- name: feed-resource
type: docker-image
source:
repository: syncaide/feed-resource
```Source Configuration
--------------------```yaml
resources:
- name: my-blog
type: feed-resource
source:
url: https://example.com/rss.xml
insecure: true
```Behavior
--------### `check`: Checks for a new version of the feed and versions its hash.
#### Source: `source`
- `url` - (_required_) The URL of the feed to consume. The feed file needs to
comply with the [gofeed](https://github.com/mmcdole/gofeed) library standard.
- `insecure` - (_optional_) [false] Skip verification of remote TLS certificates.### `in`: Downloads the new feed as saves it in a file named after the feed name.
### `out`: Inactive.
## Usage Example
```yaml
jobs:
- name: feed-job
plan:
- get: my-blog
trigger: true
version: every
- task: build
config:
platform: linux
image_resource:
type: docker-image
source:
repository: ubuntu
tag: "16.04"
inputs:
- name: my-blog
run:
path: /bin/bash
args:
- -c
- |
cd my-blog
cat rss.xml
```