Twitter.txt: Difference between revisions

289 bytes added ,  09:23, 23 September 2015
no edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 &amp;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. You should probably save your twitter.txt file as 'UTF-8 without BOM'.


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