Bugs: Browse | Submit New | Admin

[#19581] Atom content type html is hard-wired

Date:
2008-04-16 11:18
Priority:
3
Submitted By:
Ian Dickinson (ijdickinson)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Atom content type html is hard-wired

Detailed description
It is not possible to generate an Atom content element with a type attribute other than "html". FeedTools::FeedItem
lines 2232-2235 say:

          if !self.content.blank?
            xml_builder.content(self.content,
                "type" => "html")
          end

Either the content type should be configurable, or build_xml should be refactored so that this generation step can be
modified by client code.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item