On Saturday, February 8, 2020 at 11:11:48 AM UTC-5, Thomas Keffer wrote:
>
> You can add the text in the template. The key is to test for the raw 
> value, using the .raw suffix. Something like (NOT TESTED):
>
> #set trend_raw = $trend.barometer.raw
>

that works for cheetah templates, but the weewx-twitter extension does not 
use cheetah.  it uses regex to match data fields.

that means you are limited to the fields in loop packets or archive records.

the 'trend' variable is available only in cheetah templates.

sorry!  when i wrote weewx-twitter:

- i was unsure of all the cheetah behavior
- i was going for simplicity, not full reporting functionality
- consistency with the rest of the weewx reporting infrastructure was not 
in my scope
- i explicitly did *not* want db queries to happen in the tweeter

as a result, tk has grief every time someone mentions the weewx-twitter 
extension :/

anyone want to do a merge request to make weewx-twitter support cheetah 
variables?

m

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/abecace9-0d48-417b-83dc-6b8f95d9439f%40googlegroups.com.

Reply via email to