Keyword

My RSS fails to load

  • David Uehara
  • David Uehara's Avatar Topic Author
  • Offline
  • New Member
More
6 days 10 hours ago #169100 by David Uehara
David Uehara created the topic: My RSS fails to load
I'm sorry if this was covered before, but I haven't been able to find an answer when I skimmed through the previous topics. Our feed was working before, and our developers said nothing changed, but it stopped working for me.

The feed is from www.hba.net/rss.cfm?news=3 .

Here's the error message I recieve:

Warning: fopen( www.hba.net/rss.cfm?news=3 ): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /volume1/web/joomla/libraries/joomla/filesystem/file.php on line 335

JFile: :read: Unable to open file: www.hba.net/rss.cfm?news=3

Failed loading XML...

Attached is the image of the error message if that helps.

I just created a new site using Joomla 3.8.4 so I thought I'd try this module again. It was easy to use and I liked how it looked.
Thank you for any help you can give me.
David
Attachments:

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
6 days 2 hours ago #169105 by Fotis
Fotis replied the topic: My RSS fails to load
It's not a problem with the module. The feed source is empty: jmp.sh/CF4fLDQ

Sites change, so they may have changed their URLs for feeds.

Also, make sure you use Joomla 3.8.12 (latest at the time of writing).


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • David Uehara
  • David Uehara's Avatar Topic Author
  • Offline
  • New Member
More
5 days 16 hours ago #169119 by David Uehara
David Uehara replied the topic: My RSS fails to load
Thank you. I'm so sorry, but that source did have some info yesterday. I think they are changing things.

Here's some new feeds from their site.

www.hba.net/fs/post-manager/boards/8/posts/feed
www.hba.net/fs/post-manager/boards/9/posts/feed

Sorry about the change.
David

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 days 1 hour ago #169124 by Fotis
Fotis replied the topic: My RSS fails to load
Well, did you try these new feeds?


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • David Uehara
  • David Uehara's Avatar Topic Author
  • Offline
  • New Member
More
4 days 3 hours ago #169135 by David Uehara
David Uehara replied the topic: My RSS fails to load
Yes. Same issue.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 days 1 hour ago - 3 days 1 hour ago #169146 by Fotis
Fotis replied the topic: My RSS fails to load
Although the feeds are visible in the browser, their server is detecting if the client retrieving the XML has a user agent string set. Which is kinda stupid if you ask me as a feed is bound to be retrieved by other sites or apps which would not set any "user agent" string.

If you're dying to add their feeds, edit the module's helper.php file (until I add it as an option) and around line 263 edit the code from:
if(ini_get('allow_url_fopen')){

to
if(ini_get('allow_url_fopen')){
    stream_context_get_default(array('http' => array('user_agent' => 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36')));

This will enforce a user agent string and trick their "protection" to serve you the XML file.

Result? jmp.sh/HWknPEQ


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member
Last Edit: 3 days 1 hour ago by Fotis.

Please Log in or Create an account to join the conversation.

  • David Uehara
  • David Uehara's Avatar Topic Author
  • Offline
  • New Member
More
2 days 14 hours ago #169166 by David Uehara
David Uehara replied the topic: My RSS fails to load
Thank you. I'm not sure why it is setup the way it is, but I tried your fix and it works. I really appreciate you looking into it and for giving me a fix.
Mahalo.
David

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 days 59 minutes ago #169176 by Fotis
Fotis replied the topic: My RSS fails to load
You're welcome.

If you like "Simple RSS Feed Reader", please devote a couple of minutes to review/rate it at the Joomla Extensions Directory here: extensions.joomla.org/extension/simple-rss-feed-reader/

It helps other users as well :)

Thank you.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.