• Hi,
    i have 2 blogs on wordpress. Unfortunately i found bug/problem with generating RSS. When i go to on firefox browser is trying to download rss file. On chrome its showing code but without syntax highlighting.

    I wrote to my hositng administrator but he found that its happening on other blogs too (on othere servers for ex.

    here is screenshot: https://i.imgur.com/9jbzHoS.png

    problem is showing on clean install

    • This topic was modified 5 years, 10 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Looks correct to me on SeaMonkey.

    Each browser has its own way to display each mime-type. The default for XML is to show the data unless there is a corresponding XSL stylesheet.
    The feed itself is correct. It’s the browsers that render them differently, which is out of the control of WordPress.

    Thread Starter makopec

    (@makopec)

    so this is problem with Firefox and Google Chrome?

    This is how it looks on Chrome:

    View post on imgur.com

    On Firefox:

    View post on imgur.com

    RSS of other sites (non-Wordpress) looks good.

    Thread Starter makopec

    (@makopec)

    On Edge also trying download RSS file instead of display it.

    Browsers are primarily for HTML. Other file types, like JPG or XML or PDF invoke either built-in handlers or whatever program the user specifies. XML is unique in that it has XSL stylesheets that go hand in hand with XML. Some browsers use a built-in XSL when showing XML. WordPress feeds are built for feed readers, not browsers.

    Thread Starter makopec

    (@makopec)

    I gently disagree with you.

    Every non-wordpress feed is properly displaying in Firefox and Chrome. Only Worpdress generate that kind problem.

    An example or two would help clear it up. Actual feed URLs, not web pages that show feeds.

    Thread Starter makopec

    (@makopec)

    
    https://wo.blox.pl/
    https://wo.blox.pl/rss2
    
    https://demo.ghost.io/
    https://demo.ghost.io/rss/
    
    • This reply was modified 5 years, 10 months ago by makopec.
    • This reply was modified 5 years, 10 months ago by Jan Dembowski.

    I see those rss URLs the same as your others, in both SeaMonkey(shows like image previously posted: formatted) and Firefox(shows as the actual XML data).

    The two other example sites are not WordPress based sites.

    Blox seems to some kind of a proprietary platform and Ghost is a totally different CMS.
    ——-
    The original example in the first post looks right to me. I ran it through the W3c validator and it is valid… There was a slight problem but nothing that would cause any issues I could see. My ‘Inbound’ parser can handle files like that just fine.

    The Chrome browser doesn’t deal with RSS feeds but there are RSS and Atom readers that can be added to Chrome. I use the Slick RSS Reader APP.

    Not sure why the Firefox browser is choking on the feed. That sometimes happens with any feed reader or parser but that feed doesn’t seem to be broken to the extent to where you would get the download window.

    I wish I could see the URL to the file in that Imgur image example but you colored that out. It’s possible Firefox could be confused by a none English file name or else maybe the reader in that browser is broken.

    Anyway, I put the feed to my Chromebook’s Slick RSS Reader and enjoyed looking at those neat Christmas Ornaments. So the feed is valid here on a properly equipped Chrome Install.

    Not sure why the Firefox browser is choking on the feed.

    Firefox isn’t choking. My Firefox did the same, because there is no default for that mime-type. Once you tell it what is default, it just shows the file because it does not have a XSL stylesheet and the browser is not set up to do anything special with that type of data. It’s normal.

    Firefox isn’t choking. My Firefox did the same, because there is no default for that mime-type. Once you tell it what is default, it just shows the file because it does not have a XSL stylesheet and the browser is not set up to do anything special with that type of data. It’s normal.

    IF that’s the case then the Firefox developers are regressing the browser pretty badly, since as recent as 6 months ago I have viewed RSS feeds from WordPress in Firefox and it showed the actual feed, properly displayed, NOT the raw XML code. That’s a new development, so either Firefox developers have stripped out XSL functionality, or there’s a bug in the Firefox code. Either way, this behavior is most definitely NOT normal.

    Firefox never used to mishandle RSS feeds or XML in general in this way, and should not be doing so now.

    I came across this issue myself while attempting to troubleshoot an issue with images not being passed through into a client’s newsletter properly and I need to be able to properly view the feed, with fully rendered XML so I can see what’s actually reaching the feed, which is much harder to do when all I can do is stare at code and not see what I need to visually.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problem with generate RSS’ is closed to new replies.