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 feed on my web page

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

Moderator: daj

User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

There seems to be an unwanted <. following the forecast ?
Image
......................Imagine, what you will KNOW tomorrow !
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: RSS feed on my web page

Post by BCJKiwi »

Thanks,
Thought I had killed that - have now! NOTE! betejuice's comment only related to the running version not the previously posted attachment! This resulted from testing a php version of the rss file which is now running on public site.
This enables the inclusion of php code amongst the xml - hence the forecast!

To convert the .rss file to .php (and enable the use of php inside the xml) a simple change to the previously posted file
may be made - just add this to the top of the file before anything else ;

Code: Select all

<?php
 header("Content-Type: application/xml; charset=UTF-8");
 ?>
Then change the output file that Cumulus delivers to cumulus.php
And change the link in the webpage to suit.

You can then add php file or variables into the xml - note, you still need to use the < versions of the '<' etc for the plain xml sections.

The table row entry that is providing the forecast is;

Code: Select all

				<tr>
					<td colspan="3">
						<strong>Sager 12 - 24 hr forecast:</strong> <?php include_once('sagerCW.php'); ?>
					</td>
				</tr>
NOTE This is not the standard sager script from Buford T. Justice.
User avatar
studebaker
Posts: 91
Joined: Mon 14 Feb 2011 6:27 pm
Weather Station: National Geographic 265NC
Operating System: Windows 10
Location: Kemptville, On, Canada
Contact:

Re: RSS feed on my web page

Post by studebaker »

Would someone check out my site and advise if my RSS link works?
Thanks
http://web.ripnet.com/~mbkerr/index.HTM
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: RSS feed on my web page

Post by BCJKiwi »

Looks good from here - you might want the remove the last tr - /tr which won't ever have data unless you manually enter it.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

2 x pubDate
1 x lastBuildDate

Why so many (all GMT) ?
Because the 2nd pubDate is in <item> it is seen, but this is (obviously in this case) not the same as the 'time' shown.

Wouldn't it be better to have record date / time there ?
Image
......................Imagine, what you will KNOW tomorrow !
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: RSS feed on my web page

Post by mm23 »

Can somebody please help me. ....
The name of my Cumulus folder is "Weather". I place a cumulus.rss file in it.
Cumulus web page open when I open http://www.mydomain.com/weather and also when i open http://www.mydomain.com/weather/index.htm. Well, this is the same page, but I only see my rss link (icon) on second one. Previously I put a tobyspound href line in it (index.htm) When i Click on that icon, new tab (viewing feed) open but there is no data on it.
I attached my cumulus.rss file......so please be kind and see what I done wrong?

Thanks

Edit: Now I see that my .../wether page refresh normally but without my rss icon on it, and that my ../weather/index.htm page have an rss icon on it but the last refreshing time is at 12.40...how is that? :roll:
You do not have the required permissions to view the files attached to this post.
Last edited by mm23 on Fri 28 Feb 2014 1:41 pm, edited 1 time in total.
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

How about a 'real' link to your site ?
Image
......................Imagine, what you will KNOW tomorrow !
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: RSS feed on my web page

Post by mm23 »

Image
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: RSS feed on my web page

Post by tobyspond »

At the top of the rss file, try changing the encoding to UTF-8
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

Edit: Now I see that my .../wether page refresh normally but without my rss icon on it, and that my ../weather/index.htm page have an rss icon on it but the last refreshing time is at 12.40...how is that? :roll:
First of all did you modify your indexT.htm file ?
Do you have more than one version of index.??? in your site weather/ directory ?

Your webspace is a little odd in that .php is being redirected to .htm (if .php is not found), but any other extension returns a 404 (file not found)

I could not find your page with the RSS link on (perhaps you have removed it ?)

I would tentatively agree with changing the RSS file to utf-8, and also suggest getting rid of the <ttl>1</ttl> line.
Image
......................Imagine, what you will KNOW tomorrow !
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: RSS feed on my web page

Post by mm23 »

Now I modified my c/cumulus/IndexT page and place into it a href line. I got rss feed icon on my cumulus web page (http://www.sibenikusrcu.com/weather) but when I click into it (the icon) new web tab try to open and in the same time small window appears offering a new bookmark (folder) to store with new link (http://www.sibenikusrcu.com/weather/cumulus.rss). If I bookmark that folder and try to open it, below the folder (in boolmarks tool bar) link stands and below the link there is a "live bookmark field faild to load". If I try to open it, it leads me again on my cumulus web page.
.....I change my RSS file to utf-8, and also change the <ttl>1</ttl> line to 10

edit: also change my hrefline in........."/weather/cumulus.rss" title="Subscribe...........".....which also I can't see (Title)
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

Your file has NOT been processed by Cumulus !

It still contains <#webtags> which stuff the xml.
Image
......................Imagine, what you will KNOW tomorrow !
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: RSS feed on my web page

Post by mm23 »

..........what do I do than?
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: RSS feed on my web page

Post by beteljuice »

For the rss / xml file
... so you need to add it to your files to be processed then uploaded (ftp) by Cumulus.
Image
......................Imagine, what you will KNOW tomorrow !
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: RSS feed on my web page

Post by mm23 »

beteljuice wrote:For the rss / xml file
... so you need to add it to your files to be processed then uploaded (ftp) by Cumulus.
Sorry, but I am not sure what really does that mean.
Here I am attached my "masterpiece" :roll: xml and indexT file with my href line at line no. 11
please be kind and tell me what's wrong in there

http://www.sibenikusrcu.com/weather
You do not have the required permissions to view the files attached to this post.
Image
Post Reply