International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
~lucidiot 01c48a4950
Add extra properties to NTSB feed
2023-09-07 16:50:39 +02:00
bin Restrict NTSB feed items to the last year 2022-09-18 01:13:27 +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 Add extra properties to NTSB feed 2023-09-07 16:50:39 +02:00
xslt Add automatic SSL reverification, closes #123 2023-01-03 12:10:24 +01: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 Re-enable SSL verification on BEA-TT 2023-05-10 08:58:42 +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"