International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
Lucidiot 15455f1180
continuous-integration/drone/push Build is failing Details
I should try to proofread sometime
2021-10-17 23:14:23 +02:00
bin Fix global CDF feed 2021-07-24 22:19:02 +02:00
img Add RSS 3.0 support 2021-04-05 23:00:11 +02:00
jq Rewrite DAAI feed, close #87 2021-09-28 09:06:49 +02:00
xslt Add XML validation in CI 2021-10-05 22:17:00 +02:00
.drone.yml I should try to proofread sometime 2021-10-17 23:14:23 +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 Add XML validation in CI 2021-10-05 22:17:00 +02:00
itsb.xsd Fail 2021-10-05 23:35:47 +02:00
singlegen.sh Preprocess XML before filtering in single generation mode 2021-09-28 08:38:10 +02: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"