Html formatting w/ Atom feeds

xml.content "type" => "html" do end

section to work I would be home free.

1) You should be using xhtml for the content type. HTML assumes html escaped text. XHTML wants well formed HTML starting with a div tag:

2) You can use the #<< method to add raw xml to the xml object. Here's how I do it in Mephisto:

http://svn.techno-weenie.net/projects/mephisto/trunk/app/views/feed/_article.rxml

(sanitize_feed_content is in here) http://svn.techno-weenie.net/projects/mephisto/trunk/app/helpers/application_helper.rb

1) You should be using xhtml for the content type. HTML assumes html escaped text. XHTML wants well formed HTML starting with a div tag:

RFC 4287 - The Atom Syndication Format

Okay, just to be clear... I assumed from your code you want strongly typed HTML, which is why I suggested the XHTML content type. In Mephisto, I don't run the content through tidy or anything and can't guarantee xhtml compliance, so I just use HTML for now. Use what you like. I just wanted to highlight the difference between the two.

Look at how typo does it. I believe it calls the feed validator, or checks for and uses the local feed validator lib if it exists.

Impossible to solve, this is, without an example of the result xml. Well, on first glance, you didnt use << at all. sooo.....