Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Unsure what to put into twitter.txt ???

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Leigh Preece
Posts: 14
Joined: Thu 23 Jul 2009 10:23 pm
Weather Station: Fine Offset WH1081
Location: Stoke on Trent
Contact:

Unsure what to put into twitter.txt ???

Post by Leigh Preece »

Hello everyone!

I have been using Cumulus for a while for my student's weather station at school and now running at home with a Fine Offset unit here in Stoke on Trent.

Trying the twitter update add on and think it's fantastic but I'm not sure what to put into the twitter.txt file - do I use commas, etc, or just the tags I require?

Currently outputting (last tweet): Wind 12.4 mph W. Barometer 1016.0 mb, Rising slowly. Temperature 15.6 °C. Rain today 3.6 mm. Humidity 73%

- and would just like to add the Forecast.

Any hints or what should the file contain?

Twitter username: SixTownsWeather

Next stop - website and outputting to the various weather sites too.

Thanks.

Leigh.....
Six Towns Weather for Stoke on Trent, Newcastle Under Lyme and North Staffordshire.

Visit here: http://www.sixtownsweather.org.uk

Also tweeting to twitter: http://www.twitter.com/SixTownsWeather
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Unsure what to put into twitter.txt ???

Post by steve »

The twitter.txt file just contains whatever you want to tweet, using the web tags (as described in the help file) wherever you want your current readings substituted. So, for example, if the file contained:

Code: Select all

Wind <#wspeed> <#windunit>, Forecast: <#forecast>
That would come out, for example, as:

Code: Select all

Wind 12.4 mph, Forecast: Showery, bright intervals
Bear in mind the Twitter 140-character limit. I think the longest Cumulus-generated forecast is about 40 characters, so allow for that when you construct your text. You couldn't add the forecast to the end of the tweet that you've quoted, for example, and expect it to work all the time.
Steve
Leigh Preece
Posts: 14
Joined: Thu 23 Jul 2009 10:23 pm
Weather Station: Fine Offset WH1081
Location: Stoke on Trent
Contact:

Re: Unsure what to put into twitter.txt ???

Post by Leigh Preece »

Steve - thank you - just a simple query I guess.
Six Towns Weather for Stoke on Trent, Newcastle Under Lyme and North Staffordshire.

Visit here: http://www.sixtownsweather.org.uk

Also tweeting to twitter: http://www.twitter.com/SixTownsWeather
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: Unsure what to put into twitter.txt ???

Post by w5afw »

The included twiter script works fine, but I can't get my custom script to upload. I composed it correctly, named it twitter.txt and put it in the same directory as culumus.exe, but no joy. Help, please. Thanks, lex
W5AFW, Lex

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Unsure what to put into twitter.txt ???

Post by steve »

After you've put the twitter.txt in the application directory, does it continue to tweet the standard message, or does it stop tweeting?
Steve
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: Unsure what to put into twitter.txt ???

Post by w5afw »

yes
W5AFW, Lex

Image
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: Unsure what to put into twitter.txt ???

Post by w5afw »

sorry, yes it continues tweeting the stock enery
W5AFW, Lex

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Unsure what to put into twitter.txt ???

Post by steve »

It must be unable to find the twitter.txt file, but I can't imagine how. If you attach it here, I'll have a look at it, but I can't see how it would be a problem with the file itself. What version of Windows are you using?
Steve
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: Unsure what to put into twitter.txt ???

Post by w5afw »

curious; using xp pro
You do not have the required permissions to view the files attached to this post.
W5AFW, Lex

Image
User avatar
w5afw
Posts: 154
Joined: Thu 29 Jan 2009 8:48 pm
Weather Station: ws-2315
Location: Houston, the Eagle has landed, TX
Contact:

Re: Unsure what to put into twitter.txt ???

Post by w5afw »

found it--hidden suffix in file view options; working now. thanks
W5AFW, Lex

Image
Post Reply