GithubHelp home page GithubHelp logo

icecat2mongodb's Introduction

Framwork for local product-database
-----------------------------------

This framework is based on top of icecat.biz, who offer a great database with product information. as smb-retailer, we needed this information to pimp our data.
So this is how it works:
	* the base stock is build on the data from data-prod-stat.xml, which is offered by icecat, status 1
	* the icecat_fetch.php take a status 1 or 5 entry from db, fetches the xml(.gz), saves it locally and sets the status to 10 on success, to 2 if it fails. 5 is taken first, so there is some kind of prioritized fetch.
	* the icecat_parser.php loads a status 10 entry from db, takes the file and parses most data from it. sets the status to 20 on success, to 5 on fail. on 5, it deletes the xml also.
	* the daily-script loads the daily-changes, marks files as 4 if they are deleted on icecat, to 5 with deletion of xml-file for refetch if something has changed.

so you will likely find many fragments from the initial mysql-based work.

icecat2mongodb's People

Contributors

gweber avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.