This question may be related to a resolved thread.
I have it pulling the RSS Feed but theres no style to it?? When I connect a stylesheet it gives me parsing errors??
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 19, 2010 1:31pm
Subscribe [4]#1 / Oct 19, 2010 1:31pm
This question may be related to a resolved thread.
I have it pulling the RSS Feed but theres no style to it?? When I connect a stylesheet it gives me parsing errors??
#2 / Oct 19, 2010 4:28pm
I’m not sure I understand? Your feed has minor issues, but it’s displaying fine. RSS feeds, as such, are not styled. It’s up to the reader to display them.
#3 / Oct 26, 2010 4:36pm
It’s here…http://www.iwantausedride.com/new/cms/index.php/site/RSS
It says this “This XML file does not appear to have any style information associated with it. The document tree is shown below.”
How do i get it to look normal?
#4 / Oct 26, 2010 4:40pm
You’ll need to use a feed reader to display it. This is expected behavior, regular browsers (without a built-in feed reader) are not able to display it properly.
#5 / Oct 29, 2010 2:45pm
So what does that mean for people who don’t have a feedreader when they sign up for the RSS? I added a feedreader and my RSS didn’t change. This RSS stuff confuses me.
#6 / Oct 29, 2010 3:05pm
The only way to sign up for RSS is with a feed reader. If they don’t have a browser that supports it, there is nothing you can do about. That is up to the end user.
It also looks like your content isn’t being parsed correctly.
Look at your RSS feed in a browser such as Safari or Firefox and you will see what it looks like for those users.
#7 / Oct 29, 2010 4:47pm
thats the problem i am using firefox ... when i go to someone elses site it shows up normal ... what am i doing wrong?
#8 / Oct 29, 2010 5:29pm
It looks like you are trying to made an atom feed and not a RSS feed.
Try following this template:
http://expressionengine.com/wiki/Making_an_Atom_feed_of_all_comments_to_all_posts/
make sure you have this in your feed tag as well:
xmlns="http://www.w3.org/2005/Atom" xml:lang="{channel_language}"I noticed you were missing it.
#9 / Oct 30, 2010 5:03pm
Hi Nicole,
I notice that in fact the majority of your feed does work in Safari and the links back to the articles do work. The issue is that you are specifying custom fields called body and extended to be shown in the feed. Do these exist in the channel for that feed?
Cheers
Greg
@mechwd, thanks for the assist!
#10 / Nov 02, 2010 11:06am
I simply copied what someone else sent me and made a few adjustments.
My question is it shows all the “code” why isn’t there any style with it?
#11 / Nov 02, 2010 11:21am
it looks great in safari, internet explorer says ‘Internet Explorer does not support this feed format.’, and in google chrome it is just a bunch of run on sentences. GRRR!!! This is really frustrating. How do I get my RSS feed to look like: http://www.nytimes.com/services/xml/rss/index.html
#12 / Nov 02, 2010 6:03pm
I am sorry, this is not an EE issue as such. The NYT page is actually HTML. Your feed appears to be working fine, so I just move this to the CodeShare Corner for additional community support. Thanks.
#13 / Nov 03, 2010 7:10am
For some while I staggered around changing things by example rather than understanding the structure of a feed.
The 2 things I found helped were:
- the W3C feed validator at http://validator.w3.org/feed/
- a short ebook from O’reilly - How to Build a RSS2 Feed by Mark Woodman - very readable
and, if you can use Firefox, the third [Monty Python moment ...]
- display the feed source using a feed proxy service http://persistent.info/feed-proxy/
Styles are a funny area - they can legitimately be ignored by readers e.g. Safari has it’s own set of styles and they aren’t anything to do with EE itself.
There are also 2 ways of approaching the problem - by applying a style and by transforming the feed (XML after all) into XHTML which is then styled and often what you see on some sites.
#14 / Nov 03, 2010 11:36am
Thank you very much. I will check out those 3 resources.