International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
Lucidiot 2c1ed1f38b
Facepalm
2021-05-14 09:25:00 +02:00
bin Use proper executable path in cdfmerge 2021-05-14 08:46:22 +02:00
img Add RSS 3.0 support 2021-04-05 23:00:11 +02:00
jq AAC custom feed, closes #23 2021-05-14 09:11:08 +02:00
xslt Add RSS 3.0 support 2021-04-05 23:00:11 +02:00
.gitignore Add CDF meta-feed 2021-03-21 15:48:57 +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 Fix cdfmerge path 2021-03-22 18:32:12 +00:00
itsb.xml Facepalm 2021-05-14 09:25:00 +02: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"