51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
<opml version="2.0">
|
|
<head>
|
|
<title>USGS Earthquake Hazards Program 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="Atom">
|
|
{
|
|
doc('https://earthquake.usgs.gov/earthquakes/feed/v1.0/atom.php')//div[h2[text() = 'Feeds']]/h3
|
|
! <outline text="{normalize-space(text())}">
|
|
{
|
|
./following-sibling::ul//a
|
|
! <outline
|
|
type="rss"
|
|
version="ATOM"
|
|
text="{normalize-space(text())}"
|
|
xmlUrl="{resolve-uri(@href)}"
|
|
language="en-us"
|
|
/>
|
|
}
|
|
</outline>
|
|
}
|
|
</outline>
|
|
<outline text="KML">
|
|
{
|
|
doc('https://earthquake.usgs.gov/earthquakes/feed/v1.0/kml.php')//div[h2[text() = 'Automatic Feeds']]/h2
|
|
! <outline text="{normalize-space(text())}">
|
|
{
|
|
./following-sibling::h3
|
|
! <outline text="{normalize-space(text())}">
|
|
{
|
|
./following-sibling::ul//a
|
|
! <outline
|
|
type="link"
|
|
text="{normalize-space(text())}"
|
|
url="{resolve-uri(@href)}"
|
|
/>
|
|
}
|
|
</outline>
|
|
}
|
|
</outline>
|
|
}
|
|
</outline>
|
|
</body>
|
|
</opml>
|
|
|