[Erp5-report] r16089 - in /erp5/trunk/bt5/erp5_rss_style: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 5 17:50:33 CEST 2007
Author: bartek
Date: Wed Sep 5 17:50:33 2007
New Revision: 16089
URL: http://svn.erp5.org?rev=16089&view=rev
Log:
quote html special chars in description
Added:
erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Base_getRSSDescription.xml
Modified:
erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Folder_viewContentListAsRSS/listbox.xml
erp5/trunk/bt5/erp5_rss_style/bt/revision
Added: erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Base_getRSSDescription.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Base_getRSSDescription.xml?rev=16089&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Base_getRSSDescription.xml (added)
+++ erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Base_getRSSDescription.xml Wed Sep 5 17:50:33 2007
@@ -1,0 +1,157 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <tuple>
+ <string>Products.PythonScripts.PythonScript</string>
+ <string>PythonScript</string>
+ </tuple>
+ <none/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Python_magic</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_body</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+"""\n
+ Pre-process a description before putting it into RSS feed.\n
+ We html-quote all < and > because they\'d break the reader\n
+ (the > char is often found in mail messages).\n
+"""\n
+\n
+description = context.getDescription()\n
+description = description.replace(\'>\', \'>\')\n
+description = description.replace(\'<\', \'<\')\n
+return description\n
+
+
+]]></string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_filepath</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>errors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_code</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>co_argcount</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>_getattr_</string>
+<string>context</string>
+ <string>description</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_defaults</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Base_getRSSDescription</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Folder_viewContentListAsRSS/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Folder_viewContentListAsRSS/listbox.xml?rev=16089&r1=16088&r2=16089&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Folder_viewContentListAsRSS/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_rss_style/SkinTemplateItem/portal_skins/erp5_rss_style/Folder_viewContentListAsRSS/listbox.xml Wed Sep 5 17:50:33 2007
@@ -342,7 +342,7 @@
<string>rss_link</string>
</tuple>
<tuple>
- <string>description</string>
+ <string>Base_getRSSDescription</string>
<string>rss_description</string>
</tuple>
<tuple>
Modified: erp5/trunk/bt5/erp5_rss_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_rss_style/bt/revision?rev=16089&r1=16088&r2=16089&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_rss_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_rss_style/bt/revision Wed Sep 5 17:50:33 2007
@@ -1,1 +1,1 @@
-9
+10
More information about the Erp5-report
mailing list