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 1491017e8e
Fix official Bulgarian feeds
1 day ago
bin Restrict NTSB feed items to the last year 1 week ago
docs Add NTSB custom feed, close #97 4 months ago
img OCS support, close #101 4 months ago
jq Fix ZMA feed, close #109 4 weeks ago
xslt OCS support, close #101 4 months ago
.drone.yml I should try to proofread sometime 11 months ago
.gitignore OCS support, close #101 4 months ago
LICENSE ATSB feed generator 3 years ago
README.md Update README 2 years ago
feedgen.sh OCS support, close #101 4 months ago
itsb.xml Fix official Bulgarian feeds 1 day ago
itsb.xsd Add source URLs, close #100 4 months ago
singlegen.sh Add debugging info in singlegen.sh 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"