Skip to content

moonshine/spree-google-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUMMARY

This extension allows you to use Google Base to list products for free that will appear in Google Product Search (http://www.froogle.com/).

Learn more about Google Base

INSTALLATION

  1. Create google base account. Create google base ftp account (if applicable). Create data feed in google base with a type "Products" and name "google_base.xml".

  2. Clone the git repo to SPREE_ROOT/vendor/extensions/google_base or install the extension

    git clone git://github.com/stephp/spree-google-base.git google_base

    script/extension install git://github.com/stephp/spree-google-base.git

  3. Run rake db:migrate from SPREE_ROOT

  4. Edit product_type, priorities in spree admin.

  5. Edit SPREE_ROOT/vendor/extensions/google_base/lib/google_base_configuration.rb to set preferences for the feed title, public domain, feed description, ftp login and password. FTP login is not required - you may schedule upload from the public directory.

  6. Set RAILS_ENV to production

  7. Run rake google_base:generate to generate feed. Verify feed exists (SPREE_ROOT/public/google_base.xml).

CRONJOBS

There are two options to regulate google base product update:

A) Setup cronjobs to run 'rake google_base:generate' and 'rake google_base:transfer'

B) Setup cronjob to run 'rake google_base:generate' and schedule the file to be uploaded via Google Base admin from public_domain/google_base.xml

Refer to spree: ruby on rails ecommerce to learn more about spree.

Releases

No releases published

Packages

No packages published