39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
<opml version="2.0">
|
|
<head>
|
|
<title>Alert-Hub.org CAP alert feeds</title>
|
|
<dateModified>{format-dateTime(adjust-dateTime-to-timezone(current-dateTime(), xs:dayTimeDuration("PT0S")), "[FNn,*-3], [D01] [MNn,*-3] [Y0001] [H01]:[m01]:[s01] GMT")}</dateModified>
|
|
<ownerName>lucidiot</ownerName>
|
|
<ownerEmail>lucidiot@envs.net</ownerEmail>
|
|
<ownerId>https://tilde.town/~lucidiot/contact.html</ownerId>
|
|
<docs>http://dev.opml.org/spec2.html</docs>
|
|
</head>
|
|
<body>
|
|
<outline text="Sources">
|
|
{
|
|
json(fn:unparsed-text("https://alert-hub-sources.s3.amazonaws.com/json"))/sources/source
|
|
! <outline
|
|
type="rss"
|
|
xml:id="{sourceId}"
|
|
text="{byLanguage/name[1]}"
|
|
xmlUrl="{capAlertFeed}"
|
|
htmlUrl="{registerUrl}"
|
|
/>
|
|
}
|
|
</outline>
|
|
<outline text="Generated feeds">
|
|
{
|
|
json(fn:unparsed-text("https://alert-hub-subscriptions.s3.amazonaws.com/json"))//subscriptions/subscription
|
|
! <outline
|
|
type="rss"
|
|
xml:id="{subscriptionId}"
|
|
text="{subscriptionName}"
|
|
title="{subscriptionName}"
|
|
xmlUrl="{subscriptionUrl}"
|
|
version="RSS"
|
|
description="{fn:parse-xml(feedRssXml)/rss/channel/description}"
|
|
/>
|
|
}
|
|
</outline>
|
|
</body>
|
|
</opml>
|