Twitter.txt: Difference between revisions

214 bytes added ,  07:29, 15 September 2012
Line 38: Line 38:
The equivalent of the default 'tweet' as a <tt>twitter.txt</tt> file is as follows:
The equivalent of the default 'tweet' as a <tt>twitter.txt</tt> file is as follows:
  Wind <#wspeed> <#windunit> <#wdir>. Barometer <#press> <#pressunit>, <#presstrend>. Temperature <#temp> <#tempunit>. Rain today <#rfall> <#rainunit>. Humidity <#hum>%
  Wind <#wspeed> <#windunit> <#wdir>. Barometer <#press> <#pressunit>, <#presstrend>. Temperature <#temp> <#tempunit>. Rain today <#rfall> <#rainunit>. Humidity <#hum>%
You might find the degree symbol from <#tempunit> is displayed by Twitter as &deg; in which case the simple solution is to 'hard code' your temperature units in the twitter.txt file rather than using the web tag.


[[Category: Configuration Files]]
[[Category: Configuration Files]]