International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
~lucidiot 26ae4cb2e0
continuous-integration/drone/push Build is passing Details
Restore SSL verification on the Bulgarian Ministry of Transport and Communications
2024-03-04 13:49:22 +00: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 Fix DAAI feed 2024-02-20 22:33:05 +00:00
xquery Fix XML schema URLs in ATSB 2024-02-25 23:58:34 +00:00
xslt Use absolute path to XQuery script 2024-02-25 23:58:10 +00:00
.drone.yml Drop IRC notifications 2024-02-20 14:38:46 +00: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 Restore SSL verification on the Bulgarian Ministry of Transport and Communications 2024-03-04 13:49:22 +00:00
itsb.xsd XQuery support via Xidel 2024-02-24 19:46:25 +00: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"