homepage Welcome to WebmasterWorld Guest from 23.21.9.44
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Full feed display
getxb




msg:3781494
 8:03 pm on Nov 6, 2008 (gmt 0)

I shifted my feed URL to Feedburner. In some browsers I see that the default feed format (with post snippet) of the browser is coming while in some its the Feedburner template.

How to rectify this. Do I need to add some special tags inside the XML? How to display the full feed content?

[edited by: httpwebwitch at 9:52 pm (utc) on Nov. 6, 2008]
[edit reason] link removal [/edit]

 

httpwebwitch




msg:3781566
 9:52 pm on Nov 6, 2008 (gmt 0)

The issue is related to browser support for client-side XSLT, and Firefox's preferences for displaying RSS. Firefox is pushy when it comes to handling and rendering RSS feeds; it inserts its own stylsheet, overriding the one that feedburner offers. I think you can override that in your browser options, but it may not be worth the hassle, and that only solves the problem for you, not for your audience.

But is it really a problem? Don't fret, your feed isn't broken or anything - it's just being shown in a different way. RSS is not intended to be styled up like a web page anyhow.

The Mozilla Developer Center recommends:

Recent browsers (Firefox 2, Safari (version?), IE 7) will display RSS content specially, rather than applying custom style sheets to the XML data. While this is what the user and site author want in the vast majority of cases, you may wish to override this behavior for a specific case.
Your choices include:
  • putting the <rss> content in a prefixed namespace
  • preceding the <rss> element with an XML comment
  • serving the content as UTF-16

source [developer.mozilla.org]

getxb




msg:3781736
 6:23 am on Nov 7, 2008 (gmt 0)

Thanks httpwebwitch for the info. I am keeping the feed as it is. Let the browsers handle the issue. As long as the feed is validated and the contents are displayed fine, I am OK with it.

Few more queries: How to display the full post content in Firefox? Its just showing up the post snippet which I dont want!

Also in Google Chrome the feed is not displayed properly! Any quick fix for that?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved