International Transport Safety Bureau: centralizing every transport accident report into RSS feeds http://tilde.town/~lucidiot/itsb/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Lucidiot 7ebbf262c1
Add missing properties in XSD
1 week ago
bin Fix global CDF feed 3 months ago
img Add RSS 3.0 support 7 months ago
jq Rewrite DAAI feed, close #87 4 weeks ago
xslt Fix xmlns 1 week ago
.drone.yml I should try to proofread sometime 1 week ago
.gitignore Add CDF meta-feed 7 months ago
LICENSE ATSB feed generator 2 years ago
README.md Update README 7 months ago
feedgen.sh Fix cdfmerge path 7 months ago
itsb.xml Add XML validation in CI 3 weeks ago
itsb.xsd Add missing properties in XSD 1 week ago
singlegen.sh Preprocess XML before filtering in single generation mode 4 weeks ago

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"