Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gracefullight/rssify-ts

A GitHub Action to convert a website into an Atom feed file.
https://github.com/gracefullight/rssify-ts

rssify

Last synced: about 2 months ago
JSON representation

A GitHub Action to convert a website into an Atom feed file.

Awesome Lists containing this project

README

        

# @gracefullight/rssify

A GitHub Action to convert a website into an Atom feed file.

This action takes website url and CSS selectors as inputs, then generate Atom feed file. You can customize feed details such as title, author name, email, etc.

## Usage

Create a workflow in your repository:

```yml
name: RSS

on:
schedule:
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Generate Atom Feed
uses: @gracefullight/[email protected]
with:
TITLE:
URL:
ITEM_TITLE_CSS:
ITEM_URL_CSS:
FILENAME:
```

## Inputs

| Name | Required | Description |
| -------------------- | -------- | -------------------------------------------------- |
| TITLE | true | Feed title |
| SUBTITLE | false | Feed subtitle |
| URL | true | Target website URL |
| AUTHOR_URL | false | Author's website URL |
| AUTHOR_NAME | false | Author name |
| AUTHOR_EMAIL | false | Author email |
| COPYRIGHT | false | Copyright information |
| LANGUAGE | false | Feed language code |
| ITEM_URL_CSS | true | CSS selector for item URL |
| ITEM_DATE_CSS | false | CSS selector for item date |
| ITEM_AUTHOR_CSS | false | CSS selector for item author |
| ITEM_DESCRIPTION_CSS | false | CSS selector for item description |
| ITEM_IMAGE_CSS | false | CSS selector for item image |
| ITEM_DATE_FORMAT | false | Format of item date (using Luxon date format) |
| ITEM_TIMEZONE | false | Timezone for item date (using iana timezone names) |
| FILENAME | false | Output filename |

## Note

This action was heavily inspired by [tabhub/rssify](https://github.com/tabhub/rssify).