- Posts: 4
COMMUNITY FORUM
My RSS fails to load
- David Uehara
- Topic Author
- Offline
- New Member
Less
More
6 years 2 months ago #169100
by David Uehara
My RSS fails to load was created by David Uehara
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
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
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169105
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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).
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).
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- David Uehara
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
6 years 2 months ago #169119
by David Uehara
Replied by David Uehara on 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
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169124
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic My RSS fails to load
Well, did you try these new feeds?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- David Uehara
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
6 years 2 months ago #169135
by David Uehara
Replied by David Uehara on topic My RSS fails to load
Yes. Same issue.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago - 6 years 2 months ago #169146
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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:
to
This will enforce a user agent string and trick their "protection" to serve you the XML file.
Result? jmp.sh/HWknPEQ
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
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 6 years 2 months ago by JoomlaWorks.
Please Log in or Create an account to join the conversation.
- David Uehara
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
6 years 2 months ago #169166
by David Uehara
Replied by David Uehara on 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
Mahalo.
David
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169176
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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 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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.