[Erp5-report] r36231 fabien - in /erp5/trunk/bt5/erp5_rss_style: SkinTemplateItem/portal_sk...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 10 16:27:25 CEST 2010
Author: fabien
Date: Thu Jun 10 16:27:22 2010
New Revision: 36231
URL: http://svn.erp5.org?rev=36231&view=rev
Log:
rss feed was not passing the w3c check, now it should.
Modified:
erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_core/rss_view.xml
erp5/trunk/bt5/erp5_rss_style/bt/revision
Modified: erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_core/rss_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_core/rss_view.xml?rev=36231&r1=36230&r2=36231&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_core/rss_view.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_core/rss_view.xml [utf8] Thu Jun 10 16:27:22 2010
@@ -44,6 +44,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal" \n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n
xmlns:dc="http://purl.org/dc/elements/1.1/" \n
+ xmlns:atom="http://www.w3.org/2005/Atom"\n
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">\n
<tal:block tal:define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'application/rss+xml;; charset=utf-8\');\n
rss_string string:RSS;\n
@@ -52,6 +53,7 @@
<tal:block tal:define="listbox_fields python: [field for field in form.get_fields() if (field.meta_type == \'ListBox\' or field.meta_type == \'ProxyField\' and field.getRecursiveTemplateField().meta_type == \'ListBox\')]" >\n
\n
<channel>\n
+ <atom:link tal:attributes="href python:\'%s/%s\' % (here.absolute_url(), form.getId())" rel="self" type="application/rss+xml" />\n
<title tal:content="here/Title">TITLE</title>\n
<link tal:content="here/absolute_url">URL</link>\n
<description tal:content="python: here.getProperty(\'description\')">DESCRIPTION</description>\n
@@ -62,7 +64,8 @@
\n
</tal:block>\n
</tal:block>\n
-</rss>
+</rss>\n
+
]]></string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_rss_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_rss_style/bt/revision?rev=36231&r1=36230&r2=36231&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_rss_style/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_rss_style/bt/revision [utf8] Thu Jun 10 16:27:22 2010
@@ -1 +1 @@
-41
\ No newline at end of file
+42
\ No newline at end of file
More information about the Erp5-report
mailing list