Jul 25

Styling RSS Feeds

I’ve subscribed to a new RSS feed that’s injecting styles into posts — each post is surrounded by a FONT tag that makes the text Arial, instead of the default Times New Roman that Outlook (I use NewsGator) would render in if not for the tag.

I always felt that RSS allowed you to put forth content without context — pure content without an asthetic filter, so-to-speak. Styling feeds would seem to defeat that goal.

Should people style their RSS feeds? Should news aggregators give users the option to strip styles from posts when they’re displayed? What is too much style? If there’s an image with a post, it’s nice to let that wrap right or left as the author intended, but should you draw the line at font changes?


Comments

by Roger Benningfield,   July 25, 2003 12:20 PM  

While I generally prefer markup-free RSS descriptions, I'm not gonna be the one to tell people they shouldn't do it. So I'd say that the best approach is to allow users to toggle it off within their apps.


by Dare Obasanjo,   July 25, 2003 12:29 PM  

RSS Bandit strips styling and enables users to specify how they want the feeds to be styled using custom XSLT stylesheets.


by Rahul Dave,   July 25, 2003 12:57 PM  

One should entirely be able to strip it.

What ought not to be stripped, I think though, are the class and id tags that the user may have put on divs, spans, para's and other, because those carry semantic meaning, and maybe in the future, with or without RSS namespaces, these will be useful. For example a span class=person could be used by a next generation aggregator to hook up to the address book.


by Steven Garrity,   July 25, 2003 12:59 PM  

I'm all for stripping style from feeds, but there are a few cases where I do miss it. For example, I use a CSS class on my site to align images to the right. Since the CSS file they reference isn't accessible from the RSS reader, they align very poorly.

This is on top of the issue of relative URLs... Not sure what to do there.


by Brent Simmons,   July 25, 2003 1:03 PM  

There is already some tension the other way on this issue -- some site designers don't like RSS and RSS readers because they don't have control over presentation.

This is a valid criticism.

If newsreaders make it worse by stripping out the control they do have (markup in RSS items) then I think the situation is worse.

That is to say, stripping styles is probably better as an option than as a default.

But I'd rather look for ways (probably via CSS) to give site designers and readers some collaborative control over presentation.


by Deane,   July 25, 2003 1:06 PM  

I think URLs in RSS must always be absolute. I hate it when I get a post in RSS that refers to an image that isn't there because the SRC tag is relative.

When people blog, sometimes they think only of the site, not the feed. Perhaps we should switch that around: think of the feed first and the site second, because the feed has more restrictions on it than the site does.

I also agree with the comment that certain formatting imparts semantic meaning. But who decides what does and doesn't? Could someone claim that their choice of typeface had some meaning to it, rather than just being aesthetic?


by Ryan Schroeder,   July 25, 2003 1:15 PM  

I think some people would claim that it's the aesthetics that matter, not just what typeface is used.

It seems to me that people should mark up their feeds however they like. (just like the web) If you don't like it have your reader of choice override (just like the web)


by Greg Reinacker,   July 25, 2003 1:16 PM  

On the relative URL thing, NewsGator 1.3 (to be released in a couple of weeks) finally handles relative URL's in a way that works for most cases seen in the wild.


by Mark,   July 25, 2003 2:34 PM  

http://diveintomark.org/public/platypus.xml


by Ted Roche,   July 25, 2003 5:16 PM  

My ideal in RSS is to publish platform-neutral, vendor-neutral, consumer-neutral text. I don't know if my reader (or bot) is going to understand, correctly process or perhaps truncate markup. I strip everything from less-than to greater-than in scraping HTML to generate RSS at http://www.tedroche.com/RSSFeeds.html.


by Elmer Masters,   July 25, 2003 5:48 PM  

I think that RSS feeds should be style free. To me RSS represents a chance to get timely information without a whole bunch of extra stuff attached. Just give me the news. If I'm interested enough in the information, I'll click through to the site and then you can hit me with whatever. I'm afraid that allowing style markup into RSS is a slippery slope that will lead to things like pop-ups, etc.
I also feel that such markup should be explicitly disallowed in the spec. If somebody feels that they don't want to publish an RSS feed unless they can control the way I see it, then I'm probably not iterested in what they have to say anyway.


by Ted Thibodeau Jr,   July 25, 2003 8:40 PM  

There are some bits of stylistic markup that I definitely want retained -- bold, italic, and blockquote leap to mind -- even though they don't always matter semantically -- and experienced Usenet or plain-text email users will know how to fake all three -- but this prettifying of actual bold and italic and indented-quotation is one of the key reasons that HTML email and Blogging have surged in use relative to plain-text email and Usenet posting.

I want hard paragraph and line breaks retained -- where the original author put them -- because these can have semantic meaning, and leaving them when they don't causes less confusion than removing them when they do.

Likewise, monospace vs proportional facestyles matter -- when presenting columnar data, it often makes more sense to do with a bit of space-padding than with a full-scale HTML table, or even CSS markup. I want the author's teletype text to come to me just so...

Now, how does the engine decide whether the styles are semantically important, or just there for appearance/design? I can't think of any viable test -- no, saying no HTML, only CSS isn't viable....

So -- I would prefer to get my RSS with markup, please, so I can actually read my subscriptions locally -- without surfing to all 300 sites I want to watch -- which is really what this whole Aggregation thing means to me....



Add Comment


Want to advertise on this site? Contact FM.
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!