Author Topic: RSS Feed  (Read 728 times)

0 Members and 1 Guest are viewing this topic.

Offline vinesweather

  • Forecaster
  • *****
  • Posts: 382
    • The Vines Weather
RSS Feed
« on: May 30, 2025, 09:24:02 AM »
Hi
Does anyone have a simple RSS feed script I could use for Saratoga templates? I have searched the forum but can't actually find a script.
Many thanks
Chris

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9723
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: RSS Feed
« Reply #1 on: May 30, 2025, 10:18:32 AM »
Did you want a script that could display a RSS feed in the template, or did you want a RSS feed that would show changes to the Saratoga template script set?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline vinesweather

  • Forecaster
  • *****
  • Posts: 382
    • The Vines Weather
Re: RSS Feed
« Reply #2 on: May 30, 2025, 03:02:20 PM »
Hi Ken

Both please.  [tup]

Chris

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9723
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: RSS Feed
« Reply #3 on: May 30, 2025, 04:01:09 PM »
For the latter (a RSS feed of updates to the Saratoga templates, use https://saratoga-weather.org/rss-scripts.php in your RSS reader).

To display RSS data on your site, you could use JavaScripts from https://stackoverflow.com/questions/10943544/how-to-parse-an-rss-feed-using-javascript

For a PHP-native version, you could adapt my rss-tropical-test.php script  or
my SPC RSS script to read/display your feed after some reprogramming.

I hope this helps...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline vinesweather

  • Forecaster
  • *****
  • Posts: 382
    • The Vines Weather
Re: RSS Feed
« Reply #4 on: June 02, 2025, 03:19:06 PM »
Thanks Ken. I will start to try and make the SPC and tropical ones relevant to my site. It's going to be a great project with lots of learning.

I saw this in a post somewhere,

https://surfing-waves.com/feed.htm

It allows you to create a widget of any RSS feed, and gives the script. You can then customise it for your site. Mine is here

vinesweather.com
I'm still trying to tweak it so fits in the page.
Cheers
Chris

« Last Edit: June 02, 2025, 03:32:06 PM by vinesweather »