Add Houston TranStar OPML generator

This commit is contained in:
~lucidiot 2024-02-01 15:53:29 +01:00
parent d05f2d9064
commit b3966b61aa
1 changed files with 13 additions and 0 deletions

13
xquery/opml/transtar.xqy Normal file
View File

@ -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")]
! <outline
type="rss"
xmlUrl="{@href}"
text="{text()}"
version="RSS"
language="en-us"
/>
)