Version Notes
Changes since last release:
* error logging if output to feed file fails
* feed generation with extension turned off
* EE 1.13.1.0 compatibility
* Child product Id in price feed for price variation across children
Download this release
Release Info
Developer | Platform support |
Extension | slisearch |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.6
- app/code/local/SLI/Search/Helper/Data.php +16 -2
- app/code/local/SLI/Search/Helper/Feed.php +9 -9
- app/code/local/SLI/Search/Model/System/Config/Backend/Cron.php +1 -1
- app/code/local/SLI/Search/Model/System/Config/Backend/Enabledsetting.php +43 -0
- app/code/local/SLI/Search/etc/config.xml +4 -10
- app/code/local/SLI/Search/etc/system.xml +1 -1
- app/design/frontend/base/default/layout/sli/search.xml +45 -0
- app/design/frontend/base/default/template/sli/search/form.mini.phtml +50 -0
- package.xml +11 -128
- shell/sli/feed.php +5 -4
app/code/local/SLI/Search/Helper/Data.php
CHANGED
@@ -25,7 +25,10 @@ class SLI_Search_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
25 |
const JS_GROUP = "js/";
|
26 |
const CRON_GROUP = "cron/";
|
27 |
const ATTR_GROUP = "attributes/";
|
28 |
-
const DEFAULT_ATTRS = "default_attributes/";
|
|
|
|
|
|
|
29 |
|
30 |
/**
|
31 |
* Returns true/false on whether or not the module is enabled
|
@@ -33,7 +36,18 @@ class SLI_Search_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
33 |
* @return boolean
|
34 |
*/
|
35 |
public function isEnabled($store_id = 0) {
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
/**
|
25 |
const JS_GROUP = "js/";
|
26 |
const CRON_GROUP = "cron/";
|
27 |
const ATTR_GROUP = "attributes/";
|
28 |
+
const DEFAULT_ATTRS = "default_attributes/";
|
29 |
+
const ENABLED = 1;
|
30 |
+
const DISABLED = 2;
|
31 |
+
const FEEDENABLED = 3;
|
32 |
|
33 |
/**
|
34 |
* Returns true/false on whether or not the module is enabled
|
36 |
* @return boolean
|
37 |
*/
|
38 |
public function isEnabled($store_id = 0) {
|
39 |
+
$enabled = Mage::app()->getStore($store_id)->getConfig(self::SECTION . self::GENERAL_GROUP . 'enabled');
|
40 |
+
return (bool) ($enabled == self::ENABLED) ? 1 : 0;
|
41 |
+
}
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Returns true/false on whether or not the feed is enabled
|
45 |
+
*
|
46 |
+
* @return boolean
|
47 |
+
*/
|
48 |
+
public function isFeedEnabled($store_id = 0) {
|
49 |
+
$feedEnabled = Mage::app()->getStore($store_id)->getConfig(self::SECTION . self::GENERAL_GROUP . 'enabled');
|
50 |
+
return (bool) ($feedEnabled != self::DISABLED) ? 1 : 0;
|
51 |
}
|
52 |
|
53 |
/**
|
app/code/local/SLI/Search/Helper/Feed.php
CHANGED
@@ -79,18 +79,18 @@ class SLI_Search_Helper_Feed {
|
|
79 |
try{
|
80 |
$stores = Mage::getResourceModel('core/store_collection');
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
foreach($stores as $store) {
|
91 |
$this->postToGenerateFeed($store, $urlParts);
|
92 |
}
|
93 |
-
|
94 |
}
|
95 |
catch (Exception $e) {
|
96 |
Mage::logException($e);
|
79 |
try{
|
80 |
$stores = Mage::getResourceModel('core/store_collection');
|
81 |
|
82 |
+
if(Mage::getStoreConfig('sli_search/feed/sequential')){
|
83 |
+
foreach($stores as $store){
|
84 |
+
$storeId = $store->getId();
|
85 |
+
Mage::getModel('sli_search/feed')->setData('store_id', $storeId)->generateFeed();
|
86 |
+
Mage::getModel('sli_search/feed')->setData('store_id', $storeId)->generateFeed(true);
|
87 |
+
}
|
88 |
+
}
|
89 |
+
else{
|
90 |
foreach($stores as $store) {
|
91 |
$this->postToGenerateFeed($store, $urlParts);
|
92 |
}
|
93 |
+
}
|
94 |
}
|
95 |
catch (Exception $e) {
|
96 |
Mage::logException($e);
|
app/code/local/SLI/Search/Model/System/Config/Backend/Cron.php
CHANGED
@@ -26,7 +26,7 @@ class SLI_Search_Model_System_Config_Backend_Cron extends Mage_Core_Model_Config
|
|
26 |
* and time as a cron string to a parsable path that the crontab will pick up
|
27 |
*/
|
28 |
protected function _afterSave() {
|
29 |
-
$isEnabled =
|
30 |
|
31 |
$frequency = $this->getData('groups/cron/fields/frequency/value');
|
32 |
$time = $this->getData('groups/cron/fields/time/value');
|
26 |
* and time as a cron string to a parsable path that the crontab will pick up
|
27 |
*/
|
28 |
protected function _afterSave() {
|
29 |
+
$isEnabled = Mage::helper('sli_search')->isFeedEnabled();
|
30 |
|
31 |
$frequency = $this->getData('groups/cron/fields/frequency/value');
|
32 |
$time = $this->getData('groups/cron/fields/time/value');
|
app/code/local/SLI/Search/Model/System/Config/Backend/Enabledsetting.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2013 S.L.I. Systems, Inc. (www.sli-systems.com) - All Rights Reserved
|
4 |
+
* This file is part of Learning Search Connect.
|
5 |
+
* Learning Search Connect is distribute under license,
|
6 |
+
* go to www.sli-systems.com/LSC for full license details.
|
7 |
+
*
|
8 |
+
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
9 |
+
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
10 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
11 |
+
* PARTICULAR PURPOSE.
|
12 |
+
*
|
13 |
+
*/
|
14 |
+
|
15 |
+
class SLI_Search_Model_System_Config_Backend_Enabledsetting {
|
16 |
+
/**
|
17 |
+
* Options getter
|
18 |
+
*
|
19 |
+
* @return array
|
20 |
+
*/
|
21 |
+
public function toOptionArray()
|
22 |
+
{
|
23 |
+
return array(
|
24 |
+
array('value' => 1, 'label'=>Mage::helper('sli_search')->__('Enabled')),
|
25 |
+
array('value' => 2, 'label'=>Mage::helper('sli_search')->__('Disabled')),
|
26 |
+
array('value' => 3, 'label'=>Mage::helper('sli_search')->__('Only Feed Enabled')),
|
27 |
+
);
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Get options in "key-value" format
|
32 |
+
*
|
33 |
+
* @return array
|
34 |
+
*/
|
35 |
+
public function toArray()
|
36 |
+
{
|
37 |
+
return array(
|
38 |
+
1 => Mage::helper('sli_search')->__('Enabled'),
|
39 |
+
2 => Mage::helper('sli_search')->__('Disabled'),
|
40 |
+
3 => Mage::helper('sli_search')->__('Only Feed Enabled'),
|
41 |
+
);
|
42 |
+
}
|
43 |
+
}
|
app/code/local/SLI/Search/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<SLI_Search>
|
23 |
-
<version>2.0.
|
24 |
</SLI_Search>
|
25 |
</modules>
|
26 |
<global>
|
@@ -92,16 +92,10 @@
|
|
92 |
<path></path>
|
93 |
</ftp>
|
94 |
<js>
|
95 |
-
<header><
|
96 |
-
|
97 |
-
document.write(unescape('%3Clink rel="stylesheet" type="text/css" href="' + sliJsHost + 'assets.resultspage.com/js/rac/sli-rac.0.3.css" /%3E'));
|
98 |
-
document.write(unescape('%3Clink rel="stylesheet" type="text/css" href="' + sliJsHost + slibaseurl + '/rac/sli-rac.css" /%3E'));
|
99 |
-
</script></header>
|
100 |
-
<footer><script language="javascript" type="text/javascript">
|
101 |
-
document.write(unescape('%3Cscript src="' + sliJsHost + slibaseurl + '/rac/sli-rac.config.js" type="text/javascript"%3E%3C/script%3E'));
|
102 |
-
</script></footer>
|
103 |
<autocomplete></autocomplete>
|
104 |
-
<domain
|
105 |
</js>
|
106 |
<cron>
|
107 |
<email></email>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<SLI_Search>
|
23 |
+
<version>2.0.6</version>
|
24 |
</SLI_Search>
|
25 |
</modules>
|
26 |
<global>
|
92 |
<path></path>
|
93 |
</ftp>
|
94 |
<js>
|
95 |
+
<header><!-- Please get configuration from SLI Systems !--></header>
|
96 |
+
<footer></footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
<autocomplete></autocomplete>
|
98 |
+
<domain></domain>
|
99 |
</js>
|
100 |
<cron>
|
101 |
<email></email>
|
app/code/local/SLI/Search/etc/system.xml
CHANGED
@@ -47,7 +47,7 @@
|
|
47 |
<enabled translate="label">
|
48 |
<label>Enabled</label>
|
49 |
<frontend_type>select</frontend_type>
|
50 |
-
<source_model>
|
51 |
<sort_order>1</sort_order>
|
52 |
<show_in_default>1</show_in_default>
|
53 |
<show_in_website>1</show_in_website>
|
47 |
<enabled translate="label">
|
48 |
<label>Enabled</label>
|
49 |
<frontend_type>select</frontend_type>
|
50 |
+
<source_model>sli_search/system_config_backend_enabledsetting</source_model>
|
51 |
<sort_order>1</sort_order>
|
52 |
<show_in_default>1</show_in_default>
|
53 |
<show_in_website>1</show_in_website>
|
app/design/frontend/base/default/layout/sli/search.xml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Copyright (c) 2013 S.L.I. Systems, Inc. (www.sli-systems.com) - All Rights Reserved
|
5 |
+
* This file is part of Learning Search Connect.
|
6 |
+
* Learning Search Connect is distribute under license,
|
7 |
+
* go to www.sli-systems.com/LSC for full license details.
|
8 |
+
*
|
9 |
+
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
10 |
+
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
11 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
12 |
+
* PARTICULAR PURPOSE.
|
13 |
+
*
|
14 |
+
* Layout xml to change out the search mini form with the SLI one, add the SLI
|
15 |
+
* header and footer javascript to all pages, and format the special SLI search
|
16 |
+
* template that they hit for design updates.
|
17 |
+
*
|
18 |
+
* @package SLI
|
19 |
+
* @subpackage Search
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<layout version="0.1.0">
|
23 |
+
<default>
|
24 |
+
<reference name="before_body_end">
|
25 |
+
<block type="sli_search/search_js_bottom" name="sli_search_bottom_js" />
|
26 |
+
</reference>
|
27 |
+
<reference name="head">
|
28 |
+
<block type="sli_search/search_js_top" name="sli_search_top_js" />
|
29 |
+
</reference>
|
30 |
+
<reference name="header">
|
31 |
+
<action method="unsetBlock"><block>top.search</block></action>
|
32 |
+
<block name="top.search" as="topSearch" type="sli_search/search_form_mini" template="catalogsearch/form.mini.phtml"/>
|
33 |
+
</reference>
|
34 |
+
</default>
|
35 |
+
<sli_search_search_template>
|
36 |
+
<reference name="root">
|
37 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
38 |
+
</reference>
|
39 |
+
<reference name="content">
|
40 |
+
<block type="core/text" name="sli_tags">
|
41 |
+
<action method="setText" module="sli_search"><text><![CDATA[ <!--SLIContent--><!--EndSLIContent--> ]]></text></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
</sli_search_search_template>
|
45 |
+
</layout>
|
app/design/frontend/base/default/template/sli/search/form.mini.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2013 S.L.I. Systems, Inc. (www.sli-systems.com) - All Rights Reserved
|
4 |
+
* This file is part of Learning Search Connect.
|
5 |
+
* Learning Search Connect is distribute under license,
|
6 |
+
* go to www.sli-systems.com/LSC for full license details.
|
7 |
+
*
|
8 |
+
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
9 |
+
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
10 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
11 |
+
* PARTICULAR PURPOSE.
|
12 |
+
*
|
13 |
+
* Search Mini Form for SLI.
|
14 |
+
* Provides search url to SLI hosted search solution and SLI provided autocomplete
|
15 |
+
* feature.
|
16 |
+
*
|
17 |
+
* @package SLI
|
18 |
+
* @subpackage Search
|
19 |
+
*/
|
20 |
+
?>
|
21 |
+
<form name="searchform" action="<?php echo $this->getSearchUrl() ?>" method="get" id="SliSearchProductForm" onsubmit="ajaxsearchsubmit(this);return false;">
|
22 |
+
<div class="form-search">
|
23 |
+
<label for="search">Search:</label>
|
24 |
+
<input type="hidden" name="p" value="Q" />
|
25 |
+
<input type="hidden" name="asug" />
|
26 |
+
<input type="text" name="w" id="sli_search_1" class="input-text" autocomplete="off" size="20"/>
|
27 |
+
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
28 |
+
</div>
|
29 |
+
<script type="text/javascript">
|
30 |
+
//<![CDATA[
|
31 |
+
var searchForm = new Varien.searchForm('SliSearchProductForm', 'sli_search_1', '<?php echo $this->__('Search entire store here...') ?>');
|
32 |
+
//]]>
|
33 |
+
</script>
|
34 |
+
</form>
|
35 |
+
<?php echo $this->getInlineAutocompleteJs(); ?>
|
36 |
+
<script type="text/javascript">
|
37 |
+
function ajaxsearchsubmit(form){
|
38 |
+
var search = encodeURIComponent(form.w.value);
|
39 |
+
if (ajaxsearch) {
|
40 |
+
window.location=slibaseurlsearch+"#w="+search
|
41 |
+
} else {
|
42 |
+
var asug = encodeURIComponent(form.asug.value);
|
43 |
+
window.location=slibaseurlsearch+"?w="+search+"&asug="+asug;
|
44 |
+
|
45 |
+
}
|
46 |
+
return false;
|
47 |
+
}
|
48 |
+
</script>
|
49 |
+
|
50 |
+
|
package.xml
CHANGED
@@ -1,139 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>slisearch</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://sli-systems.com/lsc">SLI Feed Generation</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>LSC integrates Magento with SLI's SaaS based Learning Search, Learning Navigation and user based SEO products.</summary>
|
10 |
-
<description
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
<a href="http://www.sli-systems.com/solutions/site-search">Learning Search for eCommerce Retail Sites</a>
|
21 |
-
</li>
|
22 |
-
<li>
|
23 |
-
<a href="http://www.sli-systems.com/solutions/navigation">Learning Navigation for eCommerce Retail Sites</a>
|
24 |
-
</li>
|
25 |
-
<li>
|
26 |
-
<a href="http://www.sli-systems.com/solutions/site-champion">Site Champion: User-Generated SEO</a>
|
27 |
-
</li>
|
28 |
-
<li>
|
29 |
-
<a href="http://www.sli-systems.com/solutions/mobile-site-search">Site Search for Mobile Devices</a>
|
30 |
-
</li>
|
31 |
-
<li>24x7 support </li>
|
32 |
-
<li>Other features include:
|
33 |
-
<ul>
|
34 |
-
<li>
|
35 |
-
<a href="http://www.sli-systems.com/solutions/merchandising">SLI Merchandising</a>
|
36 |
-
</li>
|
37 |
-
<li>
|
38 |
-
<a href="http://www.sli-systems.com/solutions/multivariate-testing">Conversion Optimizer for A/B and Multivariate Testing</a>
|
39 |
-
</li>
|
40 |
-
<li>Comprehensive reporting system</li>
|
41 |
-
<li>Rich Auto Complete</li>
|
42 |
-
<li>AJAX search</li>
|
43 |
-
</ul>
|
44 |
-
</li>
|
45 |
-

|
46 |
-

|
47 |
-

|
48 |
-
Learning Search Connect has the following capabilities
|
49 |
-
<div>
|
50 |
-
<ul>
|
51 |
-
<li>Store specific feeds</li>
|
52 |
-
<li>Optional separate price feed in case advanced price finding mechanisms (such as catalog price rules) are used in the implementation</li>
|
53 |
-
<li>Replacement of the Magento built in catalogsearch form with the SLI search form</li>
|
54 |
-
<li>
|
55 |
-
<span>Very fast generation of feeds</span>
|
56 |
-
</li>
|
57 |
-
<li>Optional backup of feeds</li>
|
58 |
-
<li>Optional FTP</li>
|
59 |
-
<li>Scheduling of feed generation</li>
|
60 |
-
<li>Triggering of feed generation via command line interface</li>
|
61 |
-
<li>Support for Parent Child relationships (via associated products and super attributes)</li>
|
62 |
-
<li>Price Ranges on the parent product</li>
|
63 |
-
<li>Inventory information</li>
|
64 |
-
<li>Stock information</li>
|
65 |
-
<li>Multiple, tiered categories per feed</li>
|
66 |
-
<li>Support for advanced price finding mechanisms:
|
67 |
-
<ul>
|
68 |
-
<li>Price range on parent products</li>
|
69 |
-
<li>special price with date range</li>
|
70 |
-
<li>Catalog Price Rules (full support, including customer group specific prices)</li>
|
71 |
-
<li>Tiered prices</li>
|
72 |
-
<li>Group/Bundle prices</li>
|
73 |
-
</ul>
|
74 |
-
</li>
|
75 |
-
<li>Configurable list of attributes to be added into the feed</li>
|
76 |
-
</ul>
|
77 |
-
Request a Demo
|
78 |
-
</div>
|
79 |
-
<div>
|
80 |
-
<div class="lpeCElement Rich_Text_2">
|
81 |
-
<span>See a live demo and find out how SLI can help you with easy to use site search and merchandising. Discover why others make the switch and use powerful technology that continuously "learns" from past site search activity by tracking visitors' aggregate search queries and click-throughs. </span>
|
82 |
-
</div>
|
83 |
-
<div>
|
84 |
-
<p>You can request a demo by clicking on this link: <a href="http://sitesearch.sli-systems.com/Request-Demo.html">Request a Demo</a>
|
85 |
-
</p>
|
86 |
-
</div>
|
87 |
-
</div>
|
88 |
-
<div>
|
89 |
-
<div class="lpeCElement Rich_Text_1">
|
90 |
-

|
91 |
-
<span>
|
92 |
-
<a href="mailto:discovery@sli-systems.com" title="Send us an e-mail">
|
93 |
-
<span style="color: rgb(0,0,0);">Send us an e-mail</span>
|
94 |
-
</a>
|
95 |
-
</span>
|
96 |
-

|
97 |
-
<p>
|
98 |
-
<span>
|
99 |
-
<span style="color: rgb(0,0,0);">
|
100 |
-
<a href="mailto:discovery@sli-systems.com">discovery@sli-systems.com</a>
|
101 |
-
</span>
|
102 |
-
</span>
|
103 |
-
</p>
|
104 |
-

|
105 |
-
<span>
|
106 |
-
<span style="color: rgb(0,0,0);">Call us</span>
|
107 |
-
</span>
|
108 |
-

|
109 |
-
</div>
|
110 |
-
<div>
|
111 |
-
<p>
|
112 |
-
<strong>USA - </strong>Toll Free: (866) 240-2812</p>
|
113 |
-
<p>
|
114 |
-
<strong>United Kingdom - </strong>
|
115 |
-
<span>Toll Free: 0800 032 4783</span>
|
116 |
-
</p>
|
117 |
-
<p>
|
118 |
-
<strong>Australia - </strong>Toll Free: 1800 139 190</p>
|
119 |
-
<p>
|
120 |
-
<strong>New Zealand - </strong>Toll Free: 0800 SLI SYS (0800 754 797)</p>
|
121 |
-
Important Notice:
|
122 |
-
<p>Please be aware that the extension provided here is reduced in functionality. This extension will allow you to replace the Magento Built in Catalog Search with Search hosted by SLI. It will expose the Magento site template URL. However feed creation is limited to determining the number of products that would be in the feed if the full version was used. Please contact us for the full version of LSC.</p>
|
123 |
-
</div>
|
124 |
-
</div></description>
|
125 |
-
<notes>Below the list of changes since the last version:
|
126 |
-
a) Store level ftp and attribute configuration.
|
127 |
-
b) CRON jobs can be disabled.
|
128 |
-
c) Support for linked products.
|
129 |
-
d) Feeds can be produced seqentially.
|
130 |
-
e) Feed origin information in the root element
|
131 |
-
and some bug fixes
|
132 |
-
f) Support for catalog price rule actions on sub-products</notes>
|
133 |
-
<authors><author><name>SLI-Systems</name><user>SLISystems</user><email>support@sli-systems.com</email></author></authors>
|
134 |
-
<date>2013-09-26</date>
|
135 |
-
<time>22:42:10</time>
|
136 |
-
<contents><target name="magelocal"><dir name="SLI"><dir name="Search"><dir name="Block"><dir name="Search"><dir name="Form"><file name="Mini.php" hash="7abb2d4708fae5018a214c3c04c626bf"/></dir><dir name="Js"><file name="Bottom.php" hash="702dd219952b047ba47c4931f3e12344"/><file name="Top.php" hash="be80119d48facedc599fadb7f15738a7"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Minigrid"><file name="Js.php" hash="1a9a5a3c880c11f6e99ba53956ec7101"/></dir><file name="Minigrid.php" hash="3f0810444f875bf8502ef79742a314e4"/><file name="Version.php" hash="72bcde22f1eaa0e2f8fafd3e00d717e4"/></dir></dir><file name="Form.php" hash="4a1551d259ef3510cb803cb02a026083"/><dir name="Frontend"><dir name="Feed"><dir name="Generate"><file name="Js.php" hash="3ba76026119adb36aed4d1d052eb464c"/></dir><file name="Generate.php" hash="3ad8446e6650c5d3562574f294b4bcef"/><file name="Next.php" hash="008c3d9351c50712ea4d2b76531e0bb4"/></dir></dir></dir></dir><dir name="Widget"><dir name="Minigrid"><file name="Form.php" hash="014ef14b01cbafc9cd305e9a1caf82ae"/></dir></dir></dir><file name="Exception.php" hash="6a8fc0cab1826df68df2e447d2152e58"/><dir name="Helper"><file name="Data.php" hash="cc1ba30e326624ba85d3d7b89d480afc"/><file name="Feed.php" hash="82e81303da41497a59c974d25f7d3bb8"/></dir><dir name="Model"><file name="Cron.php" hash="77ade7fc8aaeb1be0dc326ad2b0a884f"/><file name="Email.php" hash="701049238dca1a452e67d7bcc0d77f00"/><file name="Feed.php" hash="8d99140347d164e59e3258cd44ddf846"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="320f7eb3a1be3e309b2ded0bfe0b7c5e"/><file name="Loglevel.php" hash="31b58bfdf479b9de2380f3d741bd3175"/><file name="Minigrid.php" hash="a899cfbc25c573846b735e1170970c99"/></dir><dir name="Source"><file name="Attributes.php" hash="3c6081453f2e499952907412b79b6250"/><dir name="Minigrid"><file name="Abstract.php" hash="3f65ae2dd959bb8583cfcffb0109cffa"/><file name="Attributes.php" hash="7a97225139a38a4a0576538293980187"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="SearchController.php" hash="44422b8daf76199590dd0d7cbfb4a76c"/></dir><dir name="doc"><file name="changelog.txt" hash="93ac6e72c6dbfb91e3ee2f2c2701d865"/><file name="design.txt" hash="ff939b286de699aed45c6d6ad103cd5c"/><file name="makeTar.txt" hash="ef75554f12dde147891fea285a7f6bc0"/></dir><file name="dropdown.sql" hash="dc15502900071cb30caa144ddeb21a0d"/><dir name="etc"><file name="adminhtml.xml" hash="868b799465f118e2212bcff9048994bb"/><file name="config.xml" hash="952995b4744bdf90c75de60ffb147b4b"/><file name="system.xml" hash="f935a8076a8382d5d1b99e9f505d6987"/></dir><dir name="sql"><dir name="sli_search_setup"><file name="install-1.0.0.php" hash="8b5dd72380e039eb124b804657086f77"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sli"><dir name="search"><dir name="sysconfig"><dir name="generate"><file name="js.phtml" hash=""/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SLI_Search.xml" hash=""/></dir></target><target name="mage"><dir name="shell"><dir name="sli"><file name="feed.php" hash=""/></dir></dir></target></contents>
|
137 |
<compatible/>
|
138 |
<dependencies><required><php><min>5.3.19</min><max>5.5.0</max></php></required></dependencies>
|
139 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>slisearch</name>
|
4 |
+
<version>2.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://sli-systems.com/lsc">SLI Feed Generation</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>LSC integrates Magento with SLI's SaaS based Learning Search, Learning Navigation and user based SEO products.</summary>
|
10 |
+
<description>Learning Search Connect (LSC) produces data feeds out of current Magento Community and Enterprise editions. The feeds are created and then sent to SLI's FTP servers for further processing.</description>
|
11 |
+
<notes>Changes since last release:
|
12 |
+
* error logging if output to feed file fails
|
13 |
+
* feed generation with extension turned off
|
14 |
+
* EE 1.13.1.0 compatibility
|
15 |
+
* Child product Id in price feed for price variation across children</notes>
|
16 |
+
<authors><author><name>Platform support</name><user>SLI-Systems</user><email>support@sli-system.com</email></author></authors>
|
17 |
+
<date>2014-05-19</date>
|
18 |
+
<time>06:13:56</time>
|
19 |
+
<contents><target name="magelocal"><dir name="SLI"><dir name="Search"><dir name="Block"><dir name="Search"><dir name="Form"><file name="Mini.php" hash="7abb2d4708fae5018a214c3c04c626bf"/></dir><dir name="Js"><file name="Bottom.php" hash="702dd219952b047ba47c4931f3e12344"/><file name="Top.php" hash="be80119d48facedc599fadb7f15738a7"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Minigrid"><file name="Js.php" hash="1a9a5a3c880c11f6e99ba53956ec7101"/></dir><file name="Minigrid.php" hash="3f0810444f875bf8502ef79742a314e4"/><file name="Version.php" hash="72bcde22f1eaa0e2f8fafd3e00d717e4"/></dir></dir><file name="Form.php" hash="4a1551d259ef3510cb803cb02a026083"/><dir name="Frontend"><dir name="Feed"><dir name="Generate"><file name="Js.php" hash="3ba76026119adb36aed4d1d052eb464c"/></dir><file name="Generate.php" hash="3ad8446e6650c5d3562574f294b4bcef"/><file name="Next.php" hash="008c3d9351c50712ea4d2b76531e0bb4"/></dir></dir></dir></dir><dir name="Widget"><dir name="Minigrid"><file name="Form.php" hash="014ef14b01cbafc9cd305e9a1caf82ae"/></dir></dir></dir><file name="Exception.php" hash="6a8fc0cab1826df68df2e447d2152e58"/><dir name="Helper"><file name="Data.php" hash="7eb1ffdaa0bbc13e2f7924b0e1c78f19"/><file name="Feed.php" hash="2b376df484f19339d49d755a7d3768f2"/></dir><dir name="Model"><file name="Cron.php" hash="77ade7fc8aaeb1be0dc326ad2b0a884f"/><file name="Email.php" hash="701049238dca1a452e67d7bcc0d77f00"/><file name="Feed.php" hash="8d99140347d164e59e3258cd44ddf846"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="ae282d6bfc5e22e7c3320d581465f24d"/><file name="Enabledsetting.php" hash="059ac548a388b8ca02147d0d317f7bb5"/><file name="Loglevel.php" hash="31b58bfdf479b9de2380f3d741bd3175"/><file name="Minigrid.php" hash="a899cfbc25c573846b735e1170970c99"/></dir><dir name="Source"><file name="Attributes.php" hash="3c6081453f2e499952907412b79b6250"/><dir name="Minigrid"><file name="Abstract.php" hash="3f65ae2dd959bb8583cfcffb0109cffa"/><file name="Attributes.php" hash="7a97225139a38a4a0576538293980187"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="SearchController.php" hash="44422b8daf76199590dd0d7cbfb4a76c"/></dir><dir name="doc"><file name="changelog.txt" hash="93ac6e72c6dbfb91e3ee2f2c2701d865"/><file name="design.txt" hash="ff939b286de699aed45c6d6ad103cd5c"/><file name="makeTar.txt" hash="ef75554f12dde147891fea285a7f6bc0"/></dir><file name="dropdown.sql" hash="dc15502900071cb30caa144ddeb21a0d"/><dir name="etc"><file name="adminhtml.xml" hash="868b799465f118e2212bcff9048994bb"/><file name="config.xml" hash="3fa09cfd3209a621fc0391b4b7f374ec"/><file name="system.xml" hash="7b4e9e3fd6d12ed8aa98fd20b2dfb96c"/></dir><dir name="sql"><dir name="sli_search_setup"><file name="install-1.0.0.php" hash="8b5dd72380e039eb124b804657086f77"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sli"><dir name="search"><dir name="sysconfig"><dir name="generate"><file name="js.phtml" hash="1c319107ff81a345b1a74e35db7e9345"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="sli"><file name="search.xml" hash="577634295563f34597cbbde6978d56d1"/></dir></dir><dir name="template"><dir name="sli"><dir name="search"><file name="form.mini.phtml" hash="5778ded4b39229cc77ab4906b740c94e"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SLI_Search.xml" hash="69e7e36c854f81f58e6445324aa37021"/></dir></target><target name="mage"><dir name="shell"><dir name="sli"><file name="feed.php" hash="567397aaa41212659be97b3e9d5663b6"/></dir></dir></target></contents>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.3.19</min><max>5.5.0</max></php></required></dependencies>
|
22 |
</package>
|
shell/sli/feed.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
10 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
11 |
* PARTICULAR PURPOSE.
|
12 |
-
*
|
13 |
*
|
14 |
* @package SLI
|
15 |
* @subpackage Search
|
@@ -30,12 +30,13 @@ class SLI_Search_Shell_Feed extends Mage_Shell_Abstract {
|
|
30 |
$id = $this->getArg('store');
|
31 |
if (!is_bool($id)) {
|
32 |
Mage::getModel('sli_search/feed')->setData('store_id', $id)->generateFeed(); //Standard feed
|
|
|
33 |
echo "Feed generated for store $id.\n";
|
34 |
return true;
|
35 |
}
|
36 |
else if (count($this->_args) == 1){
|
37 |
-
Mage::
|
38 |
-
echo "
|
39 |
return true;
|
40 |
}
|
41 |
}
|
@@ -71,4 +72,4 @@ USAGE;
|
|
71 |
}
|
72 |
|
73 |
$sliSearchFeed = new SLI_Search_Shell_Feed();
|
74 |
-
$sliSearchFeed->run();
|
9 |
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
10 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
11 |
* PARTICULAR PURPOSE.
|
12 |
+
*
|
13 |
*
|
14 |
* @package SLI
|
15 |
* @subpackage Search
|
30 |
$id = $this->getArg('store');
|
31 |
if (!is_bool($id)) {
|
32 |
Mage::getModel('sli_search/feed')->setData('store_id', $id)->generateFeed(); //Standard feed
|
33 |
+
Mage::getModel('sli_search/feed')->setData('store_id', $id)->generateFeed(true); //Price feed
|
34 |
echo "Feed generated for store $id.\n";
|
35 |
return true;
|
36 |
}
|
37 |
else if (count($this->_args) == 1){
|
38 |
+
Mage::helper('sli_search/feed')->generateFeedsForAllStores();
|
39 |
+
echo "Generating feeds for all stores.\n";
|
40 |
return true;
|
41 |
}
|
42 |
}
|
72 |
}
|
73 |
|
74 |
$sliSearchFeed = new SLI_Search_Shell_Feed();
|
75 |
+
$sliSearchFeed->run();
|