Actually, I have one more related thought. Having wind direction show up in the RSS and Twitter feeds is important, but I'd like to also have the max wind gust show up as well. What do I need to change or add to make that happen?
As always, I really appreciate the help. :) On Fri, Oct 12, 2018 at 4:04 PM Kevin Lloyd <[email protected]> wrote: > Finally found some time to figure this out today! Your suggestions worked, > Gary! Thank you so much for helping me with that! Hopefully others will > benefit as well! :) > > On Tue, Oct 9, 2018 at 6:33 AM Kevin Lloyd <[email protected]> > wrote: > >> I am indeed referring to that xml file. Thank you so much, Gary! I'll >> backup the tmpl file and give that a try and see what happens, and post an >> update here. :) >> >> On Mon, Oct 8, 2018 at 6:20 PM gjr80 <[email protected]> wrote: >> >>> Hi, >>> >>> When you refer to the 'RSS feed' I presume you are referring to the >>> weewx_rss.xml file that appears in public_html/RSS ? >>> >>> You can control what appears in weewx_rss.xml through the >>> skins/Standard/RSS/weewx_rss.xml.tmpl template file. `Wind: 6 km/h from >>> 106°` will likely be produced by the following: >>> >>> $current.windSpeed from $current.windDir >>> >>> though it really depends on what you are picking up and tweeting from >>> weewx_rss.xml. In this case the tag $current.windDir will give you a >>> numeric direction with degree sign (the default format). If you change that >>> to use $current.windDir.ordinal_compass instead of just $current.windDir >>> you will get an ordinal direction like ESE. If you wan to include both you >>> could use $current.windDir ($current.windDir.ordinal_compass) or >>> $current.windDir.ordinal_compass >>> ($current.windDir) to get 106° (ESE) or ESE (106°) respectively. >>> >>> You might want to have a read through the Tags section >>> <http://weewx.com/docs/customizing.htm#Tags> of the Customization Guide >>> <http://weewx.com/docs/customizing.htm> or if you are really >>> adventurous the Wind section >>> <http://weewx.com/docs/customizing.htm#Wind>. >>> >>> Any changes you do make to weewx_rss.xml.tmpl should be safe across >>> WeeWX upgrades but you may wish to make a copy of your modified >>> weewx_rss.xml.tmpl just in case. >>> >>> Gary >>> >>> PS. You may also want to have a look at the twitter extension >>> <https://github.com/weewx/weewx/wiki/twitter>, might save you a bit of >>> double handling. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> *Kevin Lloyd* >> @kevinlovestech <http://www.twitter.com/kevinlovestech> >> 780-937-7428 >> > > > -- > *Kevin Lloyd* > @kevinlovestech <http://www.twitter.com/kevinlovestech> > 780-937-7428 > -- *Kevin Lloyd* @kevinlovestech <http://www.twitter.com/kevinlovestech> 780-937-7428 -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
