diff --git a/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/list.xml b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/list.xml new file mode 100644 index 0000000000000000000000000000000000000000..08d3fd1e3cc0e9cf0b631aea3bd6a583d0cab01d --- /dev/null +++ b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/list.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_list</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>list</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>10.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>List Items</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/RSSFeed_viewContentList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/populate_content.xml b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/populate_content.xml new file mode 100644 index 0000000000000000000000000000000000000000..348246f6ca447f34eed07c2d9fc50c4d19428ad0 --- /dev/null +++ b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/populate_content.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>populate_content</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>20.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Populate Content</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/RSSFeed_populateContentAction</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:object.getTextContent() is not None</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/view.xml b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..99f23850241f13fc50a292faa99816586cc4e9d9 --- /dev/null +++ b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Feed/view.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/ExternalSource_view</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python: object is not None and not object.isWebMode()</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Item/view.xml b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Item/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..19bf76c1ecc9a347f60dcb2fef64352e76936c29 --- /dev/null +++ b/bt5/erp5_rss_reader/ActionTemplateItem/portal_types/RSS%20Item/view.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/RSSItem_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.catalog_keys.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..baf9e92bd9cb1bbddb85ec9c117a4081fc024068 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_clear_catalog" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.xml new file mode 100644 index 0000000000000000000000000000000000000000..a60f4206b09c711722b427bc1fafce3c0f9c7520 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_versioning.xml @@ -0,0 +1,103 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z0_drop_versioning</string> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE IF EXISTS versioning;</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE IF EXISTS versioning;</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.catalog_keys.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..d58ef064eaf30eb84114661b6ebbff0833f308b8 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_uncatalog_object" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.xml new file mode 100644 index 0000000000000000000000000000000000000000..001ad03e2aab725cb5c34fc5213321bde27fbcab --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_versioning.xml @@ -0,0 +1,152 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> + <string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z0_uncatalog_versioning</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM versioning WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM versioning WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.catalog_keys.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..93bd4a9bdf3e0907350b504fc8b280f14287e04b --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_catalog_object_list" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..c81ac2740139b08f50e7c1bc82712d45c4d333fa --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_versioning_list.xml @@ -0,0 +1,206 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getLanguage</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getRevision</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getVersion</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> + <string>uid</string> + <string>getLanguage</string> + <string>getVersion</string> + <string>getRevision</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +getLanguage\r\n +getVersion\r\n +getRevision</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_catalog_versioning_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + versioning\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="getVersion[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getLanguage[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getRevision[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + versioning\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="getVersion[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getLanguage[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getRevision[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.catalog_keys.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..baf9e92bd9cb1bbddb85ec9c117a4081fc024068 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_clear_catalog" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.xml b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.xml new file mode 100644 index 0000000000000000000000000000000000000000..48c9c655c7a55afc7612369c7c99b296e686cb69 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_versioning.xml @@ -0,0 +1,127 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_create_versioning</string> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE `versioning` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `version` varchar(10) default \'\',\n + `language` varchar(2) default \'\',\n + `revision` varchar(10) default \'\',\n + PRIMARY KEY (`uid`),\n + KEY `version` (`version`),\n + KEY `language` (`language`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE `versioning` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `version` varchar(10) default \'\',\n + `language` varchar(2) default \'\',\n + `revision` varchar(10) default \'\',\n + PRIMARY KEY (`uid`),\n + KEY `version` (`version`),\n + KEY `language` (`language`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/CatalogResultTableTemplateItem/result_table_list.xml b/bt5/erp5_rss_reader/CatalogResultTableTemplateItem/result_table_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..ecc935c45aa246790310acbd941165b49575ce88 --- /dev/null +++ b/bt5/erp5_rss_reader/CatalogResultTableTemplateItem/result_table_list.xml @@ -0,0 +1,3 @@ +<key_list> + <key>versioning</key> +</key_list> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/CategoryTemplateItem/portal_categories/update_frequency.xml b/bt5/erp5_rss_reader/CategoryTemplateItem/portal_categories/update_frequency.xml new file mode 100644 index 0000000000000000000000000000000000000000..3a85e000a8ace17ed6657f62ba9bf044c9e94645 --- /dev/null +++ b/bt5/erp5_rss_reader/CategoryTemplateItem/portal_categories/update_frequency.xml @@ -0,0 +1,97 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="BaseCategory" module="Products.ERP5Type.Document.BaseCategory"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>acquisition_base_category</string> </key> + <value> + <tuple> + <string>parent</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_portal_type</string> </key> + <value> <string>python:[\'URL Crawler\']</string> </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>update_frequency</string> </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>5</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Update Frequency</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees._OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees._OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/ExtensionTemplateItem/ERP5RSSFeed.py b/bt5/erp5_rss_reader/ExtensionTemplateItem/ERP5RSSFeed.py new file mode 100644 index 0000000000000000000000000000000000000000..5bfeacdabb7e63b9da53d4b9f1121b4e97e082b8 --- /dev/null +++ b/bt5/erp5_rss_reader/ExtensionTemplateItem/ERP5RSSFeed.py @@ -0,0 +1,57 @@ +############################################################################## +# +# Copyright (c) 2006-2007 Nexedi SA and Contributors. All Rights Reserved. +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## +from DateTime import DateTime +import urllib2 +import libxml2 +import re +from zLOG import LOG + + +def getObjectStringList(xml_string, element_to_find = 'object'): + """ + this function splits an ERP5 XML string into object + string list, each object string is converted + into utf-8 encoding and html entities are + translated into corresponding unicode code + """ + rss_doc = libxml2.parseDoc(xml_string) + return ['%s' % node for node in rss_doc.xpathEval('//%s' % element_to_find)] + +def setTextContent(self): + """ + Edit text_content + """ + try: + text_content = urllib2.urlopen(self.asURL()).read() + try: + text_content = unicode(text_content, "utf-8").encode("utf-8") + except UnicodeDecodeError: + text_content = unicode(text_content, "iso-8859-1").encode("utf-8") + except IOError: + text_content = None + if text_content is not None: + self.edit(text_content=text_content) diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_alarms/document_update_content_alarm.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_alarms/document_update_content_alarm.xml new file mode 100644 index 0000000000000000000000000000000000000000..337cc5151a66334ee4e390c8886b08a09b1724fa --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_alarms/document_update_content_alarm.xml @@ -0,0 +1,200 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_folder_handler</string> </key> + <value> <string>CMFBTreeFolderHandler</string> </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>active_sense_method_id</string> </key> + <value> <string>Document_hourlySelectDocumentsToUpdate</string> </value> + </item> + <item> + <key> <string>alarm_date</string> </key> + <value> + <object> + <klass> + <global id="1.1" name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1181318754.93</float> + <string>GMT+2</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Selects documents to update from external_source_module and updates their contents by calling the updateContentFromURL method.</string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>document_update_content_alarm</string> </value> + </item> + <item> + <key> <string>periodicity_hour</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>periodicity_hour_frequency</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>periodicity_minute</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>periodicity_minute_frequency</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>periodicity_month</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>periodicity_month_day</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>periodicity_start_date</string> </key> + <value> + <object> + <klass> <reference id="1.1"/> </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1148508000.0</float> + <string>GMT+2</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>periodicity_stop_date</string> </key> + <value> + <object> + <klass> <reference id="1.1"/> </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>32516114400.0</float> + <string>GMT+2</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>periodicity_week</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Alarm</string> </value> + </item> + <item> + <key> <string>sense_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Document Update Content Alarm</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/daily.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/daily.xml new file mode 100644 index 0000000000000000000000000000000000000000..d0770bfa274d645e4692c9ecdd3e466da28ed9f5 --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/daily.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Category" module="Products.ERP5Type.Document.Category"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency/daily</string> + <string>update_frequency/daily</string> + </tuple> + </value> + </item> + <item> + <key> <string>codification</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>daily</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>24</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Daily</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/hourly.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/hourly.xml new file mode 100644 index 0000000000000000000000000000000000000000..df35b95741b5c3e93cc1841e1933ddfaff2bb428 --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/hourly.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Category" module="Products.ERP5Type.Document.Category"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency/hourly</string> + <string>update_frequency/hourly</string> + </tuple> + </value> + </item> + <item> + <key> <string>codification</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>hourly</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Hourly</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/monthly.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/monthly.xml new file mode 100644 index 0000000000000000000000000000000000000000..afd98848d44d6183395c80d5917c4d88935c9e58 --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/monthly.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Category" module="Products.ERP5Type.Document.Category"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency/monthly</string> + <string>update_frequency/monthly</string> + </tuple> + </value> + </item> + <item> + <key> <string>codification</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>monthly</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>672</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Monthly</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/weekly.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/weekly.xml new file mode 100644 index 0000000000000000000000000000000000000000..ce3df19645360420ec49e2b625a2982c7022c76d --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/weekly.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Category" module="Products.ERP5Type.Document.Category"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency/3</string> + <string>update_frequency/weekly</string> + <string>update_frequency/weekly</string> + </tuple> + </value> + </item> + <item> + <key> <string>codification</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>weekly</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>168</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Weekly</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/yearly.xml b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/yearly.xml new file mode 100644 index 0000000000000000000000000000000000000000..61195a1fbb0a282a9e2c282f4ecd177bdf2f92c3 --- /dev/null +++ b/bt5/erp5_rss_reader/PathTemplateItem/portal_categories/update_frequency/yearly.xml @@ -0,0 +1,116 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Category" module="Products.ERP5Type.Document.Category"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>update_frequency/yearly</string> + <string>update_frequency/yearly</string> + </tuple> + </value> + </item> + <item> + <key> <string>codification</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>yearly</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>8760</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Yearly</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>BTrees.Length</string> + <string>Length</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_rss_reader/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml new file mode 100644 index 0000000000000000000000000000000000000000..86f7743e6f55bc9e3d3fb0e5d7f4b5572ed02c3f --- /dev/null +++ b/bt5/erp5_rss_reader/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -0,0 +1,5 @@ +<allowed_content_type_list> + <portal_type id="RSS Feed"> + <item>RSS Item</item> + </portal_type> +</allowed_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_rss_reader/PortalTypePropertySheetTemplateItem/property_sheet_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..68029ab66b20cb9161c7ce3ac6a9c808580dbd58 --- /dev/null +++ b/bt5/erp5_rss_reader/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -0,0 +1,9 @@ +<property_sheet_list> + <portal_type id="RSS Feed"> + <item>TextDocument</item> + </portal_type> + <portal_type id="RSS Item"> + <item>TextDocument</item> + <item>RSSItem</item> + </portal_type> +</property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Feed.xml b/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Feed.xml new file mode 100644 index 0000000000000000000000000000000000000000..20c2c421ceccda20f8b8da2ebddc4038509bc10a --- /dev/null +++ b/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Feed.xml @@ -0,0 +1,168 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>web_page.png</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Text Document</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>An RSS feed is a text document which can populate itself with news extracted from its own content.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addTextDocument</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSS Feed</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>RSS Feed</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Item.xml b/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Item.xml new file mode 100644 index 0000000000000000000000000000000000000000..860dab92019dd2883bfe7cdf48609f70436b11b7 --- /dev/null +++ b/bt5/erp5_rss_reader/PortalTypeTemplateItem/portal_types/RSS%20Item.xml @@ -0,0 +1,168 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>document.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Text Document</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>An RSS Item is a News extracted from an RSS Feed, and it is updated each time the RSS Feed is.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addTextDocument</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSS Item</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>RSS Item</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml new file mode 100644 index 0000000000000000000000000000000000000000..822bcfdd913117669f762ca3c7b1588210301242 --- /dev/null +++ b/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -0,0 +1,10 @@ +<workflow_chain> + <chain> + <type>RSS Feed</type> + <workflow>edit_workflow, local_permission_interaction_workflow, document_publication_workflow, validation_workflow</workflow> + </chain> + <chain> + <type>RSS Item</type> + <workflow>edit_workflow</workflow> + </chain> +</workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_rss_reader/PropertySheetTemplateItem/RSSItem.py b/bt5/erp5_rss_reader/PropertySheetTemplateItem/RSSItem.py new file mode 100644 index 0000000000000000000000000000000000000000..0f5e54baed0efb089e58df628cae2cceb8a72f5e --- /dev/null +++ b/bt5/erp5_rss_reader/PropertySheetTemplateItem/RSSItem.py @@ -0,0 +1,43 @@ +############################################################################## +# +# Copyright (c) 2002-2007 Nexedi SARL and Contributors. All Rights Reserved. +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +class RSSItem: + """ + RSSItem properties for all ERP5 objects + """ + + _properties = ( + { 'id' : 'url_text', + 'description' : 'Source URL of the item,', + 'type' : 'string', + 'mode' : '' }, + { 'id' : 'pub_date', + 'description' : 'Publication date of the item,', + 'type' : 'date', + 'mode' : '' }, + ) + diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source.xml new file mode 100644 index 0000000000000000000000000000000000000000..1127dc9fed1650b94a314f36bbc34163a8d7bea2 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Folder" module="OFS.Folder"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_external_source</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_hourlySelectDocumentsToUpdate.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_hourlySelectDocumentsToUpdate.xml new file mode 100644 index 0000000000000000000000000000000000000000..43de352b40a59b7f0b893d86bcae7bad824db3c1 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_hourlySelectDocumentsToUpdate.xml @@ -0,0 +1,174 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>"""\n +This script selects documents to update.the selection process\n +is based on calculation of the frequency_index and creation_date_index.\n +Documents which their frequency_index and creation_date_index are the\n +same as those calculated, are updated.\n +"""\n +from Products.ERP5Type.DateUtils import convertDateToHour\n +date_dict = {}\n +\n +#Step1: convert the alarm date into hours\n +alarm_date = convertDateToHour()\n +\n +#Step2: initialize a dictionary with frequencies\n +for frequency in context.portal_categories.update_frequency.contentValues():\n + frequency_reference = frequency.getIntIndex()\n + date_dict[frequency_reference] = alarm_date % frequency_reference\n +\n +#Step3: update documents\n +for frequency_reference, creation_date in date_dict.items():\n + sql_kw = {\'creation_date_index\':creation_date, \'frequency_index\':frequency_reference, \'limit\':None}\n + documents_to_update = len(context.portal_catalog(**sql_kw))\n + max_in_activities = 1000\n + offset = 0\n + loop = documents_to_update / max_in_activities\n + for i in range(loop):\n + limit = \'%s,%s\' % (offset, max_in_activities)\n + sql_kw[\'limit\'] = limit\n + context.Document_splitedUpdateContentFromURL(**sql_kw)\n + offset += max_in_activities\n + limit = \'%s,%s\' % (offset, max_in_activities)\n + sql_kw[\'limit\'] = limit\n + context.Document_splitedUpdateContentFromURL(**sql_kw)\n +</string> </value> + </item> + <item> + <key> <string>_code</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>Products.ERP5Type.DateUtils</string> + <string>convertDateToHour</string> + <string>date_dict</string> + <string>alarm_date</string> + <string>_getiter_</string> + <string>_getattr_</string> + <string>context</string> + <string>frequency</string> + <string>frequency_reference</string> + <string>_write_</string> + <string>creation_date</string> + <string>None</string> + <string>sql_kw</string> + <string>len</string> + <string>_apply_</string> + <string>documents_to_update</string> + <string>max_in_activities</string> + <string>offset</string> + <string>loop</string> + <string>range</string> + <string>i</string> + <string>limit</string> + <string>_inplacevar_</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>Document_hourlySelectDocumentsToUpdate</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_splitedUpdateContentFromURL.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_splitedUpdateContentFromURL.xml new file mode 100644 index 0000000000000000000000000000000000000000..a9468aa6251089257249909f33587adda011de57 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_external_source/Document_splitedUpdateContentFromURL.xml @@ -0,0 +1,127 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>for document in context.portal_catalog(**sql_kw):\n + document.getObject().activate().updateContentFromURL()\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**sql_kw</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>sql_kw</string> + <string>_getiter_</string> + <string>_apply_</string> + <string>_getattr_</string> + <string>context</string> + <string>document</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>Document_splitedUpdateContentFromURL</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss.xml new file mode 100644 index 0000000000000000000000000000000000000000..52d73afc5b8badf335cb9548da306a2fb5d4ccef --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Folder" module="OFS.Folder"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_rss</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ERP5Site_getObjectStringList.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ERP5Site_getObjectStringList.xml new file mode 100644 index 0000000000000000000000000000000000000000..eb564c2a80a7ef4370e2a131fbb5379097f89e96 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ERP5Site_getObjectStringList.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_function</string> </key> + <value> <string>getObjectStringList</string> </value> + </item> + <item> + <key> <string>_module</string> </key> + <value> <string>ERP5RSSFeed</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_getObjectStringList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGenerator.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGenerator.xml new file mode 100644 index 0000000000000000000000000000000000000000..718c8c4ee5fdcf3349d08d58523228de5994ef47 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGenerator.xml @@ -0,0 +1,148 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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># this script is used only to perform tests\n +# it doesn\'t concern RSS Feeds populating process\n +\n +dict_list = []\n +module = context.getPortalObject().external_source_module\n +rss_feed_kw = {\'portal_type\':\'RSS Feed\', \'url_protocol\':\'File\', \'url_string\':url, \'categories_list\':categories_list}\n +\n +for i in range(nb_object):\n + dict_list.append(rss_feed_kw)\n + if len(dict_list) % 100 == 0:\n + context.ExternalSourceModule_rssFeedGeneratorActivate(dict_list)\n + dict_list = []\n + \n +for i in range(nb_object % 100):\n + context.ExternalSourceModule_rssFeedGeneratorActivate(dict_list)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>url, categories_list, nb_object=1</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>3</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>url</string> + <string>categories_list</string> + <string>nb_object</string> + <string>dict_list</string> + <string>_getattr_</string> + <string>context</string> + <string>module</string> + <string>rss_feed_kw</string> + <string>_getiter_</string> + <string>range</string> + <string>i</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>1</int> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ExternalSourceModule_rssFeedGenerator</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGeneratorActivate.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGeneratorActivate.xml new file mode 100644 index 0000000000000000000000000000000000000000..a40b73e75752b12f3c2bdecd688bfcb665a7ec10 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSourceModule_rssFeedGeneratorActivate.xml @@ -0,0 +1,136 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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># this script is used only to perform tests\n +# it doesn\'t concern RSS Feeds populating process\n +module = context.getPortalObject().external_source_module\n +\n +for rss_feed_kw in dict_list:\n + rss_feed = module.newContent(**rss_feed_kw)\n + rss_feed.activate().updateContentFromURL()\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>dict_list = []</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>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>dict_list</string> + <string>_getattr_</string> + <string>context</string> + <string>module</string> + <string>_getiter_</string> + <string>rss_feed_kw</string> + <string>_apply_</string> + <string>rss_feed</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <list/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ExternalSourceModule_rssFeedGeneratorActivate</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSource_crawlContentFromURL.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSource_crawlContentFromURL.xml new file mode 100644 index 0000000000000000000000000000000000000000..83525e35c191443b07e4bcfa15b94e208f741155 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/ExternalSource_crawlContentFromURL.xml @@ -0,0 +1,133 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>from ZTUtils import make_query\n +context.updateContentFromURL()\n +\n +portal_status_message = context.Base_translateString("Content updated.")\n +redirect_url = \'%s/view\' % (context.absolute_url())\n +\n +return context.REQUEST.RESPONSE.redirect(\'%s?%s\' % (redirect_url, make_query(dict(portal_status_message=portal_status_message))))\n +</string> </value> + </item> + <item> + <key> <string>_code</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>ZTUtils</string> + <string>make_query</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_status_message</string> + <string>redirect_url</string> + <string>dict</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>ExternalSource_crawlContentFromURL</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_asAggregatedImportXML.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_asAggregatedImportXML.xml new file mode 100644 index 0000000000000000000000000000000000000000..890ad4e07fbaff241d895832f8711a05f94b369a --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_asAggregatedImportXML.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="XSLTMethod" module="Products.ZopeXMLMethods.XSLTMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_processorChooser</string> </key> + <value> + <object> + <klass> + <global name="ProcessorChooser" module="Products.ZopeXMLMethods.ProcessorChooser"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>preferred</string> </key> + <value> <string>libxslt 1.0.27</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>behave_like</string> </key> + <value> <string>Page Template</string> </value> + </item> + <item> + <key> <string>caching</string> </key> + <value> <string>on</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>debugLevel</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSSFeed_asAggregatedImportXML</string> </value> + </item> + <item> + <key> <string>selected_processor</string> </key> + <value> <string>libxslt 1.0.27</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>xslTransformerId</string> </key> + <value> <string>RSSFeed_getAggregatedImportXSLT</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_getAggregatedImportXSLT.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_getAggregatedImportXSLT.xml new file mode 100644 index 0000000000000000000000000000000000000000..efa3bcbc04b9946a14b2330fb0641a836f557f75 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_getAggregatedImportXSLT.xml @@ -0,0 +1,96 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="DTMLDocument" module="OFS.DTMLDocument"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string>RSSFeed_getAggregatedImportXSLT</string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<?xml version="1.0" encoding="utf-8"?>\n +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \n +xmlns:md5="http://exslt.org/crypto" exclude-result-prefixes="md5"\n +xmlns:dc="http://purl.org/dc/elements/1.1/">\n +\n +<xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>\n +\n +<!--Parameters list-->\n +<xsl:param name="rid" select="None"/>\n +<xsl:param name="sid" select="None"/>\n +<xsl:param name="categories_list" select="None"/>\n +<xsl:param name="subject_list" select="None"/>\n +\n +\n +<!--Template matching the erp5 Tag-->\n +<xsl:template match="/">\n + <erp5>\n + <xsl:apply-templates select="//item|//entry"/> \n + </erp5>\n +</xsl:template>\n +\n +<!--Template maching the item Tag-->\n +<xsl:template match="item|entry">\n + <xsl:variable name="md5_id">\n + <xsl:choose>\n + <xsl:when test="link"><xsl:value-of select="link|link/@href"/></xsl:when>\n + <xsl:when test="title|dc:title"><xsl:value-of select="title|dc:title"/></xsl:when>\n + <xsl:otherwise><xsl:value-of select="description|dc:description"/></xsl:otherwise>\n + </xsl:choose>\n + </xsl:variable>\n + <xsl:variable name="converted_id" select="md5:md5($md5_id)"/>\n + <object id="{$converted_id}" portal_type="RSS Item">\n + <id type="string"><xsl:value-of select="$converted_id"/></id>\n + <rid type="string"><xsl:value-of select=\'$rid\'/></rid>\n + <sid type="int"><xsl:value-of select="$sid"/></sid>\n + <categories_list type="tokens"><xsl:value-of select="$categories_list"/></categories_list>\n + <title type="string"><xsl:value-of select="title|dc:title"/></title>\n + <subject_list type="lines"><xsl:value-of select="$subject_list"/></subject_list>\n + <description type="text"><xsl:value-of select="description|dc:description|content"/><xsl:apply-templates select=\'summary\'/></description>\n + <url_text>\n + <xsl:choose>\n + <xsl:when test="link"><xsl:value-of select="link"/></xsl:when>\n + <xsl:otherwise>None</xsl:otherwise>\n + </xsl:choose>\n + </url_text>\n + <pub_date><xsl:value-of select="pubDate|dc:date"/></pub_date>\n + </object>\n + </xsl:template>\n + \n + <xsl:template match="summary">\n + <xsl:apply-templates/>\n + </xsl:template>\n +\n +</xsl:stylesheet> + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_isUpdatable.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_isUpdatable.xml new file mode 100644 index 0000000000000000000000000000000000000000..9f9ed8ce8383a861a5c38a4ce5ac87267799eced --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_isUpdatable.xml @@ -0,0 +1,128 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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># this script returns True as default, there is \n +# no conditions, so the document is always updatable,\n +# users can add and verify conditions before updating.\n +\n +return True\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>document=None</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>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>document</string> + <string>True</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSSFeed_isUpdatable</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContent.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContent.xml new file mode 100644 index 0000000000000000000000000000000000000000..9cab184eab4cd8dc972ecadcbb037605dd87b314 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContent.xml @@ -0,0 +1,149 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>"""\n +populates the content of an RSS Feed by transforming it first into ERP5 xml \n +using an XSLTMethod, after that extract all subobjects and pass them to fromXML method\n +to create the corresponding RSS Item objects.\n +"""\n +from DateTime import DateTime\n +\n +#Step1: transform an RSS Feed into ERP5 XML\n +xsl_kw = {\'date\':DateTime()}\n +xml_output = context.TextDocument_asCallable.RSSFeed_asAggregatedImportXML(**xsl_kw)\n +\n +#Step2: extract xml subobjects and create RSS Item objects\n +erp5_object_list = context.ERP5Site_getObjectStringList(xml_output, element_to_find=\'object\')\n +\n +for erp5_object in erp5_object_list:\n + context.fromXML(erp5_object)\n +\n +for rss_item in context.contentValues():\n + context.setRSSItemProperties(rss_item)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>kw</string> + <string>DateTime</string> + <string>xsl_kw</string> + <string>_apply_</string> + <string>_getattr_</string> + <string>context</string> + <string>xml_output</string> + <string>erp5_object_list</string> + <string>_getiter_</string> + <string>erp5_object</string> + <string>rss_item</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>RSSFeed_populateContent</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContentAction.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContentAction.xml new file mode 100644 index 0000000000000000000000000000000000000000..b2607071b5b967d844f9ccc46c51e1a430665238 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_populateContentAction.xml @@ -0,0 +1,135 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>from ZTUtils import make_query\n +context.RSSFeed_populateContent(**kw)\n +\n +portal_status_message = context.Base_translateString("Started populating Feed.")\n +redirect_url = \'%s/view\' % (context.absolute_url())\n +\n +return context.REQUEST.RESPONSE.redirect(\'%s?%s\' % (redirect_url, make_query(dict(portal_status_message=portal_status_message))))\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>kw</string> + <string>ZTUtils</string> + <string>make_query</string> + <string>_apply_</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_status_message</string> + <string>redirect_url</string> + <string>dict</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>RSSFeed_populateContentAction</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList.xml new file mode 100644 index 0000000000000000000000000000000000000000..fba25228c9293960b60e49d754731c2e523494fe --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList.xml @@ -0,0 +1,113 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>bottom</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSSFeed_viewContentList</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>Folder_viewContentList</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_list</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList/listbox.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..a27c24ba8a5d5b06e731915af2ec49d2574fd4bc --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSFeed_viewContentList/listbox.xml @@ -0,0 +1,538 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Form.ListBox</string> + <string>ListBox</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>description</string> + <string>Description</string> + </tuple> + <tuple> + <string>creation_date</string> + <string>Creation Date</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string>page</string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <int>30</int> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string>list</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list> + <tuple> + <string>RSS Item</string> + <string>RSS Item</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>rss_item_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Contents</string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.MethodField</string> + <string>Method</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>countFolder</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.MethodField</string> + <string>Method</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>searchFolder</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_setTextContent.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_setTextContent.xml new file mode 100644 index 0000000000000000000000000000000000000000..b1bb2101f8f6d096d41633b35faa975f421cd5a3 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_setTextContent.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_function</string> </key> + <value> <string>setTextContent</string> </value> + </item> + <item> + <key> <string>_module</string> </key> + <value> <string>ERP5RSSFeed</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSSItem_setTextContent</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..13e057edeb4f080b8b0f9101c2da338c1aec4243 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view.xml @@ -0,0 +1,148 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>my_text_content</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>my_url_string</string> + <string>my_url_protocol</string> + </list> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_title</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>RSSItem_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>RSSItem_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_description.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_description.xml new file mode 100644 index 0000000000000000000000000000000000000000..f0c42274bdb1ed42f3b2a3f77e60c110d8b9f08d --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_description.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string>page</string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>40</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Description</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_text_content.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_text_content.xml new file mode 100644 index 0000000000000000000000000000000000000000..d230797a7fa5ec3ff11c3a7bebeaf5636ed11eea --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_text_content.xml @@ -0,0 +1,283 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="EditorField" module="Products.ERP5Form.EditorField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_text_content</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string>page</string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>18</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Page Content</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>80</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_title.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..008b423870a1140630d9c5ddea0f72550d7c9dc8 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_title.xml @@ -0,0 +1,266 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.StandardFields</string> + <string>StringField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>80</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Title</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_protocol.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_protocol.xml new file mode 100644 index 0000000000000000000000000000000000000000..9746b724d23c92ac59c4a5cd2cfcbbace9862bfb --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_protocol.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_url_protocol</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Protocol</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_string.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_string.xml new file mode 100644 index 0000000000000000000000000000000000000000..9647b4822abd90608574ffa3bc9f0e0152109bef --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/RSSItem_view/my_url_string.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_url_string</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>URL</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/TextDocument_asCallable.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/TextDocument_asCallable.xml new file mode 100644 index 0000000000000000000000000000000000000000..4b0b8010699ba41ebfc8d2e733aa58f2254c10b3 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/TextDocument_asCallable.xml @@ -0,0 +1,124 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </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>return context.getTextContent()\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>obj, REQUEST</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>2</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>obj</string> + <string>REQUEST</string> + <string>_getattr_</string> + <string>context</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>TextDocument_asCallable</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/setRSSItemProperties.xml b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/setRSSItemProperties.xml new file mode 100644 index 0000000000000000000000000000000000000000..4baaf7b080005b4638be590adb932ad081305eb8 --- /dev/null +++ b/bt5/erp5_rss_reader/SkinTemplateItem/portal_skins/erp5_rss/setRSSItemProperties.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_function</string> </key> + <value> <string>setRSSItemProperties</string> </value> + </item> + <item> + <key> <string>_module</string> </key> + <value> <string>ERP5RSSFeed</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>setRSSItemProperties</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_rss_reader/bt/categories_list b/bt5/erp5_rss_reader/bt/categories_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/change_log b/bt5/erp5_rss_reader/bt/change_log new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/comment b/bt5/erp5_rss_reader/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..085655e9a25a5326178a9e5ba21802c1efa9a195 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/comment @@ -0,0 +1,2 @@ +NOTE: to work correctly, this business template requires a Python HTML/XML parser called BeautifulSoup. +http://www.crummy.com/software/BeautifulSoup/ \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/copyright_list b/bt5/erp5_rss_reader/bt/copyright_list new file mode 100644 index 0000000000000000000000000000000000000000..033ff2fbf7b11cede28a3c2e27b3e1a32267e0db --- /dev/null +++ b/bt5/erp5_rss_reader/bt/copyright_list @@ -0,0 +1 @@ +Copyright (c) 2001-2007 Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/dependency_list b/bt5/erp5_rss_reader/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..9452139227d771ae44ee2fa9815d84486fc52880 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/dependency_list @@ -0,0 +1 @@ +erp5_dms \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/description b/bt5/erp5_rss_reader/bt/description new file mode 100644 index 0000000000000000000000000000000000000000..7e375c645347bfd58130bca0fedadffb3be348c6 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/description @@ -0,0 +1 @@ +This business template contains all scripts needed to aggregate RSS Feeds and create corresponding RSS Item objects. \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/license b/bt5/erp5_rss_reader/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/maintainer_list b/bt5/erp5_rss_reader/bt/maintainer_list new file mode 100644 index 0000000000000000000000000000000000000000..03779d3e88bd8cc0e4f5d41fd46b582123826667 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/maintainer_list @@ -0,0 +1,2 @@ +aissam +nicolas \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/provision_list b/bt5/erp5_rss_reader/bt/provision_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/publication_url b/bt5/erp5_rss_reader/bt/publication_url new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/publication_url @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/revision b/bt5/erp5_rss_reader/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..05cf25896dd490bcd4fab7bf941de67c6b30edee --- /dev/null +++ b/bt5/erp5_rss_reader/bt/revision @@ -0,0 +1 @@ +201 \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/short_title b/bt5/erp5_rss_reader/bt/short_title new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_action_path_list b/bt5/erp5_rss_reader/bt/template_action_path_list new file mode 100644 index 0000000000000000000000000000000000000000..cc141974a94f23e3012de3ed9bfeb81818a49fab --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_action_path_list @@ -0,0 +1,4 @@ +RSS Feed | list +RSS Feed | populate_content +RSS Feed | view +RSS Item | view \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_base_category_list b/bt5/erp5_rss_reader/bt/template_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e80de115fe056d2d7dfcf5d6e3e750cb7444645f --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_base_category_list @@ -0,0 +1 @@ +update_frequency \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_catalog_datetime_key_list b/bt5/erp5_rss_reader/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_full_text_key_list b/bt5/erp5_rss_reader/bt/template_catalog_full_text_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_keyword_key_list b/bt5/erp5_rss_reader/bt/template_catalog_keyword_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_local_role_key_list b/bt5/erp5_rss_reader/bt/template_catalog_local_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_method_id_list b/bt5/erp5_rss_reader/bt/template_catalog_method_id_list new file mode 100644 index 0000000000000000000000000000000000000000..9458da38574190ddf3a26c13bb122bb858746f31 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_catalog_method_id_list @@ -0,0 +1,4 @@ +erp5_mysql_innodb/z0_drop_versioning +erp5_mysql_innodb/z0_uncatalog_versioning +erp5_mysql_innodb/z_catalog_versioning_list +erp5_mysql_innodb/z_create_versioning \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_catalog_multivalue_key_list b/bt5/erp5_rss_reader/bt/template_catalog_multivalue_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_related_key_list b/bt5/erp5_rss_reader/bt/template_catalog_related_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_request_key_list b/bt5/erp5_rss_reader/bt/template_catalog_request_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_result_key_list b/bt5/erp5_rss_reader/bt/template_catalog_result_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_result_table_list b/bt5/erp5_rss_reader/bt/template_catalog_result_table_list new file mode 100644 index 0000000000000000000000000000000000000000..ac87b6ead6ef0c6da57e757c48c4faf0153ae095 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_catalog_result_table_list @@ -0,0 +1 @@ +versioning \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_catalog_role_key_list b/bt5/erp5_rss_reader/bt/template_catalog_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_scriptable_key_list b/bt5/erp5_rss_reader/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_catalog_topic_key_list b/bt5/erp5_rss_reader/bt/template_catalog_topic_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_constraint_id_list b/bt5/erp5_rss_reader/bt/template_constraint_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_document_id_list b/bt5/erp5_rss_reader/bt/template_document_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_extension_id_list b/bt5/erp5_rss_reader/bt/template_extension_id_list new file mode 100644 index 0000000000000000000000000000000000000000..8465bebaecb9858099caf54f20d7c7dca99101bd --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_extension_id_list @@ -0,0 +1 @@ +ERP5RSSFeed \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_format_version b/bt5/erp5_rss_reader/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_local_roles_list b/bt5/erp5_rss_reader/bt/template_local_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_message_translation_list b/bt5/erp5_rss_reader/bt/template_message_translation_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_module_id_list b/bt5/erp5_rss_reader/bt/template_module_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_path_list b/bt5/erp5_rss_reader/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..854a9e2e66f1a96679fe5598b27519d3761d8bac --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_path_list @@ -0,0 +1,2 @@ +portal_alarms/document_update_content_alarm +portal_categories/update_frequency/** \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_rss_reader/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..4517f7209aa1b15f130de34287fff238acd65d8a --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_portal_type_allowed_content_type_list @@ -0,0 +1 @@ +RSS Feed | RSS Item \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_base_category_list b/bt5/erp5_rss_reader/bt/template_portal_type_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_rss_reader/bt/template_portal_type_hidden_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_id_list b/bt5/erp5_rss_reader/bt/template_portal_type_id_list new file mode 100644 index 0000000000000000000000000000000000000000..07338a2b0a975e1cb59a4ef06c99fc725c7bd6be --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_portal_type_id_list @@ -0,0 +1,2 @@ +RSS Feed +RSS Item \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_property_sheet_list b/bt5/erp5_rss_reader/bt/template_portal_type_property_sheet_list new file mode 100644 index 0000000000000000000000000000000000000000..13f8355c5c539ba3adbe3b993878057e458b7398 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_portal_type_property_sheet_list @@ -0,0 +1,3 @@ +RSS Feed | TextDocument +RSS Item | RSSItem +RSS Item | TextDocument \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_roles_list b/bt5/erp5_rss_reader/bt/template_portal_type_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list b/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000000000000000000000000000000000..86aa45b516423ed91fe5a4ef79e305254ab24381 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list @@ -0,0 +1,5 @@ +RSS Feed | document_publication_workflow +RSS Feed | edit_workflow +RSS Feed | local_permission_interaction_workflow +RSS Feed | validation_workflow +RSS Item | edit_workflow \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_preference_list b/bt5/erp5_rss_reader/bt/template_preference_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_product_id_list b/bt5/erp5_rss_reader/bt/template_product_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_property_sheet_id_list b/bt5/erp5_rss_reader/bt/template_property_sheet_id_list new file mode 100644 index 0000000000000000000000000000000000000000..b4e1957850d778bc631c7d4316617478ed1ff110 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_property_sheet_id_list @@ -0,0 +1 @@ +RSSItem \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_role_list b/bt5/erp5_rss_reader/bt/template_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_site_property_id_list b/bt5/erp5_rss_reader/bt/template_site_property_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_skin_id_list b/bt5/erp5_rss_reader/bt/template_skin_id_list new file mode 100644 index 0000000000000000000000000000000000000000..4f3a9d272a292411c40674f5c30198a51f92bd2d --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_skin_id_list @@ -0,0 +1,2 @@ +erp5_external_source +erp5_rss \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_test_id_list b/bt5/erp5_rss_reader/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_tool_id_list b/bt5/erp5_rss_reader/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/template_update_business_template_workflow b/bt5/erp5_rss_reader/bt/template_update_business_template_workflow new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_update_business_template_workflow @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_update_tool b/bt5/erp5_rss_reader/bt/template_update_tool new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/template_update_tool @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/template_workflow_id_list b/bt5/erp5_rss_reader/bt/template_workflow_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_rss_reader/bt/title b/bt5/erp5_rss_reader/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..54685e5a985d4179bf5bb5960b005dffa4ffc956 --- /dev/null +++ b/bt5/erp5_rss_reader/bt/title @@ -0,0 +1 @@ +erp5_rss_reader \ No newline at end of file diff --git a/bt5/erp5_rss_reader/bt/version b/bt5/erp5_rss_reader/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391