filtro

Catch web pages data, manipulating HTML in the server.

filtro

Get summary of a url based in semantic and social tags.

npm install filtro --save

var pageData = require('filtro');
 
pageData.summarycontent({
    url: 'http://tutsmais.com.br/blog/',
    modules: ['title', 'facebook'],
    onContentfunction (e) {
        console.log('Content: ', e);
    }
});

API

url: URL to request. modules: Array os modules: ['facebook', 'title'];

events onContent: Trigered when your data is complete. onError: Tregered when have any error.

Feel free to create a Issue to send suggestions and bugs.