mirror of
https://github.com/KevinMidboe/miljobilen-rss.git
synced 2025-10-29 17:50:23 +00:00
40 lines
950 B
Markdown
40 lines
950 B
Markdown
# Miljøbilen RSS
|
|
|
|

|
|
|
|
Generates RSS file for next pick up date & time for Miljøbilen from [FolloRen webpage](https://folloren.no/levering-av-avfall/miljobilen/).
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
node src/node.js 'pentagon' 2
|
|
```
|
|
|
|
Complete list of commands:
|
|
|
|
```
|
|
usage: node src/run.js <name> [<look-ahead>] [-p] [-h | --help]
|
|
|
|
These are the available arguments:
|
|
name Name of location to search for
|
|
look-ahead How many days in future to generate, defaults 2
|
|
print Prints results
|
|
help Prints this message
|
|
```
|
|
|
|
## Features
|
|
|
|
Runs every day and checks for and updates RSS with next pickup date relative to current day.
|
|
|
|
## TODO
|
|
|
|
Smaller tasks:
|
|
- [x] Connect to Google bucket, SA, etc.
|
|
- [ ] Updates RSS generation
|
|
- [ ] Compare existing dates in RSS to fetched
|
|
- [x] alert on failing urn
|
|
- [x] handle rollover dates
|
|
|
|
|
|
|