Cumulus & Twitter. A solution, maybe ...
Posted: Mon 29 Dec 2014 5:13 pm
I've a WH 3080 weather station and a PC Wyse V90 (Win XPe SP2) to elaborate the data by Cumulus (ver. 1.9.4 build 1099).
My website is meteocp.altervista.org.
It is no possible to send data to my account Twitter, error "Could not load SSL library". I've checked the Twitter data in Internet section of Cumulus, but the error is the same.
So I propose to use the web builder of Cumulus to form a RSS:
1) in Cumulus folder you load a txt file (you could write it using Notepad)
I use italian language, but it is simple to change it by checking the RSS tags.
*** START FILE *** (don't write the row such as it, it is used just to explain)
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>METEOCP</title>
<link>http://meteocp.altervista.org</link>
<description>Dati meteo da area urbana di Cinisello Balsamo</description>
<language>it</language>
<atom:link href="http://meteocp.altervista.org/txt/feed.xml" rel="self" type="application/rss+xml"/>
<item>
<title>
Aggiornamento
Temp.: <#temp> C. Vento: <#wspeed> <#windunit> <#wdir>. Press.: <#press> <#pressunit>, <#presstrend>.
Pioggia: <#rfall> <#rainunit>. Umid.: <#hum>%
</title>
<pubDate><#shortdayname>, <#day> <#shortmonthname> <#year> <#timehhmmss> +0100</pubDate>
<guid>http://meteocp.altervista.org/txt/agg.txt</guid>
</item>
</channel>
</rss>
*** END FILE ***
2) in Cumulus program, section Internet, folder Files:
- in "Local filenames" write C:\Cumulus\feed.txt (C:\Cumulus is the folder of the software in your PC; feed.txt is the txt file of previous point)
- in "Remote filenames" write /txt/feed.xml (/txt/ is a new folder in your website)
- flag: process, ftp and utf-8
At last write a txt file (agg.txt) just using the webtags of Cumulus:
*** START FILE ***
Temp.: <#temp>°C. Vento: <#wspeed> <#windunit> <#wdir>. Press.: <#press> <#pressunit>, <#presstrend>. Pioggia: <#rfall> <#rainunit>. Umid.: <#hum>%
*** END FILE ***
- in "Local filenames" write C:\Cumulus\agg.txt
- in "Remote filenames" write /txt/agg.txt
- flag: process, ftp and utf-8
This file is used to complete the <guid> section in RSS.
So when Cumulus processes the file txt, it reads the webtags and it builds a xml file by the weather data. In your website you'll find by ftp the xml file, written like a RSS, ready to schedule it.
3) sending the xml file to twitter account
I use Twitterfeed, updating data every half hour. My twitter account is @meteoCinisello.
I hope this trick help you to solve the problem to send data to Twitter account.
Greetings from Italy
My website is meteocp.altervista.org.
It is no possible to send data to my account Twitter, error "Could not load SSL library". I've checked the Twitter data in Internet section of Cumulus, but the error is the same.
So I propose to use the web builder of Cumulus to form a RSS:
1) in Cumulus folder you load a txt file (you could write it using Notepad)
I use italian language, but it is simple to change it by checking the RSS tags.
*** START FILE *** (don't write the row such as it, it is used just to explain)
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>METEOCP</title>
<link>http://meteocp.altervista.org</link>
<description>Dati meteo da area urbana di Cinisello Balsamo</description>
<language>it</language>
<atom:link href="http://meteocp.altervista.org/txt/feed.xml" rel="self" type="application/rss+xml"/>
<item>
<title>
Aggiornamento
Temp.: <#temp> C. Vento: <#wspeed> <#windunit> <#wdir>. Press.: <#press> <#pressunit>, <#presstrend>.
Pioggia: <#rfall> <#rainunit>. Umid.: <#hum>%
</title>
<pubDate><#shortdayname>, <#day> <#shortmonthname> <#year> <#timehhmmss> +0100</pubDate>
<guid>http://meteocp.altervista.org/txt/agg.txt</guid>
</item>
</channel>
</rss>
*** END FILE ***
2) in Cumulus program, section Internet, folder Files:
- in "Local filenames" write C:\Cumulus\feed.txt (C:\Cumulus is the folder of the software in your PC; feed.txt is the txt file of previous point)
- in "Remote filenames" write /txt/feed.xml (/txt/ is a new folder in your website)
- flag: process, ftp and utf-8
At last write a txt file (agg.txt) just using the webtags of Cumulus:
*** START FILE ***
Temp.: <#temp>°C. Vento: <#wspeed> <#windunit> <#wdir>. Press.: <#press> <#pressunit>, <#presstrend>. Pioggia: <#rfall> <#rainunit>. Umid.: <#hum>%
*** END FILE ***
- in "Local filenames" write C:\Cumulus\agg.txt
- in "Remote filenames" write /txt/agg.txt
- flag: process, ftp and utf-8
This file is used to complete the <guid> section in RSS.
So when Cumulus processes the file txt, it reads the webtags and it builds a xml file by the weather data. In your website you'll find by ftp the xml file, written like a RSS, ready to schedule it.
3) sending the xml file to twitter account
I use Twitterfeed, updating data every half hour. My twitter account is @meteoCinisello.
I hope this trick help you to solve the problem to send data to Twitter account.
Greetings from Italy