Add Houston TranStar OPML generator
This commit is contained in:
parent
d05f2d9064
commit
b3966b61aa
13
xquery/opml/transtar.xqy
Normal file
13
xquery/opml/transtar.xqy
Normal 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"
|
||||||
|
/>
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user