International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
Lucidiot 6750898bf2
Update README
2021-03-19 13:48:09 +01:00
bin SIA custom feeds, close #39 2021-02-07 22:25:27 +01:00
img Echo support, closes #61 2021-03-18 23:25:02 +01:00
jq Echo support, closes #61 2021-03-18 23:25:02 +01:00
xslt Echo support, closes #61 2021-03-18 23:25:02 +01:00
.gitignore Add Windows gitignore stuff 2021-03-17 14:44:02 +01:00
LICENSE ATSB feed generator 2019-12-14 11:01:03 +01:00
README.md Update README 2021-03-19 13:48:09 +01:00
feedgen.sh Add atom->rss conversion 2021-03-17 15:15:12 +01:00
itsb.xml Replace BEA official feed with custom feed, close #64 2021-03-18 14:03:31 +01:00
itsb.xsd CDF support, closes #54 2021-03-18 21:47:19 +01:00

README.md

itsb logo

international transport safety bureau

A project whose goal is to centralize accident reports and make them easier to access.

Setup

  • Install the following dependencies:
    • pup: go get github.com/ericchiang/pup
    • jq: sudo apt install jq
    • xmltodict: pip install xmltodict
    • xsltproc: sudo apt install xsltproc
  • Clone this repository
  • Add the repo's bin directory to your $PATH

Usage

Manual build

Run feedgen.sh to build the feeds.

Automated build

You can build the feeds automatically by adding the bash script to CRON.

This is the line I am currently using to build on tilde.town once a day:

37 13 * * * nice -n 19 bash -c "PATH=/home/lucidiot/bin:/home/lucidiot/go/bin:$PATH /home/lucidiot/dev/itsb/feedgen.sh -q"