From b3966b61aa5218ebf005a414558df4940925ae86 Mon Sep 17 00:00:00 2001 From: lucidiot Date: Thu, 1 Feb 2024 15:53:29 +0100 Subject: [PATCH] Add Houston TranStar OPML generator --- xquery/opml/transtar.xqy | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 xquery/opml/transtar.xqy diff --git a/xquery/opml/transtar.xqy b/xquery/opml/transtar.xqy new file mode 100644 index 0000000..7eb1da3 --- /dev/null +++ b/xquery/opml/transtar.xqy @@ -0,0 +1,13 @@ +import module namespace rsrsss = "https://envs.net/~lucidiot/rsrsss/rsrsss-functions" at "../functions.xqy"; + +rsrsss:make-opml( + "Houston TranStar feeds", + doc('https://traffic.houstontranstar.org/rss/rss_info.aspx')//a[contains(@href, "rss")][ends-with(@href, ".xml")] + ! +)