International Transport Safety Bureau: centralizing every transport accident report into RSS feeds https://tilde.town/~lucidiot/itsb/
Go to file
Lucidiot 47cb72a1e3
Fix cdfmerge path
2021-03-22 18:32:12 +00:00
bin Add CDF meta-feed 2021-03-21 15:48:57 +01:00
img Echo support, closes #61 2021-03-18 23:25:02 +01:00
jq Fix chinese number parsing for 11 to 19 2021-03-21 17:31:26 +01:00
xslt Fix line endings 2021-03-19 13:50:29 +01: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 CDF meta-feed 2021-03-21 15:48:57 +01: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"