RSS Aggregator

Started by shawnb61, September 18, 2024, 12:11:01 AM

Previous topic - Next topic

shawnb61

A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

Here are some of the feeds I've been checking out.  If you setup a board for your feeds, I find the Swipe LR mod helps nicely with navigation - it's part of the reason I wrote it (https://custom.simplemachines.org/index.php?mod=4400)...  Also, of course, the Simple Audio Video Embedder mod enhances the media experience (https://custom.simplemachines.org/index.php?mod=2681).

West Coast News:
LA Times: https://www.latimes.com/local/rss2.0.xml
SF Public Press: https://sfpublicpress.org/news/feed
Mission Local: https://missionlocal.org/feed
SF Bay View: https://sfbayview.com/feed
SF Gate: https://www.sfgate.com/bayarea/feed/bay-area-news-429.php
SF Gate Sports: https://www.sfgate.com/rss/feed/top-sports-stories-rss-feed-487.php
SFist: https://sfist.com/rss/
SF Local News Matters: https://localnewsmatters.org/feed
SF Standard: https://sfstandard.com/feed
48 Hills: https://48hills.org/feed
The SF News: https://thesfnews.com/feed

Music:
Roland Articles: https://articles.roland.com/feed/
Avant Music News: https://mastodon.social/@avantmusicnews.rss
Bird and Beckett: https://birdbeckett.com/feed/
Bonkwave: https://bonkwave.org/board/index.php?action=.xml;type=atom
Flock of Nazguls: https://mastodon.flockofnazguls.com/@flockofnazguls.rss
Ether Diver: https://ravenation.club/@etherdiver.rss
VGF Feed: https://www.vguitarforums.com/smf/index.php?action=.xml;type=atom
Shawns Feed: https://techhub.social/@ShawnBulen.rss
Marshmello: https://www.youtube.com/feeds/videos.xml?channel_id=UCEdvpU2pFRCVqU6yIPyTpMQ

Misc:
Weather West - detailed weather & climate analysis: https://www.youtube.com/feeds/videos.xml?channel_id=UCO7BsGV9Ghpo5llUkeqK47w
NASA: https://social.beachcom.org/@nasa.rss
Indivisible: https://mastodon.social/@indivisibleteam.rss
Xkcd atom: https://xkcd.com/atom.xml
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

1.0.5 release fixes a couple minor errors.
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

1.1.0 improves formatting a bit, & deals with a bug due to overzealous strip_tags()...
A question worth asking is born in experience & driven by necessity. - Fripp

Sudhakar Arjunan

Useful mod, tied in 2.1.4 and worked fine and rss feed runs perfectly.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

mcdconcepts

Hello
No matter what I do, I keep getting Invalid Board.

Please advise what I need to do.
Thanks
Chris

shawnb61

You enter the board # in the Board field.  The edits are pretty simple, the board must exist & have a name. 
A question worth asking is born in experience & driven by necessity. - Fripp

mcdconcepts

Ah. Many thanks. Though I still can't get it to work. Please see image of my settings.
My site
https://vinesweather.com/



mcdconcepts

It's started working. All good. 8)

mcdconcepts

Althougfh it's working, I'm getting this error in the logs

 Guest
 https://vinesweather.com/forum/cron.php
 /home/vinesweather/public_html/forum/Sources/RSSAggregatorModel.php (Line 518)  Backtrace information

Type of error: Database
Error messageSelect
Database Error: Data too long for column 'description' at row 1

Please advise what I need to do.
Many thanks
Chris

shawnb61

#10
I'm looking into this.  A couple of questions:

Do you have multiple feeds setup?

When you Browse RSS Feeds, is the status OK on all of them?  If one is not OK, please share the feed link so I can look closely at that feed...

(It bugs me that their links don't work... Looks like a bad redirect on their site - 'warning' vs 'warnings'...)
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

#11
I added some checks to prevent this from happening going forward.

You can download the new version of the mod, version 1.1.1, here:
https://github.com/sbulen/SMF-RSS-Aggregator/releases/tag/v1.1.1

I'm in the middle of getting the new version up on the SMF customization site; you can pull it directly from GitHub until it's up.
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

Regarding their buggy URLs...  Their RSS feed presents URLs in this format:
  http://www.weatherzone.com.au/warning.jsp?id=IDW21033

Which, if you follow the link, are redirected to these URLs, which don't work:
  https://www.weatherzone.com.au/warnings/IDW21033

These, however do work:
  https://www.weatherzone.com.au/warning/IDW21033

I have provided a tweak to the RSS Aggregator logic to fix these weatherzone warning URLs, attached.

Install this modlet ***after updating the RSS Aggregator mod***.

I was going to file a bug report with weatherzone to let them know their RSS urls were buggy, but all I could find was this, which doesn't bode well:
https://www.weatherzone.com.au/about/free-weather-feed

I have found, however, that it's not unusual for a site to say they don't do RSS anymore, when in fact they still provide it, even if well hidden...

Hope this helps,
A question worth asking is born in experience & driven by necessity. - Fripp

mcdconcepts

Quote from: shawnb61 on May 27, 2025, 10:54:19 AMI'm looking into this.  A couple of questions:

Do you have multiple feeds setup?

When you Browse RSS Feeds, is the status OK on all of them?  If one is not OK, please share the feed link so I can look closely at that feed...

(It bugs me that their links don't work... Looks like a bad redirect on their site - 'warning' vs 'warnings'...)

Thanks for the help.
Just the one feed at the moment, status says ok.
I did some further digging as Weatherzone is private company so they must be getting their alerts from The Bureau of Meteorology. Their RSS feeds are here, BoM
I've uploaded installed the new version and WZ fix which works a treat. WZ does bring out some great articles so I will be using some of their RSS feeds in the neare future.

Many thanks for your time and effort in this, much appreciated.
Chris

mcdconcepts

I'm getting this error in error log.

QuoteGuest
 https://vinesweather.com/forum/cron.php
 /home/vinesweather/public_html/forum/Sources/ScheduledTasks.php (Line 1773)  Backtrace information

Type of error: Cron
Error messageSelect
2: require_once(/home/vinesweather/public_html/forum/Sources/Subs-RSS2.php): Failed to open stream: No such file or directory

There is no file Subs-RSS2.php

Again many thanks.
Chris

shawnb61

That doesn't look like it has to do with this mod, because it doesn't use subs-rss2.php. Which isn't an SMF file either.

Can you show the backtrace?

Did you try other mods?
A question worth asking is born in experience & driven by necessity. - Fripp

mcdconcepts

Yup apologies. It's a Tiny Portal issue.
Chris

@rjen

Quote from: mcdconcepts on May 28, 2025, 11:24:23 AMYup apologies. It's a Tiny Portal issue.
Chris

Nope, it is not. TinyPortal does also not call subs-rss2.php. That file is not in tinyportal either.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

mcdconcepts


shawnb61

The latest version is now downloadable directly from the customization site.  No need to use the link above any more.
A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: