Fix CAP feeds in EnviroFlash OPML generator

This commit is contained in:
~lucidiot 2023-11-19 19:42:09 +01:00
parent e16915884d
commit d3d46ba4c1
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ doc("https://feeds.enviroflash.info/")//*[contains(@class, "formrow")]//tr/
! (
(: CAP feeds are not exactly feeds, since they only contain one alert at once and are not supported by feedreaders :)
if (starts-with(@href, "cap/")) then
<outline type="link" text="CAP feed" url="(resolve-uri(@href, 'https://feeds.enviroflash.info/'))" />
<outline type="link" text="CAP feed" url="{resolve-uri(@href, 'https://feeds.enviroflash.info/')}" />
else
<outline
type="rss"