13 Nov 23:17
basesyndication: xhtml content
Hi again, The browser/atom.xml.pt file of basesyndication has this comment: "This body below should really be xhtml instead of semi-encoded possibly unescaped strange stuff." According to http://www.atomenabled.org/developers/syndication/#text you can say the type is xhtml and wrap a div around the text that you want in there. Current content tag of an entry: <content type="html" xml:base="" xml:lang="en-US" xml:space="preserve" tal:attributes="xml:base feed/getBaseURL"> <tal:block tal:replace="structure string:<![CDATA["/> <tal:block tal:replace="structure feedentry/getBody"/> <tal:block tal:replace="structure string:]]>"/> </content> The changes would make the content tag look like this: <content type="xhtml" xml:base="" xml:lang="en-US" xml:space="preserve" tal:attributes="xml:base feed/getBaseURL"> <div xmlns="http://www.w3.org/1999/xhtml"> <tal:block tal:replace="structure feedentry/getBody"/> </div> </content> I'm not sure about that xml base, lang and space, but that's how the page template currently looks.(Continue reading)
Reinout
RSS Feed