International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
~lucidiot 37a99fd175
continuous-integration/drone/push Build is passing Details
Fix ZMA feed, close #109
2022-08-29 06:41:30 +02:00
bin Add NTSB custom feed, close #97 2022-05-28 18:53:30 +02:00
docs Add NTSB custom feed, close #97 2022-05-28 18:53:30 +02:00
img OCS support, close #101 2022-05-25 18:17:01 +02:00
jq Fix ZMA feed, close #109 2022-08-29 06:41:30 +02:00
xslt OCS support, close #101 2022-05-25 18:17:01 +02:00
.drone.yml I should try to proofread sometime 2021-10-17 23:14:23 +02:00
.gitignore OCS support, close #101 2022-05-25 18:17:01 +02: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 OCS support, close #101 2022-05-25 18:17:01 +02:00
itsb.xml Fix ZMA feed, close #109 2022-08-29 06:41:30 +02:00
itsb.xsd Add source URLs, close #100 2022-05-25 17:23:44 +02:00
singlegen.sh Add debugging info in singlegen.sh 2022-08-29 06:30:56 +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"