Monday, August 18, 2014

Fun with laravel

http://laravel.com/

Sunday, June 15, 2014

Grate tool for start your web application

http://yeoman.io/

Wednesday, May 14, 2014

Friday, February 14, 2014

Best Node.js +  MongoDB hosting provider 

www.modulus.io [ This is great for doing testing and creating databases on the fly ]

Test Todo application using node +  MongoDB + Angularjs 

http://mynode-11135.onmodulus.net/

Friday, January 17, 2014

Create a new node.js module  for Amazon scraper

https://npmjs.org/package/amazonscraper

Install :

npm install amazonscraper

Example :

var amazone = require('amazonscraper');
var am  = amazone.getBookInfo("9781559391535" , function(bookArray){

    console.log(bookArray)  ;


} );




Wednesday, January 8, 2014


Example code for amazon scraper using  nodejs

var cheerio = require("cheerio");
var request = require("request");

function findPrice(isbn){

    request('http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps
&field-keywords=' + isbn , function (error, response, html) {
        if (!error && response.statusCode == 200) {
            var main = cheerio.load(html);

            var price  =  cheerio.load(main('.rsltL').html());
            console.log(price('.red').html().trim());

        }
    });
}

//example BOOK ISBN 9781466480032

findPrice(9781466480032);