Downloads
Allows you to create an RSS feed for Google Base,(http://www.google.com/base/), aka: http://shopping.google.com aka http://www.froogle.com.
Install this module, in google base, you can point it's RSS feed to http://www.YourSiteHere.com/products/google_base.xml
This will post the sell price, weight, and give a direct link to the individual item, instead of just your domain.
Based initially on this thread: http://www.ubercart.org/contrib/1975
Suggest using poor mans cron, for ease of use: http://drupal.org/project/poormanscron
--------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------
Readme.txt follows:
Google Base RSS Feed
Version: 2.3.1
Author: Daniel A. Baker
e-Mail: danbaker@wkacorp.com
URL: http://www.wkacorp.com / http://www.reputabletech.com
Compatability:
Drupal 6.12
Ubercar 2.x
RSS: 2.0
XML: 1.0
Based on Google Base for Ubercart 1.0.
Author: Josh Huckabee.
URL: http://joshhuckabee.com/
Source File: http://www.ubercart.org/contrib/1975
------------------------------------------------------------------------------------------------------
To access, simply point Google's Base Data Feed to: http://www.yoursite.com/products/google_base.xml
Add Functionality:
You can add any functionality you like, the known variables for google are here: http://base.google.com/support/bin/answer.py?hl=en&answer=78170
------------------------------------------------------------------------------------------------------
Version Updates:
------------------------------------------------------------------------------------------------------
2.3.1:
6/21/2009, 11:07am, PDT.
Removed
$output .= "000000000000\n";
To prevent invalid information from being passed to Google Base.
Fixed duplicate entry in readme.txt
------------------------------------------------------------------------------------------------------
2.3:
6/20/2009, 10:37am, PDT.
Added functionality for Quantity, and Item Location. Item location pulls store address from store information. Currently does not pull store state, only street, city and zip, (should be enough for google to accurately process).
Added code:
$store_zip = variable_get('uc_store_postal_code', '');
$store_addy = variable_get('uc_store_street1', '');
$store_city = variable_get('uc_store_city', '');
$output .= "$store_addy" . ', ' . "$store_city" . ', ' . "$store_zip\n";
$output .= "" . $product->pkg_qty . "\n";
------------------------------------------------------------------------------------------------------
2.2:
6/20/2009, 9:18am, PDT.
Added Readme.txt
Added weight tag, including unit of measurement for Google Base.
Added Code:
$output .= "" . $product->weight . ' ' . $product->weight_units . "\n";
------------------------------------------------------------------------------------------------------
2.1:
6/19/2009, 11:50pm, PDT.
Replaced "list Price" with "Sell Price."
Toggled global URL for item specific URL.
Previous Code:
$output .= "" . $product->list_price . "\n";
$output .= "" . $GLOBALS['base_url'] . '/' . $product->path . "\n";
Changed Code:
$output .= "" . $product->sell_price . "\n";
$output .= "" . $GLOBALS['base_url'] . '/node/' . $product->nid . "\n";
------------------------------------------------------------------------------------------------------
2.0
6/18/2009, 11:42am, EST.
Drupal 6.x Compatability re-written.
Author: NecroHill
URL: http://www.ubercart.org/user/3173
------------------------------------------------------------------------------------------------------
| Preview | Attachment | Size |
|---|---|---|
| uc_google_base_2_2.zip | 2.68 KB | |
| uc_google_base_2_3.zip | 3 KB | |
| uc_google_base_2_3_1.zip | 3.14 KB |

