RSS feed -

57 views
Skip to the first unread message

Tom Cichowicz

unread,
20 Sept 2020, 8:17:14 am20/9/20
to weewx-user
I'm trying to figure out how/where the RSS Feed link is defined?

It is creating links to pages that don't exist and they have a double slash withing the URL.

ie.  
<title>Monthly Weather Summary as of 09/20/2020 08:10:00 AM</title>
<link>http://www.mpython.com/weather//month.html</link>

can anyone shed some light on this?

Tom Keffer

unread,
20 Sept 2020, 8:49:40 am20/9/20
to weewx-user
You didn't say what skin you are using, but on the assumption it's the Seasons skin, the rss template is skins/Seasons/rss.xml.tmpl.

The double slash is probably being caused because the URL you specified in weewx.conf has a trailing slash. Just remove it.

[Station]
  ...
  station_url = http://www.mpython.com/weather/   <-- Remove the trailing slash

-tk



--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4a1ba6ce-9379-4a0d-8d2a-eb9c65fd4e9bn%40googlegroups.com.

Tom Cichowicz

unread,
20 Sept 2020, 12:13:45 pm20/9/20
to weewx-user
tk;

   thanks for the info ...  (following your instructions did remove the double //slash - THANKS)  I'm using the default skin  - Seasons - what is confusing me is that the RSS feed is creating links to pages that do not exist, nor the Seasons skin has .tmpl files for. So I'm assuming that's why they are NOT being created? I tried copying those files (week.html.tmpl , month.html.tmpl, year.html.tmpl) to the Seasons skin folder - however, no files have yet to be created.

 As you can assume this is all very new to me, still trudging through the 'How to ' sections of documentation..

 Also still figuring out how the whole thing does what it does.

 I have not proceeded to implement the RSS feed as a goal, it's just that When I added the rss.xml file as provided to my RSS feed reader - it creates feed/links/pages that are 404 error-broken. Hence I'm trying to fix those as I've discovered them.

Tom Keffer

unread,
20 Sept 2020, 5:17:51 pm20/9/20
to weewx-user
It appears that the RSS template in the Seasons skin was carried over from the old Standard skin, but never updated so that the links would work with the new skin. 

I've created issue #608 to track.

I guess that goes to show how often the RSS feed is used!

-tk


Tom Cichowicz

unread,
20 Sept 2020, 10:52:04 pm20/9/20
to weewx-user
Thanks ...

    I've trimmed down my rss.xml.tmpl - to remove those additional page/links so I'm 404 error free now.



Reply all
Reply to author
Forward
0 new messages