Me_Gravity - Version 1.0.1.3

Version Notes

Version number: 1.0.1.3
Stability: Stable
Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x

Download this release

Release Info

Developer Gravity Recommendations
Extension Me_Gravity
Version 1.0.1.3
Comparing to
See all releases


Code changes from version 1.0.0.9 to 1.0.1.3

app/code/community/Me/Gravity/Block/Adminhtml/System/Config/Form/Version.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class Me_Gravity_Block_Adminhtml_System_Config_Form_Catalog
4
+ *
5
+ * @category Me
6
+ * @package Me_Gravity
7
+ * @author Attila Sági <sagi.attila@magevolve.com>
8
+ * @copyright 2015 Magevolve Ltd. (http://magevolve.com)
9
+ * @license http://magevolve.com/terms-and-conditions Magevolve Ltd. License
10
+ * @link http://magevolve.com
11
+ */
12
+
13
+ /**
14
+ * Class Me_Gravity_Block_Adminhtml_System_Config_Form_Catalog
15
+ */
16
+ class Me_Gravity_Block_Adminhtml_System_Config_Form_Version extends Mage_Adminhtml_Block_System_Config_Form_Field
17
+ {
18
+ /**
19
+ * Return element html
20
+ *
21
+ * @param Varien_Data_Form_Element_Abstract $element element
22
+ * @return string
23
+ */
24
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
25
+ {
26
+ return $this->_getExtensionVersion();
27
+ }
28
+
29
+ /**
30
+ * Get extension version number
31
+ *
32
+ * @return string
33
+ */
34
+ private function _getExtensionVersion()
35
+ {
36
+ return (string) Mage::getConfig()->getNode()->modules->Me_Gravity->version;
37
+ }
38
+ }
app/code/community/Me/Gravity/Helper/Data.php CHANGED
@@ -85,6 +85,13 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
85
  */
86
  const XML_CATALOG_EXPORT_MAX_PATH = 'gravity/export/max';
87
 
 
 
 
 
 
 
 
88
  /**
89
  * Path to store config customer export all
90
  *
@@ -307,6 +314,17 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
307
  return Mage::getStoreConfig(self::XML_CATALOG_EXPORT_MAX_PATH, $store);
308
  }
309
 
 
 
 
 
 
 
 
 
 
 
 
310
  /**
311
  * Get customer export all
312
  *
85
  */
86
  const XML_CATALOG_EXPORT_MAX_PATH = 'gravity/export/max';
87
 
88
+ /**
89
+ * Path to store config catalog export cron enabled
90
+ *
91
+ * @var string
92
+ */
93
+ const XML_CATALOG_EXPORT_CRON = 'gravity/export/catalog_cron';
94
+
95
  /**
96
  * Path to store config customer export all
97
  *
314
  return Mage::getStoreConfig(self::XML_CATALOG_EXPORT_MAX_PATH, $store);
315
  }
316
 
317
+ /**
318
+ * Get catalog export cron enabled
319
+ *
320
+ * @param integer|string|Mage_Core_Model_Store $store store
321
+ * @return bool
322
+ */
323
+ public function getCatalogCronEnabled($store = null)
324
+ {
325
+ return Mage::getStoreConfigFlag(self::XML_CATALOG_EXPORT_CRON, $store);
326
+ }
327
+
328
  /**
329
  * Get customer export all
330
  *
app/code/community/Me/Gravity/Model/Observer.php CHANGED
@@ -592,26 +592,26 @@ class Me_Gravity_Model_Observer
592
 
593
  try {
594
 
595
- $currentStore = Mage::app()->getStore()->getCode();
596
- $gravityHelper->getLogger('$currentStore: ' . $currentStore);
597
- Mage::app()->setCurrentStore('admin');
 
598
 
599
- foreach (Mage::app()->getStores() as $store) {
 
600
 
601
- if (!$gravityHelper->isEnabled($store->getId())) {
602
- continue;
603
- }
604
 
605
- $filename = Mage::getModel('me_gravity/products')->generateCatalogXml($store->getId());
606
- if ($filename) {
607
- $gravityHelper->getLogger($gravityHelper->__('Store Id: %s exported to %s', $store->getId(), $filename));
608
  } else {
609
- $gravityHelper->getLogger($gravityHelper->__('Store Id: %s exported error', $store->getId()));
610
  }
611
  }
612
 
613
- Mage::app()->setCurrentStore($currentStore);
614
-
615
  } catch (Mage_Core_Exception $e) {
616
  $gravityHelper->getLogger($e->getMessage());
617
  } catch (Exception $e) {
592
 
593
  try {
594
 
595
+ if (!$gravityHelper->isEnabled() || !$gravityHelper->getCatalogCronEnabled()) {
596
+ $gravityHelper->getLogger($gravityHelper->__('Cron job catalog export error. Gravity module or scheduled export disabled.'));
597
+ return false;
598
+ }
599
 
600
+ $currentStore = Mage::app()->getStore()->getCode();
601
+ $gravityHelper->getLogger('Cron job current store: ' . $currentStore);
602
 
603
+ $timeStart = microtime(true);
604
+ $resultFileName = Mage::getModel('me_gravity/products')->generateCatalogXml();
605
+ $timeEnd = microtime(true);
606
 
607
+ if ($gravityHelper->getDebugMode()) {
608
+ if ($resultFileName) {
609
+ $gravityHelper->getLogger($this->_getGravityHelper()->__('Cron job catalog export finished in %s seconds', $timeEnd - $timeStart));
610
  } else {
611
+ $gravityHelper->getLogger($gravityHelper->__('Cron job catalog export error'));
612
  }
613
  }
614
 
 
 
615
  } catch (Mage_Core_Exception $e) {
616
  $gravityHelper->getLogger($e->getMessage());
617
  } catch (Exception $e) {
app/code/community/Me/Gravity/Model/Products.php CHANGED
@@ -94,7 +94,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
94
  $this->_items[$product->getId()][$store->getId()]['hidden'] = ($product->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE) ? 'true' : 'false';
95
  $this->_items[$product->getId()][$store->getId()]['link'] = htmlspecialchars($baseUrl . $product->getUrlPath());
96
  $this->_items[$product->getId()][$store->getId()]['image_link'] = htmlspecialchars($this->_getCatalogBaseMediaUrl() . $product->getImage());
97
- $this->_items[$product->getId()][$store->getId()]['description'] = htmlspecialchars($product->getDescription(), ENT_COMPAT | ENT_DISALLOWED, 'UTF-8', false);
98
  if ($store->getId() == $defaultStoreId) {
99
  $this->_items[$product->getId()][$store->getId()]['price'] = $product->getFinalPrice();
100
  } else {
@@ -114,7 +114,10 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
114
 
115
  foreach ($this->_items as $productId => $storeItem) {
116
 
117
- $io->streamWrite($this->_createItemXml($storeItem, $productId));
 
 
 
118
 
119
  }
120
 
@@ -132,7 +135,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
132
  *
133
  * @param array $storeItems items
134
  * @param int $productId product Id
135
- * @return string
136
  */
137
  protected function _createItemXml($storeItems = array(), $productId = 0)
138
  {
@@ -143,7 +146,8 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
143
  $defaultTitle = $storeItems['default_title'];
144
  unset($storeItems['default_title']);
145
  } else {
146
- Mage::throwException('Invalid default title in catalog export.');
 
147
  }
148
 
149
  // add fix elements
@@ -156,7 +160,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
156
  foreach ($storeItems as $storeId => $item) {
157
 
158
  $itemXml .= sprintf(
159
- '<title_' . $storeId . '>%s</title_' . $storeId . '><currency_' . $storeId . '>%s</currency_' . $storeId . '><c:hidden_' . $storeId . '>%s</c:hidden_' . $storeId . '><link_' . $storeId . '>%s</link_' . $storeId . '><g:image_link_' . $storeId . '>%s</g:image_link_' . $storeId . '><c:description_' . $storeId . '>%s</c:description_' . $storeId . '><g:price_' . $storeId . '>%.4f</g:price_' . $storeId . '>%s%s%s',
160
  $item['title'],
161
  $item['currency'],
162
  $item['hidden'],
@@ -188,7 +192,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
188
  $fixXml = '';
189
 
190
  $fixXml .= sprintf(
191
- '<g:id>%s</g:id><title>%s</title>',
192
  $productId,
193
  $title
194
  );
@@ -210,7 +214,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
210
  if (isset($item['categoryPath']) && is_array($item['categoryPath'])) {
211
  foreach ($item['categoryPath'] as $categoryPath)
212
  $categoryXml .= sprintf(
213
- '<c:categoryPath_' . $storeId . '>%s</c:categoryPath_' . $storeId . '>',
214
  $categoryPath
215
  );
216
  }
@@ -254,7 +258,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
254
  if (isset($item['attributes']) && is_array($item['attributes'])) {
255
  foreach ($item['attributes'] as $attributeCode => $attribute)
256
  $attributesXml .= sprintf(
257
- '<' . $attributeCode . '>%s</' . $attributeCode . '>',
258
  $attribute
259
  );
260
  }
@@ -326,7 +330,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
326
 
327
  if ($asXml) {
328
  $additionalXml .= sprintf(
329
- '<' . $attributeCode . '_' . $storeId . '>%s</' . $attributeCode . '>',
330
  htmlspecialchars(implode(',', $additionalValues))
331
  );
332
  } else {
94
  $this->_items[$product->getId()][$store->getId()]['hidden'] = ($product->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE) ? 'true' : 'false';
95
  $this->_items[$product->getId()][$store->getId()]['link'] = htmlspecialchars($baseUrl . $product->getUrlPath());
96
  $this->_items[$product->getId()][$store->getId()]['image_link'] = htmlspecialchars($this->_getCatalogBaseMediaUrl() . $product->getImage());
97
+ $this->_items[$product->getId()][$store->getId()]['description'] = htmlspecialchars($product->getDescription(), ENT_COMPAT | ENT_DISALLOWED, 'UTF-8', true);
98
  if ($store->getId() == $defaultStoreId) {
99
  $this->_items[$product->getId()][$store->getId()]['price'] = $product->getFinalPrice();
100
  } else {
114
 
115
  foreach ($this->_items as $productId => $storeItem) {
116
 
117
+ $itemRow = $this->_createItemXml($storeItem, $productId);
118
+ if ($itemRow) {
119
+ $io->streamWrite($this->_createItemXml($storeItem, $productId));
120
+ }
121
 
122
  }
123
 
135
  *
136
  * @param array $storeItems items
137
  * @param int $productId product Id
138
+ * @return string|bool
139
  */
140
  protected function _createItemXml($storeItems = array(), $productId = 0)
141
  {
146
  $defaultTitle = $storeItems['default_title'];
147
  unset($storeItems['default_title']);
148
  } else {
149
+ $this->_helper->getLogger('Invalid default title. Product Id: ' . $productId);
150
+ return false;
151
  }
152
 
153
  // add fix elements
160
  foreach ($storeItems as $storeId => $item) {
161
 
162
  $itemXml .= sprintf(
163
+ '<title_' . $storeId . '><![CDATA[%s]]></title_' . $storeId . '><currency_' . $storeId . '>%s</currency_' . $storeId . '><c:hidden_' . $storeId . '>%s</c:hidden_' . $storeId . '><link_' . $storeId . '>%s</link_' . $storeId . '><g:image_link_' . $storeId . '>%s</g:image_link_' . $storeId . '><c:description_' . $storeId . '><![CDATA[%s]]></c:description_' . $storeId . '><g:price_' . $storeId . '>%.4f</g:price_' . $storeId . '>%s%s%s',
164
  $item['title'],
165
  $item['currency'],
166
  $item['hidden'],
192
  $fixXml = '';
193
 
194
  $fixXml .= sprintf(
195
+ '<g:id>%s</g:id><title><![CDATA[%s]]></title>',
196
  $productId,
197
  $title
198
  );
214
  if (isset($item['categoryPath']) && is_array($item['categoryPath'])) {
215
  foreach ($item['categoryPath'] as $categoryPath)
216
  $categoryXml .= sprintf(
217
+ '<c:categoryPath_' . $storeId . '><![CDATA[%s]]></c:categoryPath_' . $storeId . '>',
218
  $categoryPath
219
  );
220
  }
258
  if (isset($item['attributes']) && is_array($item['attributes'])) {
259
  foreach ($item['attributes'] as $attributeCode => $attribute)
260
  $attributesXml .= sprintf(
261
+ '<' . $attributeCode . '><![CDATA[%s]]></' . $attributeCode . '>',
262
  $attribute
263
  );
264
  }
330
 
331
  if ($asXml) {
332
  $additionalXml .= sprintf(
333
+ '<' . $attributeCode . '_' . $storeId . '><![CDATA[%s]]></' . $attributeCode . '>',
334
  htmlspecialchars(implode(',', $additionalValues))
335
  );
336
  } else {
app/code/community/Me/Gravity/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <Me_Gravity>
15
- <version>1.0.0.7</version>
16
  </Me_Gravity>
17
  </modules>
18
  <global>
12
  <config>
13
  <modules>
14
  <Me_Gravity>
15
+ <version>1.0.1.3</version>
16
  </Me_Gravity>
17
  </modules>
18
  <global>
app/code/community/Me/Gravity/etc/system.xml CHANGED
@@ -109,16 +109,16 @@
109
  <frontend_type>text</frontend_type>
110
  <sort_order>20</sort_order>
111
  <show_in_default>1</show_in_default>
112
- <show_in_website>1</show_in_website>
113
- <show_in_store>1</show_in_store>
114
  <fields>
115
  <catalog_path translate="label">
116
  <label>Catalog Export File Path</label>
117
  <frontend_type>text</frontend_type>
118
  <sort_order>10</sort_order>
119
  <show_in_default>1</show_in_default>
120
- <show_in_website>1</show_in_website>
121
- <show_in_store>1</show_in_store>
122
  <comment>Path where catalog export file will be saved. Example: "gravity_reco/" (path must be writeable)</comment>
123
  </catalog_path>
124
  <all translate="label">
@@ -127,8 +127,8 @@
127
  <source_model>adminhtml/system_config_source_yesno</source_model>
128
  <sort_order>15</sort_order>
129
  <show_in_default>1</show_in_default>
130
- <show_in_website>1</show_in_website>
131
- <show_in_store>1</show_in_store>
132
  <comment>Enable all products to export. Otherwise please select NO and set the maximum number. Note: there can be performance impact during this operation.</comment>
133
  </all>
134
  <max translate="label">
@@ -136,8 +136,8 @@
136
  <frontend_type>text</frontend_type>
137
  <sort_order>20</sort_order>
138
  <show_in_default>1</show_in_default>
139
- <show_in_website>1</show_in_website>
140
- <show_in_store>1</show_in_store>
141
  <comment>The maximum number of products to be exported. This number must be between 1 and 1000.</comment>
142
  <validate>validate-number validate-number-range number-range-1-1000</validate>
143
  <depends><all>0</all></depends>
@@ -148,8 +148,8 @@
148
  <source_model>me_gravity/system_config_source_catalog_attributes</source_model>
149
  <sort_order>30</sort_order>
150
  <show_in_default>1</show_in_default>
151
- <show_in_website>1</show_in_website>
152
- <show_in_store>1</show_in_store>
153
  <comment>Select additional attributes for catalog export.</comment>
154
  </additional>
155
  <only_salable translate="label">
@@ -158,8 +158,8 @@
158
  <source_model>adminhtml/system_config_source_yesno</source_model>
159
  <sort_order>40</sort_order>
160
  <show_in_default>1</show_in_default>
161
- <show_in_website>1</show_in_website>
162
- <show_in_store>1</show_in_store>
163
  <comment>In this case only those products will be exported which quantity higher than zero(is in stock). If your store doesn't use stock management choose YES.</comment>
164
  </only_salable>
165
  <catalog_cron translate="label">
@@ -169,8 +169,8 @@
169
  <backend_model>me_gravity/system_config_backend_catalog_cron</backend_model>
170
  <sort_order>50</sort_order>
171
  <show_in_default>1</show_in_default>
172
- <show_in_website>1</show_in_website>
173
- <show_in_store>1</show_in_store>
174
  <comment>Enable scheduled export job bby cron. Note: you must configure your server to run cron jobs.</comment>
175
  </catalog_cron>
176
  <catalog_cron_time translate="label">
@@ -178,8 +178,8 @@
178
  <frontend_type>time</frontend_type>
179
  <sort_order>60</sort_order>
180
  <show_in_default>1</show_in_default>
181
- <show_in_website>1</show_in_website>
182
- <show_in_store>1</show_in_store>
183
  <comment>Daily start time for automatic catalog export via cron job.</comment>
184
  <depends><catalog_cron>1</catalog_cron></depends>
185
  </catalog_cron_time>
@@ -189,8 +189,8 @@
189
  <frontend_model>me_gravity/adminhtml_system_config_form_catalog</frontend_model>
190
  <sort_order>70</sort_order>
191
  <show_in_default>1</show_in_default>
192
- <show_in_website>1</show_in_website>
193
- <show_in_store>1</show_in_store>
194
  <comment>This will export product catalog and save in xml file. Note: there can be performance impact during this operation.</comment>
195
  </catalog>
196
  </fields>
@@ -1055,8 +1055,8 @@
1055
  <frontend_type>text</frontend_type>
1056
  <sort_order>100</sort_order>
1057
  <show_in_default>1</show_in_default>
1058
- <show_in_website>1</show_in_website>
1059
- <show_in_store>1</show_in_store>
1060
  <fields>
1061
  <log translate="label">
1062
  <label>Enable Debug</label>
@@ -1064,10 +1064,19 @@
1064
  <source_model>adminhtml/system_config_source_yesno</source_model>
1065
  <sort_order>10</sort_order>
1066
  <show_in_default>1</show_in_default>
1067
- <show_in_website>1</show_in_website>
1068
- <show_in_store>1</show_in_store>
1069
  <comment>Enable debug. In this case all transactions will be logged in /var/gravity.log.</comment>
1070
  </log>
 
 
 
 
 
 
 
 
 
1071
  </fields>
1072
  </debug>
1073
  </groups>
109
  <frontend_type>text</frontend_type>
110
  <sort_order>20</sort_order>
111
  <show_in_default>1</show_in_default>
112
+ <show_in_website>0</show_in_website>
113
+ <show_in_store>0</show_in_store>
114
  <fields>
115
  <catalog_path translate="label">
116
  <label>Catalog Export File Path</label>
117
  <frontend_type>text</frontend_type>
118
  <sort_order>10</sort_order>
119
  <show_in_default>1</show_in_default>
120
+ <show_in_website>0</show_in_website>
121
+ <show_in_store>0</show_in_store>
122
  <comment>Path where catalog export file will be saved. Example: "gravity_reco/" (path must be writeable)</comment>
123
  </catalog_path>
124
  <all translate="label">
127
  <source_model>adminhtml/system_config_source_yesno</source_model>
128
  <sort_order>15</sort_order>
129
  <show_in_default>1</show_in_default>
130
+ <show_in_website>0</show_in_website>
131
+ <show_in_store>0</show_in_store>
132
  <comment>Enable all products to export. Otherwise please select NO and set the maximum number. Note: there can be performance impact during this operation.</comment>
133
  </all>
134
  <max translate="label">
136
  <frontend_type>text</frontend_type>
137
  <sort_order>20</sort_order>
138
  <show_in_default>1</show_in_default>
139
+ <show_in_website>0</show_in_website>
140
+ <show_in_store>0</show_in_store>
141
  <comment>The maximum number of products to be exported. This number must be between 1 and 1000.</comment>
142
  <validate>validate-number validate-number-range number-range-1-1000</validate>
143
  <depends><all>0</all></depends>
148
  <source_model>me_gravity/system_config_source_catalog_attributes</source_model>
149
  <sort_order>30</sort_order>
150
  <show_in_default>1</show_in_default>
151
+ <show_in_website>0</show_in_website>
152
+ <show_in_store>0</show_in_store>
153
  <comment>Select additional attributes for catalog export.</comment>
154
  </additional>
155
  <only_salable translate="label">
158
  <source_model>adminhtml/system_config_source_yesno</source_model>
159
  <sort_order>40</sort_order>
160
  <show_in_default>1</show_in_default>
161
+ <show_in_website>0</show_in_website>
162
+ <show_in_store>0</show_in_store>
163
  <comment>In this case only those products will be exported which quantity higher than zero(is in stock). If your store doesn't use stock management choose YES.</comment>
164
  </only_salable>
165
  <catalog_cron translate="label">
169
  <backend_model>me_gravity/system_config_backend_catalog_cron</backend_model>
170
  <sort_order>50</sort_order>
171
  <show_in_default>1</show_in_default>
172
+ <show_in_website>0</show_in_website>
173
+ <show_in_store>0</show_in_store>
174
  <comment>Enable scheduled export job bby cron. Note: you must configure your server to run cron jobs.</comment>
175
  </catalog_cron>
176
  <catalog_cron_time translate="label">
178
  <frontend_type>time</frontend_type>
179
  <sort_order>60</sort_order>
180
  <show_in_default>1</show_in_default>
181
+ <show_in_website>0</show_in_website>
182
+ <show_in_store>0</show_in_store>
183
  <comment>Daily start time for automatic catalog export via cron job.</comment>
184
  <depends><catalog_cron>1</catalog_cron></depends>
185
  </catalog_cron_time>
189
  <frontend_model>me_gravity/adminhtml_system_config_form_catalog</frontend_model>
190
  <sort_order>70</sort_order>
191
  <show_in_default>1</show_in_default>
192
+ <show_in_website>0</show_in_website>
193
+ <show_in_store>0</show_in_store>
194
  <comment>This will export product catalog and save in xml file. Note: there can be performance impact during this operation.</comment>
195
  </catalog>
196
  </fields>
1055
  <frontend_type>text</frontend_type>
1056
  <sort_order>100</sort_order>
1057
  <show_in_default>1</show_in_default>
1058
+ <show_in_website>0</show_in_website>
1059
+ <show_in_store>0</show_in_store>
1060
  <fields>
1061
  <log translate="label">
1062
  <label>Enable Debug</label>
1064
  <source_model>adminhtml/system_config_source_yesno</source_model>
1065
  <sort_order>10</sort_order>
1066
  <show_in_default>1</show_in_default>
1067
+ <show_in_website>0</show_in_website>
1068
+ <show_in_store>0</show_in_store>
1069
  <comment>Enable debug. In this case all transactions will be logged in /var/gravity.log.</comment>
1070
  </log>
1071
+ <version translate="label">
1072
+ <label>Extension Version</label>
1073
+ <frontend_type>text</frontend_type>
1074
+ <frontend_model>me_gravity/adminhtml_system_config_form_version</frontend_model>
1075
+ <sort_order>20</sort_order>
1076
+ <show_in_default>1</show_in_default>
1077
+ <show_in_website>0</show_in_website>
1078
+ <show_in_store>0</show_in_store>
1079
+ </version>
1080
  </fields>
1081
  </debug>
1082
  </groups>
package.xml CHANGED
@@ -1,20 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Me_Gravity</name>
4
- <version>1.0.0.9</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gravityrd.com/">Gravity R&amp;D, Ltd.</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. </summary>
10
  <description>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. The extension responsible for displaying recommendation boxes with products using Magento templates or Gravity based templates. The boxes contains the web shop products offered by the other side, and also sends information for Gravity service to provided proper analysis of users behaviors. It also able to export products catalog and customers for Gravity service using the extension configuration panel, or run daily scheduled export by cron job.</description>
11
- <notes>Version number: 1.0.0.9&#xD;
12
  Stability: Stable&#xD;
13
  Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x </notes>
14
  <authors><author><name>Gravity Recommendations</name><user>gravity_rd</user><email>web-integration@gravityrd.com</email></author></authors>
15
- <date>2015-05-25</date>
16
- <time>11:03:08</time>
17
- <contents><target name="mageetc"><dir name="modules"><file name="Me_Gravity.xml" hash="a385bf72a5c2f0f040d2bb0850ca0b7c"/></dir></target><target name="magecommunity"><dir name="Me"><dir name="Gravity"><dir name="Block"><file name="Abstract.php" hash="586409500493a209ba021f8d471c793c"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Catalog.php" hash="6adcc355986762d7cc19f854c5fdd067"/><file name="Customer.php" hash="50336da73ad37e3895f82980387f6970"/><file name="Test.php" hash="07d7fce9dd15eb623918d6f01505cc32"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Category"><dir name="Boxes"><file name="Category.php" hash="0e9338d55a16ddde3ae30d14695e799d"/><file name="Personal.php" hash="7ac0315f48df1a3262fc06f33d46228a"/><file name="Top.php" hash="1e44870ec677da107bed26542233ab6b"/></dir></dir><dir name="Product"><dir name="View"><dir name="Boxes"><file name="Accessories.php" hash="f118fa14b7c457985c1e9b6b96f08f2e"/><file name="Personal.php" hash="1f2af5e09efad11f36c5a08de3861aee"/><file name="Product.php" hash="f7e66be937ec442e47c7dd4d3024d7df"/><file name="Similar.php" hash="47011f4c56d0bd7d9de7e159f9aeb9bb"/></dir><dir name="Js"><file name="Gravity.php" hash="cba4e59a726e2ff10d746748731ac35e"/></dir></dir></dir></dir><dir name="Catalogsearch"><dir name="Advanced"><dir name="Js"><file name="Gravity.php" hash="a37130181b430d057fa2dcb76de0ff60"/></dir></dir><dir name="Boxes"><file name="Result.php" hash="1c59e5b53cbef273f6cb7cd3448aa45b"/></dir><dir name="Js"><file name="Gravity.php" hash="d065f4ef6555312988c2e165621ea2a8"/></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Boxes"><file name="Cart.php" hash="b720e576c5123f9d52ee98807cb7ac36"/></dir></dir></dir><dir name="General"><dir name="Boxes"><file name="Best.php" hash="079eabb3dbfb2167eb9b0f9497fc37b0"/><file name="History.php" hash="85e0c22619328f8d0f03dfbcb5111709"/><file name="Others.php" hash="02c2cb071acbf74ce31a545c32c69f06"/><file name="Popular.php" hash="15ceca807386ffc3c384e393e4af7244"/></dir></dir><dir name="Page"><dir name="Js"><file name="Gravity.php" hash="26944607e33371fb1f56fca8e3d41aa3"/></dir></dir><file name="Recommendation.php" hash="7de37448b8fbd617a4c714d8fbbdfed3"/><dir name="Widget"><dir name="Boxes"><file name="Widget.php" hash="17560f25437bf04f2f8069b1aeee010e"/></dir></dir></dir><dir name="Helper"><file name="Boxes.php" hash="e321d569b2d6e6ff64e2ae33180b7509"/><file name="Data.php" hash="6e583dd37cadba6c986ad08dda77ae34"/></dir><dir name="Model"><dir name="Client"><file name="GravityClient.php" hash="0294939e272568ffd118db005d15563d"/></dir><file name="Customers.php" hash="7399f7fb93965a3c67f5e2c941209ffe"/><dir name="Export"><file name="Abstract.php" hash="9f42701355b6bb288b4ead0eadcf19f0"/><dir name="Catalog"><file name="Product.php" hash="febaee9a21632ed127624adba95ef1ee"/></dir><dir name="Customer"><file name="Customer.php" hash="d3577acc08cd3004ccfb865232eebb9c"/></dir></dir><dir name="Method"><file name="Abstract.php" hash="c907e89db6238c5001cf653b31afa56e"/><file name="Request.php" hash="7a7d5dce5e55a961df28e18b67dc50dc"/></dir><file name="Observer.php" hash="4dca95a8440ed92084592b219396ca9f"/><file name="Products.php" hash="576c47e7977d9ae0a8d9700d38f6eb17"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Catalog"><file name="Cron.php" hash="395fbd5f3d41223a336057b5bba6f4cc"/></dir></dir><dir name="Source"><dir name="Catalog"><file name="Attributes.php" hash="72df90bea6566c5e843c2301ba4dd6e1"/></dir><dir name="Customer"><file name="Attributes.php" hash="1e940ae61c568d83bc541b0fb8e87de1"/></dir><dir name="Layout"><file name="Layout.php" hash="18ab5c014f802bea1f6a841d062439ac"/><file name="Pages.php" hash="5e443f0c91329db385bc3d3b4e945c22"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="GravityController.php" hash="c6237b4322d5a7a33d191789325b8036"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="91c9644e779d2dcbfced9869d5b7dd95"/><file name="config.xml" hash="ad9d9de83123f56946a8a4f37ad6ff08"/><file name="system.xml" hash="cf35a07de1996cb2fdd575f55e554935"/><file name="widget.xml" hash="9662aa456d8dcf6b38503944427c247e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="767fe3f58ab7398d38e5e9a0610b7e9b"/><file name="sidebar.phtml" hash="07624b8f1c51740734961788c8d1d4c1"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="e6c523725a96b738a5f8586d7a3e8cf5"/><file name="sidebar.phtml" hash="7fc068d92da4d133929bf345a16f2bc3"/></dir><dir name="js"><file name="gravity.phtml" hash="21b1752933f49d4fdf77c1dff3e8accb"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="advanced"><dir name="js"><file name="gravity.phtml" hash="ed37b5368abb0e5e1fddaf7d94f1634f"/></dir></dir><dir name="boxes"><file name="default.phtml" hash="600f331b3ef8772b652cc7fcde0270d6"/><file name="sidebar.phtml" hash="f9b64de7698f8d5a30da7dda56ef8f1d"/></dir><dir name="js"><file name="gravity.phtml" hash="a77756580b0a6577f9431194e88ce0f3"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="20aedc8eed8ab7e4c139f06cd6c0266f"/><file name="sidebar.phtml" hash="1b1f4c63788bfc9f9e338f664c50af64"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aa41e16c11bfd37f4bf56a2a21967980"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="page"><dir name="js"><file name="body-end.phtml" hash="5b642b64e8bb15d8bfe23b13400a7e63"/><file name="gravity.phtml" hash="c8aed3ec9f69f27d968658663edb057b"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="80fd5994cde6c34f862e2850caa2beb1"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="me"><file name="gravity.xml" hash="47f5ea1f53290cfd3f6a48bd2c64a7fc"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="ea2934a0f784adff2bf09d5e86653968"/><file name="sidebar.phtml" hash="f5ba9de470ce1f18720ccabe8cff5316"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="3c27be164e795fb7077c27006dde739a"/><file name="sidebar.phtml" hash="ef52c04a0b0251c23bce81f871181910"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="boxes"><file name="default.phtml" hash="8dc241f668fad3b36e1a26d8c3b01802"/><file name="sidebar.phtml" hash="6aa688d961dfc9818001ae39866a4992"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="c81b3af4fe4fc03444da83f7416d0fc7"/><file name="sidebar.phtml" hash="d78a9160cbeded38e6a989eefe3c3753"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aaa00a090cef33df9d882edfd6dadc9f"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="41552aa04ba7810eada0706a8ee7f5ec"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="system"><dir name="config"><dir name="form"><file name="test.phtml" hash="d9d972a23b04a34ab5f4d70a732d65b3"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="me"><dir name="gravity"><file name="gravity.css" hash="c2c4c7d30bced9a311c98032e38e0e11"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Me_Gravity.csv" hash="cf7233d08a92c8891d62c60b000953c4"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.3.0</min><max>5.6.4</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Me_Gravity</name>
4
+ <version>1.0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gravityrd.com/">Gravity R&amp;D, Ltd.</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. </summary>
10
  <description>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. The extension responsible for displaying recommendation boxes with products using Magento templates or Gravity based templates. The boxes contains the web shop products offered by the other side, and also sends information for Gravity service to provided proper analysis of users behaviors. It also able to export products catalog and customers for Gravity service using the extension configuration panel, or run daily scheduled export by cron job.</description>
11
+ <notes>Version number: 1.0.1.3&#xD;
12
  Stability: Stable&#xD;
13
  Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x </notes>
14
  <authors><author><name>Gravity Recommendations</name><user>gravity_rd</user><email>web-integration@gravityrd.com</email></author></authors>
15
+ <date>2015-06-05</date>
16
+ <time>09:37:18</time>
17
+ <contents><target name="mageetc"><dir name="modules"><file name="Me_Gravity.xml" hash="a385bf72a5c2f0f040d2bb0850ca0b7c"/></dir></target><target name="magecommunity"><dir name="Me"><dir name="Gravity"><dir name="Block"><file name="Abstract.php" hash="586409500493a209ba021f8d471c793c"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Catalog.php" hash="6adcc355986762d7cc19f854c5fdd067"/><file name="Customer.php" hash="50336da73ad37e3895f82980387f6970"/><file name="Test.php" hash="07d7fce9dd15eb623918d6f01505cc32"/><file name="Version.php" hash="cdaa1bf4da1dffefb71aa3a27a63d2f1"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Category"><dir name="Boxes"><file name="Category.php" hash="0e9338d55a16ddde3ae30d14695e799d"/><file name="Personal.php" hash="7ac0315f48df1a3262fc06f33d46228a"/><file name="Top.php" hash="1e44870ec677da107bed26542233ab6b"/></dir></dir><dir name="Product"><dir name="View"><dir name="Boxes"><file name="Accessories.php" hash="f118fa14b7c457985c1e9b6b96f08f2e"/><file name="Personal.php" hash="1f2af5e09efad11f36c5a08de3861aee"/><file name="Product.php" hash="f7e66be937ec442e47c7dd4d3024d7df"/><file name="Similar.php" hash="47011f4c56d0bd7d9de7e159f9aeb9bb"/></dir><dir name="Js"><file name="Gravity.php" hash="cba4e59a726e2ff10d746748731ac35e"/></dir></dir></dir></dir><dir name="Catalogsearch"><dir name="Advanced"><dir name="Js"><file name="Gravity.php" hash="a37130181b430d057fa2dcb76de0ff60"/></dir></dir><dir name="Boxes"><file name="Result.php" hash="1c59e5b53cbef273f6cb7cd3448aa45b"/></dir><dir name="Js"><file name="Gravity.php" hash="d065f4ef6555312988c2e165621ea2a8"/></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Boxes"><file name="Cart.php" hash="b720e576c5123f9d52ee98807cb7ac36"/></dir></dir></dir><dir name="General"><dir name="Boxes"><file name="Best.php" hash="079eabb3dbfb2167eb9b0f9497fc37b0"/><file name="History.php" hash="85e0c22619328f8d0f03dfbcb5111709"/><file name="Others.php" hash="02c2cb071acbf74ce31a545c32c69f06"/><file name="Popular.php" hash="15ceca807386ffc3c384e393e4af7244"/></dir></dir><dir name="Page"><dir name="Js"><file name="Gravity.php" hash="26944607e33371fb1f56fca8e3d41aa3"/></dir></dir><file name="Recommendation.php" hash="7de37448b8fbd617a4c714d8fbbdfed3"/><dir name="Widget"><dir name="Boxes"><file name="Widget.php" hash="17560f25437bf04f2f8069b1aeee010e"/></dir></dir></dir><dir name="Helper"><file name="Boxes.php" hash="e321d569b2d6e6ff64e2ae33180b7509"/><file name="Data.php" hash="c730405317c3d8f35f7cf79e4123fbab"/></dir><dir name="Model"><dir name="Client"><file name="GravityClient.php" hash="0294939e272568ffd118db005d15563d"/></dir><file name="Customers.php" hash="7399f7fb93965a3c67f5e2c941209ffe"/><dir name="Export"><file name="Abstract.php" hash="9f42701355b6bb288b4ead0eadcf19f0"/><dir name="Catalog"><file name="Product.php" hash="febaee9a21632ed127624adba95ef1ee"/></dir><dir name="Customer"><file name="Customer.php" hash="d3577acc08cd3004ccfb865232eebb9c"/></dir></dir><dir name="Method"><file name="Abstract.php" hash="c907e89db6238c5001cf653b31afa56e"/><file name="Request.php" hash="7a7d5dce5e55a961df28e18b67dc50dc"/></dir><file name="Observer.php" hash="2527b0d10cf5448a6727bbee696e4d0c"/><file name="Products.php" hash="ede511d147671ebcd3c3c3b025102f9d"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Catalog"><file name="Cron.php" hash="395fbd5f3d41223a336057b5bba6f4cc"/></dir></dir><dir name="Source"><dir name="Catalog"><file name="Attributes.php" hash="72df90bea6566c5e843c2301ba4dd6e1"/></dir><dir name="Customer"><file name="Attributes.php" hash="1e940ae61c568d83bc541b0fb8e87de1"/></dir><dir name="Layout"><file name="Layout.php" hash="18ab5c014f802bea1f6a841d062439ac"/><file name="Pages.php" hash="5e443f0c91329db385bc3d3b4e945c22"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="GravityController.php" hash="c6237b4322d5a7a33d191789325b8036"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="91c9644e779d2dcbfced9869d5b7dd95"/><file name="config.xml" hash="ff42efc51747ebee76761486c04e4ccf"/><file name="system.xml" hash="d5ac50f7ebba30f537c7aafbfb0f7cb5"/><file name="widget.xml" hash="9662aa456d8dcf6b38503944427c247e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="767fe3f58ab7398d38e5e9a0610b7e9b"/><file name="sidebar.phtml" hash="07624b8f1c51740734961788c8d1d4c1"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="e6c523725a96b738a5f8586d7a3e8cf5"/><file name="sidebar.phtml" hash="7fc068d92da4d133929bf345a16f2bc3"/></dir><dir name="js"><file name="gravity.phtml" hash="21b1752933f49d4fdf77c1dff3e8accb"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="advanced"><dir name="js"><file name="gravity.phtml" hash="ed37b5368abb0e5e1fddaf7d94f1634f"/></dir></dir><dir name="boxes"><file name="default.phtml" hash="600f331b3ef8772b652cc7fcde0270d6"/><file name="sidebar.phtml" hash="f9b64de7698f8d5a30da7dda56ef8f1d"/></dir><dir name="js"><file name="gravity.phtml" hash="a77756580b0a6577f9431194e88ce0f3"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="20aedc8eed8ab7e4c139f06cd6c0266f"/><file name="sidebar.phtml" hash="1b1f4c63788bfc9f9e338f664c50af64"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aa41e16c11bfd37f4bf56a2a21967980"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="page"><dir name="js"><file name="body-end.phtml" hash="5b642b64e8bb15d8bfe23b13400a7e63"/><file name="gravity.phtml" hash="c8aed3ec9f69f27d968658663edb057b"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="80fd5994cde6c34f862e2850caa2beb1"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="me"><file name="gravity.xml" hash="47f5ea1f53290cfd3f6a48bd2c64a7fc"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="ea2934a0f784adff2bf09d5e86653968"/><file name="sidebar.phtml" hash="f5ba9de470ce1f18720ccabe8cff5316"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="3c27be164e795fb7077c27006dde739a"/><file name="sidebar.phtml" hash="ef52c04a0b0251c23bce81f871181910"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="boxes"><file name="default.phtml" hash="8dc241f668fad3b36e1a26d8c3b01802"/><file name="sidebar.phtml" hash="6aa688d961dfc9818001ae39866a4992"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="c81b3af4fe4fc03444da83f7416d0fc7"/><file name="sidebar.phtml" hash="d78a9160cbeded38e6a989eefe3c3753"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aaa00a090cef33df9d882edfd6dadc9f"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="41552aa04ba7810eada0706a8ee7f5ec"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="system"><dir name="config"><dir name="form"><file name="test.phtml" hash="d9d972a23b04a34ab5f4d70a732d65b3"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="me"><dir name="gravity"><file name="gravity.css" hash="c2c4c7d30bced9a311c98032e38e0e11"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Me_Gravity.csv" hash="cf7233d08a92c8891d62c60b000953c4"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.3.0</min><max>5.6.4</max></php></required></dependencies>
20
  </package>