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

RSS Cumulus conditions and Facebook

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

Moderator: daj

Post Reply
User avatar
kingqueen
Posts: 60
Joined: Tue 26 Feb 2013 6:52 pm
Weather Station: Maplin N96GY / Fine Offset 1081
Operating System: Windows 7 HP 64 bit
Location: Wetherby, UK
Contact:

RSS Cumulus conditions and Facebook

Post by kingqueen »

I got sick of the flaky (at best) Twitter to Facebook integration and so decided to update Facebook independently by RSS. I thought it might potentially be of use to somebody else so I thought I'd put it here.

It is relatively easy to create a RSS feed for the current conditions using the Webtags facility. I attach a genericised version of what I use. You'd need to edit this to put in your web address and email address where indicated, and choose a Time To Live (how long subscribing services should wait before checking for new items.) Then tell Cumulus to process and upload it. The result is a one entry RSS feed. Mine is at http://www.wetherbyweather.org.uk/cumulus.rss

Then use a RSS feed to Facebook service. I use RSS Graffiti https://apps.facebook.com/rssgraffiti/ . Add http://www.yourwebsite/path/to/cumulus.rss as a source, and select your profile or page as the destination. I tell mine to update every hour, and to use Standard post style, no "Text to Box", with 0 (no) in Shorten to.

It works; I get the current conditions posted on my Wetherby Weather Facebook page every hour.

It is possible to doctor what I've done and use a linux or PHP script to create a true RSS Cumulus conditions feed with multiple entries. To do this, I have a file 1.txt with all the elements up to but not including the first <item>, uploaded to the webspace. I have a 2.txt which consists of the <item> ... </item> section, which Cumulus processes and uploads. Then I have 3.txt on the webspace, which consists of solely </channel></rss>.

I have a Linux shell script uploaded to the server. It concatenates 2.txt and 2.existing.txt back into 2.existing.txt and then crops the last <item></item> using tail 60 lines, so that 2.existing.txt always contains a set number of <item>s. The script then concatenates 1.txt, 2.existing.txt and 3.txt into feed.rss . A cron job runs this shortly after every hour so the conditions on the hour are added as an item to the RSS feed.

It is also possible to post WXSIM forecasts to Facebook automatically using Ken's WXSIM RSS feed script at http://saratoga-weather.org/scripts-WXS ... aintextRSS and RSS Graffiti.
You do not have the required permissions to view the files attached to this post.
Image
inaciovieira
Posts: 54
Joined: Sun 01 May 2011 7:13 pm
Weather Station: Watson
Operating System: Windows 7
Location: Funchal

Re: RSS Cumulus conditions and Facebook

Post by inaciovieira »

Hi, i tried to put the current conditions on fecabook but it isin´t posting it on facebook with RSS grafiiti it dosen´t work, with dlvr it works
Stuart5646
Posts: 3
Joined: Sun 12 Jan 2014 1:57 pm
Weather Station: Fine Offset WG 1081
Operating System: Windows 7
Location: Huddersfield

Re: RSS Cumulus conditions and Facebook

Post by Stuart5646 »

Hi,

Sorry to open a query on this, I'm new to all this and having a bit of a play with all the settings but where do you save the cumulus.rss file to in the installation and how do you get Cumulus to process it?

I've set it in file settings but all that seems to get loaded to my webpage is the script itself

kind regards

Stuart
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: RSS Cumulus conditions and Facebook

Post by gluepack »

Having only just succumbed to Facebook, I was interested in incorporating details from my weather website or Cumulus into my page. Except it is not a "page" by their apparent definition, it is only a timeline ( ? I think, lol). Does that preclude me from doing something like this?
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Post Reply