Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: studentforums on February 16, 2021, 06:39:11 AM

Title: Browser tries to download rss url as a file
Post by: studentforums on February 16, 2021, 06:39:11 AM
I want to use the rss feed from my version f  smf as a "Lattest Posts" feed  one of myy oother websitees
Wheen I put the rss url Forum version: SMF 2.0.17  into a browserr, the browser tries too donload a file.
What is wrong?
Title: Re: Browser tries to download rss url as a file
Post by: Aleksi "Lex" Kilpinen on February 16, 2021, 09:26:58 AM
What browser are you using? Does the same happen here?
https://www.simplemachines.org/community/index.php?action=.xml;type=rss
Title: Re: Browser tries to download rss url as a file
Post by: a10 on February 16, 2021, 09:43:43 AM
May be something. Vintage IE works, both FF & Vivaldi results in

<rss version="0.92" xml:lang="en-US">
<channel>
<title>Simple Machines Community Forum</title>
<link>https://www.simplemachines.org/community/index.php</link>
<description>
Live information from Simple Machines Community Forum
</description>
<item>
<title>Re: Browser tries to download rss url as a file</title>
<link>
https://www.simplemachines.org/community/index.php?topic=576805.msg4082268#msg4082268
</link>
<description>
What browser are you using? Does the same happen here? <br /><a href="https://www.simplemachines.org/community/index.php?action=.xml;type=rss" class="bbc_link" target="_blank" rel="noopener noreferrer">https://www.simplemachines.org/community/index.php?action=.xml;type=rss</a>

etc
Title: Re: Browser tries to download rss url as a file
Post by: studentforums on February 16, 2021, 11:26:28 AM
Quote from: Aleksi "Lex" Kilpinen on February 16, 2021, 09:26:58 AM
What browser are you using? Does the same happen here?
https://www.simplemachines.org/community/index.php?action=.xml;type=rss


Yes it does
Title: Re: Browser tries to download rss url as a file
Post by: Aleksi "Lex" Kilpinen on February 16, 2021, 11:27:26 AM
And what browser are you using?
Title: Re: Browser tries to download rss url as a file
Post by: studentforums on February 16, 2021, 11:32:11 AM
The saae thing doees not happen i every browser.
Am using the feed to display llatest posts in a module on a joomla website but the   module displays error feed not foounnd

Using firefox. Displays OK in Gnome Browser on Ubuntu.
Title: Re: Browser tries to download rss url as a file
Post by: Kindred on February 16, 2021, 12:22:38 PM
it's a firefox setting...

works fine in Chrome...   it aslo works fine if you tell firefox to open it rather than download it.
Title: Re: Browser tries to download rss url as a file
Post by: studentforums on February 16, 2021, 12:26:23 PM
One working now.
Title: Re: Browser tries to download rss url as a file
Post by: studentforums on February 17, 2021, 10:34:21 AM
All fixed.
Bit like magic.
Title: Re: Browser tries to download rss url as a file
Post by: a10 on February 17, 2021, 12:42:54 PM
Still broken here, on FF (esr, latest) & Vivaldi (latest).
Title: Re: Browser tries to download rss url as a file
Post by: shawnb61 on February 17, 2021, 01:23:14 PM
As Kindred noted above, you need to tell FF what to do.  Note that FF abandoned RSS functionality a while back, & now treats RSS .xml just like any other file - you can open it or download it.  If you want full RSS functionality, you need an add-on.

FF setting attached, where you tell it to open or save.
Title: Re: Browser tries to download rss url as a file
Post by: shawnb61 on February 17, 2021, 01:28:49 PM
Quote from: a10 on February 17, 2021, 12:42:54 PM
Still broken here, on FF (esr, latest) & Vivaldi (latest).

If you're talking about the &quot;quot issue, check this topic for a fix:
https://www.simplemachines.org/community/index.php?topic=576601.0
Title: Re: Browser tries to download rss url as a file
Post by: a10 on February 17, 2021, 06:20:07 PM
Both FF & Vivaldi works fine here for all rss, apart from .18 forums, have now seen the bug report. Thanks.