Advertisement
Guest User

Tasker-Fetch and speak weather

a guest
Jun 19th, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.97 KB | None | 0 0
  1. <TaskerData sr="" dvi="1" tv="4.7u1m">
  2. <Task sr="task39">
  3. <cdate>1346559128768</cdate>
  4. <edate>1434675787277</edate>
  5. <id>39</id>
  6. <nme>Fetch and say Weather</nme>
  7. <pri>100</pri>
  8. <Action sr="act0" ve="7">
  9. <code>118</code>
  10. <Str sr="arg0" ve="3">rss.weatherzone.com.au</Str>
  11. <Str sr="arg1" ve="3">/?u=12994-1285&lt=aploc&lc=624&obs=1&fc=1&warn=1</Str>
  12. <Str sr="arg2" ve="3"/>
  13. <Str sr="arg3" ve="3"/>
  14. <Str sr="arg4" ve="3"/>
  15. <Int sr="arg5" val="10"/>
  16. <Str sr="arg6" ve="3">text/xml</Str>
  17. <Str sr="arg7" ve="3">weather.txt</Str>
  18. <Int sr="arg8" val="0"/>
  19. </Action>
  20. <Action sr="act1" ve="7">
  21. <code>547</code>
  22. <Str sr="arg0" ve="3">%res</Str>
  23. <Str sr="arg1" ve="3">%HTTPD</Str>
  24. <Int sr="arg2" val="0"/>
  25. <Int sr="arg3" val="0"/>
  26. </Action>
  27. <Action sr="act10" ve="7">
  28. <code>598</code>
  29. <Str sr="arg0" ve="3">%now</Str>
  30. <Str sr="arg1" ve="3">\S+\ssince\s[0-9]+[a-z]{2}</Str>
  31. <Int sr="arg2" val="0"/>
  32. <Int sr="arg3" val="0"/>
  33. <Int sr="arg4" val="1"/>
  34. <Str sr="arg5" ve="3">%rain</Str>
  35. <Int sr="arg6" val="0"/>
  36. <Str sr="arg7" ve="3"/>
  37. </Action>
  38. <Action sr="act11" ve="7">
  39. <code>559</code>
  40. <Str sr="arg0" ve="3">
  41. It is %temp degree, %hum1 humidity now. There is rain of %rain1.
  42. </Str>
  43. <Str sr="arg1" ve="3">default:default</Str>
  44. <Int sr="arg2" val="3"/>
  45. <Int sr="arg3" val="6"/>
  46. <Int sr="arg4" val="5"/>
  47. <Int sr="arg5" val="1"/>
  48. <Int sr="arg6" val="0"/>
  49. <Int sr="arg7" val="0"/>
  50. </Action>
  51. <Action sr="act2" ve="7">
  52. <code>590</code>
  53. <Str sr="arg0" ve="3">%res</Str>
  54. <Str sr="arg1" ve="3">Current weather</Str>
  55. <Int sr="arg2" val="0"/>
  56. </Action>
  57. <Action sr="act3" ve="7">
  58. <code>590</code>
  59. <Str sr="arg0" ve="3">%res2</Str>
  60. <Str sr="arg1" ve="3">weather forecast</Str>
  61. <Int sr="arg2" val="0"/>
  62. </Action>
  63. <Action sr="act4" ve="7">
  64. <code>547</code>
  65. <Str sr="arg0" ve="3">%now</Str>
  66. <Str sr="arg1" ve="3">%res21</Str>
  67. <Int sr="arg2" val="0"/>
  68. <Int sr="arg3" val="0"/>
  69. </Action>
  70. <Action sr="act5" ve="7">
  71. <code>547</code>
  72. <Str sr="arg0" ve="3">%fore</Str>
  73. <Str sr="arg1" ve="3">%res22</Str>
  74. <Int sr="arg2" val="0"/>
  75. <Int sr="arg3" val="0"/>
  76. </Action>
  77. <Action sr="act6" ve="7">
  78. <code>598</code>
  79. <Str sr="arg0" ve="3">%now</Str>
  80. <Str sr="arg1" ve="3">[0-9]+\S[0-9]&</Str>
  81. <Int sr="arg2" val="1"/>
  82. <Int sr="arg3" val="1"/>
  83. <Int sr="arg4" val="1"/>
  84. <Str sr="arg5" ve="3">%temp</Str>
  85. <Int sr="arg6" val="0"/>
  86. <Str sr="arg7" ve="3"/>
  87. </Action>
  88. <Action sr="act7" ve="7">
  89. <code>590</code>
  90. <Str sr="arg0" ve="3">%temp1</Str>
  91. <Str sr="arg1" ve="3">&</Str>
  92. <Int sr="arg2" val="0"/>
  93. </Action>
  94. <Action sr="act8" ve="7">
  95. <code>547</code>
  96. <Str sr="arg0" ve="3">%temp</Str>
  97. <Str sr="arg1" ve="3">%temp11</Str>
  98. <Int sr="arg2" val="0"/>
  99. <Int sr="arg3" val="0"/>
  100. </Action>
  101. <Action sr="act9" ve="7">
  102. <code>598</code>
  103. <Str sr="arg0" ve="3">%now</Str>
  104. <Str sr="arg1" ve="3">[0-9]+%</Str>
  105. <Int sr="arg2" val="0"/>
  106. <Int sr="arg3" val="0"/>
  107. <Int sr="arg4" val="0"/>
  108. <Str sr="arg5" ve="3">%hum</Str>
  109. <Int sr="arg6" val="0"/>
  110. <Str sr="arg7" ve="3"/>
  111. </Action>
  112. </Task>
  113. </TaskerData>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement