[Erp5-report] r28701 - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5_web_...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 31 18:09:15 CEST 2009


Author: kazuhiko
Date: Mon Aug 31 18:09:10 2009
New Revision: 28701

URL: http://svn.erp5.org?rev=28701&view=rev
Log:
improve WebSection_viewContentListAsRSS.
* use permanent URL instead of absolute_url for link and guid value.
* do not escape twice for title and description.
* do not include author.

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS.xml
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox.xml
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox_link.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS.xml?rev=28701&r1=28700&r2=28701&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS.xml [utf8] Mon Aug 31 18:09:10 2009
@@ -62,9 +62,6 @@
             <key> <string>group_list</string> </key>
             <value>
               <list>
-                <string>left</string>
-                <string>right</string>
-                <string>center</string>
                 <string>bottom</string>
                 <string>hidden</string>
               </list>
@@ -83,30 +80,12 @@
                     </value>
                 </item>
                 <item>
-                    <key> <string>center</string> </key>
-                    <value>
-                      <list/>
-                    </value>
-                </item>
-                <item>
                     <key> <string>hidden</string> </key>
-                    <value>
-                      <list/>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>left</string> </key>
                     <value>
                       <list>
                         <string>listbox_link</string>
                         <string>listbox_author</string>
                       </list>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>right</string> </key>
-                    <value>
-                      <list/>
                     </value>
                 </item>
               </dictionary>

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox.xml?rev=28701&r1=28700&r2=28701&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox.xml [utf8] Mon Aug 31 18:09:10 2009
@@ -311,7 +311,32 @@
                 <item>
                     <key> <string>all_columns</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <tuple>
+                          <string>title</string>
+                          <string>title</string>
+                        </tuple>
+                        <tuple>
+                          <string>creation_date</string>
+                          <string>pubDate</string>
+                        </tuple>
+                        <tuple>
+                          <string>author</string>
+                          <string>author</string>
+                        </tuple>
+                        <tuple>
+                          <string>link</string>
+                          <string>link</string>
+                        </tuple>
+                        <tuple>
+                          <string>description</string>
+                          <string>description</string>
+                        </tuple>
+                        <tuple>
+                          <string>link</string>
+                          <string>guid</string>
+                        </tuple>
+                      </list>
                     </value>
                 </item>
                 <item>
@@ -328,27 +353,23 @@
                       <list>
                         <tuple>
                           <string>title</string>
-                          <string>rss_title</string>
+                          <string>title</string>
                         </tuple>
                         <tuple>
                           <string>creation_date</string>
-                          <string>rss_pubDate</string>
-                        </tuple>
-                        <tuple>
-                          <string>Base_getRSSAuthor</string>
-                          <string>rss_author</string>
+                          <string>pubDate</string>
                         </tuple>
                         <tuple>
                           <string>link</string>
-                          <string>rss_link</string>
-                        </tuple>
-                        <tuple>
-                          <string>Base_getRSSDescription</string>
-                          <string>rss_description</string>
-                        </tuple>
-                        <tuple>
-                          <string>absolute_url</string>
-                          <string>rss_guid</string>
+                          <string>link</string>
+                        </tuple>
+                        <tuple>
+                          <string>description</string>
+                          <string>description</string>
+                        </tuple>
+                        <tuple>
+                          <string>link</string>
+                          <string>guid</string>
                         </tuple>
                       </list>
                     </value>
@@ -407,6 +428,10 @@
                 </item>
                 <item>
                     <key> <string>hidden</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>hide_rows_on_no_search_criterion</string> </key>
                     <value> <int>0</int> </value>
                 </item>
                 <item>

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox_link.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox_link.xml?rev=28701&r1=28700&r2=28701&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox_link.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewContentListAsRSS/listbox_link.xml [utf8] Mon Aug 31 18:09:10 2009
@@ -265,18 +265,15 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: cell.absolute_url() + \'/view\'</string> </value>
+            <value> <string>python:(cell.getPortalType() == \'Web Page\' and cell.getPermanentURL(cell) or cell.absolute_url() + \'/view\')</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=28701&r1=28700&r2=28701&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Mon Aug 31 18:09:10 2009
@@ -1,1 +1,1 @@
-846
+847




More information about the Erp5-report mailing list