diff --git a/.gitignore b/.gitignore index 1540b2e..35cb993 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ feeds feeds.opml +feeds.ocs feeds.cdf index.html *~ diff --git a/feedgen.sh b/feedgen.sh index e897620..8ec1d86 100755 --- a/feedgen.sh +++ b/feedgen.sh @@ -8,6 +8,7 @@ xsltproc "$DIR/xslt/itsb.xsl" "$DIR/itsb.xml" > "$tmpfile" xsltproc "$DIR/xslt/feedgen.xsl" "$tmpfile" | DIR="$DIR" bash -s -- "$@" xsltproc "$DIR/xslt/opml.xsl" "$tmpfile" > "$DIR/feeds.opml" +xsltproc "$DIR/xslt/ocs.xsl" "$tmpfile" > "$DIR/feeds.ocs" xsltproc "$DIR/xslt/html.xsl" "$tmpfile" > "$DIR/index.html" "$DIR/bin/cdfmerge" < "$tmpfile" diff --git a/img/ocs.gif b/img/ocs.gif new file mode 100644 index 0000000..1deb0a1 Binary files /dev/null and b/img/ocs.gif differ diff --git a/itsb.xml b/itsb.xml index cdeca9e..31e36ff 100644 --- a/itsb.xml +++ b/itsb.xml @@ -16,6 +16,7 @@

you can get all the feeds at once: OPML + OCS CDF

]]> diff --git a/xslt/ocs.xsl b/xslt/ocs.xsl new file mode 100644 index 0000000..a210c52 --- /dev/null +++ b/xslt/ocs.xsl @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + feeds/ + + + International Transport Safety Bureau + daily + 1 + 1970-01-01T14:00 + + + + + + + + + + + + + + http://www.w3.org/2005/Atom + + + https://msdn.microsoft.com/workshop/standards/cdf/ + + + http://purl.org/echo/ + + + https://www.jsonfeed.org/version/1.1/ + + + https://web.resource.org/rss/1.0/spec + + + https://www.rssboard.org/rss-2-0-1 + + + http://www.aaronsw.com/2002/rss30 + + + + Unsupported feed format: + + + + + + + + + + application/atom+xml + + + application/xml + + + application/json + + + application/rdf+xml + + + application/rss+xml + + + text/plain + + + + Unsupported feed format: + + + + + + + +