Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

RSS feed in new page on Saratoga Templates

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
User avatar
ConligWX
Posts: 1619
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

RSS feed in new page on Saratoga Templates

Post by ConligWX »

Hi there

I would like to add the content of a RSS feed if possible from this page:

http://rnli.org/findmynearest/station/P ... ?&RSS=true

is there an easy way to do this in a new php page and display it correctly or would I need to add the content via an <iframe src> tab to a different page type like this one:

http://www.rnli.org/NewsCentre/_layouts ... 173e0eda78

Thanks for any help...
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: RSS feed in new page on Saratoga Templates

Post by saratogaWX »

Sadly, there's not an 'easy way' to take an RSS feed and convert it to a display on your site.. it does require programming.

There's a PHP script called SimplePie that is a generic RSS/XML feed reader that can get the data, but you have to make a program to use it to get the data from the feed, then print the output in the format you desire.

There are also JavaScript versions which use AJAX (and a host-based RSS->JSON converter) to do similar things.. again, not simple or easy, but doable.
User avatar
PaulMy
Posts: 3830
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: RSS feed in new page on Saratoga Templates

Post by PaulMy »

I had a RSS http://www.komokaweather.com/weather/im ... -large.png link working on my sites www.komokaweather.ca (bottom of menu) but now not displaying correctly for some reason. I notice the same issue on the author's site. Will have to investigate.

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
Image
Post Reply