Wikipedia : Atom (web standard)
W3C : Introduction to Atom
XSL file – “case-study-feeds/atom.xsl”
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" version="1.0" exclude-result-prefixes="atom"> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:include href="../../plugins/tenandtwo-xslt-processor/xsl/date.xsl"/> <!-- main --> <xsl:template match="/"> <xsl:apply-templates select="atom:feed"/> </xsl:template> <!-- feed --> <xsl:template match="atom:feed"> <!-- header --> <h3><xsl:value-of select="atom:title"/></h3> <h5><xsl:value-of select="atom:subtitle"/></h5> <!-- body --> <xsl:apply-templates select="atom:entry"/> <!-- footer --> <hr size="1"/> <div> <xsl:text>Updated : </xsl:text> <time> <xsl:attribute name="datetime"><xsl:value-of select="atom:updated"/></xsl:attribute> <xsl:call-template name="date-format"> <xsl:with-param name="value" select="atom:updated"/> <xsl:with-param name="format" select="'Y-m-d h:i A'"/> </xsl:call-template> </time> <xsl:for-each select="atom:author/*"> <!-- name, email, uri --> <br/> <xsl:text>Author : </xsl:text> <xsl:value-of select="text()"/> </xsl:for-each> <xsl:if test="string-length(atom:link[@rel='alternate']/@href) > 0"> <br/> <a target="_blank"> <xsl:attribute name="href"><xsl:value-of select="atom:link[@rel='alternate']/@href"/></xsl:attribute> <xsl:text>Visit Website →</xsl:text> </a> </xsl:if> </div> </xsl:template> <!-- entry --> <xsl:template match="atom:entry"> <hr size="1"/> <h5> <time> <xsl:attribute name="datetime"><xsl:value-of select="atom:updated"/></xsl:attribute> <xsl:call-template name="date-format"> <xsl:with-param name="value" select="atom:updated"/> <xsl:with-param name="format" select="'Y-m-d h:i A'"/> </xsl:call-template> </time> </h5> <h4> <a target="_blank"> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="string-length(atom:link[@rel='alternate']/@href) > 0"> <xsl:value-of select="atom:link[@rel='alternate']/@href"/> </xsl:when> <xsl:when test="string-length(atom:link/@href) > 0"> <xsl:value-of select="atom:link/@href"/> </xsl:when> <xsl:otherwise><xsl:value-of select="atom:id"/></xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of disable-output-escaping="yes" select="atom:title"/> </a> </h4> <div> <xsl:choose> <xsl:when test="string-length(.//atom:content) > 0"> <xsl:value-of disable-output-escaping="yes" select=".//atom:content"/> </xsl:when> <xsl:otherwise> <xsl:value-of disable-output-escaping="yes" select=".//atom:summary"/> </xsl:otherwise> </xsl:choose> </div> </xsl:template> </xsl:stylesheet><!-- end atom.xsl -->
National Weather Service Alerts for OR
[xslt_transform_xml xsl="case-study-feeds/atom.xsl" xml="https://alerts.weather.gov/cap/or.php?x=0" /]
Output
Current watches, warnings, and advisories for Oregon
Red Flag Warning issued July 31 at 8:30AM MDT until August 1 at 12:00AM MDT by NWS Boise ID
…RED FLAG WARNING FOR LIGHTNING THROUGH THIS EVENING…
An upper trough from the south will bring scattered to numerous
thunderstorms this afternoon and evening, strongest in the early
evening. Thunderstorms may contain heavy rain and gusty outflow
winds up to 60 mph.
* AFFECTED AREA…In Oregon, Fire Weather Zones 670 Burns BLM
and 672 Southern Grasslands.
* TIMING…Until 11 PM PDT this evening.
* THUNDERSTORMS…Scattered coverage with abundant lightning.
* OUTFLOW WINDS…Gusty erratic winds up to 50 mph.
* IMPACTS…Any fire that develops will catch and spread
quickly. Outdoor burning is not recommended.
Red Flag Warning issued July 31 at 8:30AM MDT until August 1 at 12:00AM MDT by NWS Boise ID
…RED FLAG WARNING FOR LIGHTNING THROUGH THIS EVENING…
An upper trough from the south will bring scattered to numerous
thunderstorms this afternoon and evening, strongest in the early
evening. Thunderstorms may contain heavy rain and gusty outflow
winds up to 60 mph.
* AFFECTED AREA…In Oregon, Fire Weather Zones 673 Central
Canyonlands, 674 Northwestern Vale BLM and 675 Baker Valley.
* TIMING…Until midnight MDT /11 PM PDT/ tonight.
* THUNDERSTORMS…Scattered coverage with abundant lightning.
* OUTFLOW WINDS…Gusty erratic winds up to 50 mph.
* IMPACTS…Any fire that develops will catch and spread
quickly. Outdoor burning is not recommended.
Red Flag Warning issued July 31 at 6:07AM PDT until July 31 at 8:00PM PDT by NWS Medford OR
…More thunderstorms through the week…
. Another round of scattered thunderstorms will develop this
afternoon and evening. Additional thunderstorms are possible
Friday into the weekend.
* IMPACTS…Abundant lightning on dry fuels resulting in the
potential for numerous new fire starts.
* AFFECTED AREA…Fire weather zones 623, 624 and 625 on Thursday.
* TIMING…From 2 PM this afternoon until 11 PM PDT this evening.
* THUNDERSTORMS…Scattered thunderstorms in the afternoon and
evening. Storms are likely to be wet, but lightning strikes
outside of precipitation cores are possible, and cause for
concern for new fire starts.
* OUTFLOW WINDS…Gusts of 35 to 50 mph could travel outward up
to 25 miles from thunderstorm cores.
* DETAILED URL…View the hazard area in detail at
https://www.wrh.noaa.gov/map/?wfo=mfr
Red Flag Warning issued July 30 at 8:49PM PDT until July 31 at 11:00PM PDT by NWS Pendleton OR
…THUNDERSTORM ACTIVITY CONTINUES INTO THURSDAY…
.Thunderstorms across the southern half of the forecast area will
dwindle tonight, before another round fires off late Thursday
afternoon, lasting through the evening hours. While many of these
storms are expected to be wet, lightning strikes outside the rain
core, as well as strong outflow winds, still possess the potential
to cause new wildfire starts and rapidly spread existing ones.
* AFFECTED AREA…Fire Weather Zones 697 Central Blue Mountains,
698 Southern Blue Mountains and 699 Western Forested Blue
Mountains.
* TIMING…Until 11 PM PDT Thursday.
* IMPACTS…Any fire that develops will catch and spread
quickly. Outdoor burning is not recommended.
* THUNDERSTORMS…Abundant lightning and isolated dry
thunderstorms.
* OUTFLOW WINDS…Gusty, erratic winds up to 50 mph.
Red Flag Warning issued July 30 at 8:49PM PDT until July 31 at 11:00PM PDT by NWS Pendleton OR
…THUNDERSTORM ACTIVITY CONTINUES INTO THURSDAY…
.Thunderstorms across the southern half of the forecast area will
dwindle tonight, before another round fires off late Thursday
afternoon, lasting through the evening hours. While many of these
storms are expected to be wet, lightning strikes outside the rain
core, as well as strong outflow winds, still possess the potential
to cause new wildfire starts and rapidly spread existing ones.
* AFFECTED AREA…Fire Weather Zones 700 Central Mountains of
Oregon, 704 Northern Deschutes National Forest and 705
Southern Deschutes National Forest.
* TIMING…Until 11 PM PDT Thursday.
* IMPACTS…Any fire that develops will catch and spread
quickly. Outdoor burning is not recommended.
* THUNDERSTORMS…Abundant lightning and isolated to scattered
dry thunderstorms.
* OUTFLOW WINDS…Gusty, erratic winds up to 50 mph.
The Heat Advisory has been cancelled.
The Heat Advisory has been cancelled and is no longer in effect.
Updated :
Author : w-nws.webmaster@noaa.gov
Author : w-nws.webmaster@noaa.gov