This is a NOAA Weather Alert command, designed to work with this IFTTT recipe:
https://ifttt.com/recipes/275026-noaa-weather-alert-for-voxcommando.
It:
1. Gives a TTS warning whenever NOAA updates its alert feed (and IFTTT processes it).
2. Displays a bright red OSD warning.
3. Automatically opens the NOAA web page with the weather alert details.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.2-->
<command id="645" name="NOAA weather alert" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Combine w/ IFTTT recipe https://ifttt.com/recipes/275026-noaa-weather-alert-for-voxcommando">
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param>(.*?)issued</param>
<param />
<param>{1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<params>
<param>Weather alert: {Match.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Weather alert: {1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Launching weather feed now.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.OpenURL</cmdType>
<params>
<param>{3}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param>(\w.*?)[\.\.\.|$]</param>
<param><![CDATA[ ]]></param>
<param>{2}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.SetColors</cmdType>
<params>
<param>FFFFFF</param>
<param>FF0000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>Alert:</param>
<param>8000</param>
<param>-10</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.AddText</cmdType>
<params>
<param>{Match.{i}}</param>
</params>
<cmdRepeat>{#M}</cmdRepeat>
</action>
<event>NOAA.Alert</event>
</command>
Instructions:
1. In the IFTTT recipe, you should replace the location code with your own.
2. Create a Dropbox folder Dropbox\IFTTT\Alerts, or else change the file path used in the IFTTT recipe.
3. To use IFTTT with VoxCommando, you need to enable the Watcher plugin and watch the appropriate Dropbox folder (see screenshot).
NOTE: NOAA is only useful for U.S. residents, but this can be adapted for other RSS feeds. You'll want to make some changes to the command and the IFTTT recipe. (In this command I'm stripping out "..." characters from the NOAA feed, among other things -- so it's very specific to the NOAA feed.)