Version Notes
This is a stable version of the app.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Feed_Manager |
Version | 1.1.15 |
Comparing to | |
See all releases |
Version 1.1.15
- app/code/community/Readme.txt +24 -0
- app/code/community/magento_feedmanager.php +71 -0
- package.xml +22 -0
app/code/community/Readme.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Description:
|
3 |
+
--------------
|
4 |
+
Feedmanager enables you submit your products to shopping comparison engines.
|
5 |
+
Seamless integration with Magento and shopping comparison engines to provide a solution to list your store on shopping engines.
|
6 |
+
|
7 |
+
Works with magento 1.4x - 1.5x
|
8 |
+
|
9 |
+
|
10 |
+
Installation instructions:
|
11 |
+
---------------------------
|
12 |
+
1. Attached to this readme file is a script named magento_feedmanager.php
|
13 |
+
|
14 |
+
2. Install FeedManager from magento-connect - http://www.magentocommerce.com/magento-connect/rinkarto/extension/6771/feed_manager_version_1_1_2/
|
15 |
+
or extract the contents of the zipped file and upload magento_feedmanager.php file directly to your root folder on your store
|
16 |
+
eg. www.mystore.com/magento_feedmanager.php
|
17 |
+
|
18 |
+
3. Go to http://wwww.retailtower.com/register.php and register with us. We will contact you within 24hrs with your login details
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
Support:
|
23 |
+
---------
|
24 |
+
Visit support.retailtower.com or email: magentosupport@retailtower.com
|
app/code/community/magento_feedmanager.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
set_time_limit(300);
|
4 |
+
ini_set('memory_limit', '-1');
|
5 |
+
|
6 |
+
include_once 'app/Mage.php';
|
7 |
+
umask(0);
|
8 |
+
Mage::app();
|
9 |
+
|
10 |
+
|
11 |
+
$products = Mage::getModel('catalog/product')->getCollection();
|
12 |
+
$products->addAttributeToSelect('*');
|
13 |
+
$products->load();
|
14 |
+
|
15 |
+
$baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|
16 |
+
|
17 |
+
//echo "Total Count =: ".count($products);
|
18 |
+
//echo "<pre>";
|
19 |
+
//print_r($products);
|
20 |
+
|
21 |
+
$output = '<?xml version="1.0" encoding="utf-8"?>
|
22 |
+
<products>';
|
23 |
+
|
24 |
+
if (count($products)):
|
25 |
+
|
26 |
+
foreach ($products as $id => $product):
|
27 |
+
$url = $product->getProductUrl();
|
28 |
+
$url = str_replace('/magento_feedmanager.php','',$url);
|
29 |
+
$url = trim ($url);
|
30 |
+
$output .= '
|
31 |
+
<product>
|
32 |
+
<id>'. $product['entity_id'].'</id>
|
33 |
+
<name><![CDATA['. $product['name'] .']]></name>
|
34 |
+
<sku>'. $product['sku'] .'</sku>
|
35 |
+
<description><![CDATA['. $product['description'] .']]></description>
|
36 |
+
<shortdescription><![CDATA['. $product['short_description'] .']]></shortdescription>
|
37 |
+
<price><![CDATA['. $product['price'] .']]></price>
|
38 |
+
<minimalprice>'. $product['minimal_price'] .'</minimalprice>
|
39 |
+
|
40 |
+
<weight><![CDATA['. $product['weight'] .']]></weight>
|
41 |
+
<url><![CDATA['. $url.']]></url>
|
42 |
+
<meta><![CDATA['. $product['meta_keyword'] .']]></meta>
|
43 |
+
<metadescription><![CDATA['. $product['meta_description'] .']]></metadescription>
|
44 |
+
<image><![CDATA['. $baseUrl ."media/catalog/product". $product['image'] .']]></image>';
|
45 |
+
|
46 |
+
if (isset($attributes[$product['entity_id']])) {
|
47 |
+
$output .= '
|
48 |
+
<attributes>';
|
49 |
+
|
50 |
+
foreach ($attributes[$product['entity_id']] as $attribute => $values)
|
51 |
+
$output .= '
|
52 |
+
<attribute>
|
53 |
+
<name>'. $attribute .'</name>
|
54 |
+
<values>'. join(', ', $values) . '</values>
|
55 |
+
</attribute>';
|
56 |
+
|
57 |
+
$output .= '
|
58 |
+
</attributes>';
|
59 |
+
}
|
60 |
+
|
61 |
+
$output .= '
|
62 |
+
</product>';
|
63 |
+
|
64 |
+
endforeach;
|
65 |
+
|
66 |
+
endif;
|
67 |
+
|
68 |
+
header ("Content-Type: text/xml; charset=ISO-8859-1");
|
69 |
+
print $output .= '
|
70 |
+
</products>';
|
71 |
+
?>
|
package.xml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Feed_Manager</name>
|
4 |
+
<version>1.1.15</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Submit your products to shopping comparison engines using our Feed Manager.</summary>
|
10 |
+
<description>Submit your products to shopping comparison engines using our Feed Manager.
|
11 |
+

|
12 |
+
Seamless integration with Magento and shopping comparison engines to provide a solution to list your store on shopping engines. 
|
13 |
+

|
14 |
+
You can create, optimize, and manage your shopping data feed and automatically list your products on shopping comparison engines.</description>
|
15 |
+
<notes>This is a stable version of the app.</notes>
|
16 |
+
<authors><author><name>admin</name><user>auto-converted</user><email>rinkart@retailtower.com</email></author></authors>
|
17 |
+
<date>2011-05-24</date>
|
18 |
+
<time>17:53:25</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="."><file name="magento_feedmanager.php" hash="ec50c4b4f504c55fdebe4df5f8ec38d3"/><file name="Readme.txt" hash="b39da4dfd2a7756d5baad50b2073fad7"/></dir></target></contents>
|
20 |
+
<compatible/>
|
21 |
+
<dependencies/>
|
22 |
+
</package>
|