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_4 |
Version | 1.1.90 |
Comparing to | |
See all releases |
Version 1.1.90
- Readme.txt +24 -0
- magento_feedmanager.php +75 -0
- package.xml +22 -0
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
|
magento_feedmanager.php
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<manufacturer><![CDATA['. $product['manufacturer'] .']]></manufacturer>
|
45 |
+
<brand><![CDATA['. $product['brand'] .']]></brand>
|
46 |
+
<upc><![CDATA['. $product['upc'] .']]></upc>
|
47 |
+
<mpn><![CDATA['. $product['mpn'] .']]></mpn>
|
48 |
+
<image><![CDATA['. $baseUrl ."media/catalog/product". $product['image'] .']]></image>';
|
49 |
+
|
50 |
+
if (isset($attributes[$product['entity_id']])) {
|
51 |
+
$output .= '
|
52 |
+
<attributes>';
|
53 |
+
|
54 |
+
foreach ($attributes[$product['entity_id']] as $attribute => $values)
|
55 |
+
$output .= '
|
56 |
+
<attribute>
|
57 |
+
<name>'. $attribute .'</name>
|
58 |
+
<values>'. join(', ', $values) . '</values>
|
59 |
+
</attribute>';
|
60 |
+
|
61 |
+
$output .= '
|
62 |
+
</attributes>';
|
63 |
+
}
|
64 |
+
|
65 |
+
$output .= '
|
66 |
+
</product>';
|
67 |
+
|
68 |
+
endforeach;
|
69 |
+
|
70 |
+
endif;
|
71 |
+
|
72 |
+
header ("Content-Type: text/xml; charset=ISO-8859-1");
|
73 |
+
print $output .= '
|
74 |
+
</products>';
|
75 |
+
?>
|
package.xml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Feed_Manager_Version_1_1_4</name>
|
4 |
+
<version>1.1.90</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-06-29</date>
|
18 |
+
<time>16:34:09</time>
|
19 |
+
<contents><target name="mageweb"><dir name="."><file name="magento_feedmanager.php" hash="e674bac0759b55e47604e662d987744c"/><file name="Readme.txt" hash="b39da4dfd2a7756d5baad50b2073fad7"/></dir></target></contents>
|
20 |
+
<compatible/>
|
21 |
+
<dependencies/>
|
22 |
+
</package>
|