filtro
v0.1.1
Published
Catch web pages data, manipulating HTML in the server.
Downloads
6
Readme
filtro
Get summary of a url based in semantic and social tags.
Install
npm install filtro --save
Make a little test
var pageData = require('filtro');
pageData.summarycontent({
url: 'http://tutsmais.com.br/blog/',
modules: ['title', 'facebook'],
onContent: function (e) {
console.log('Content: ', e);
}
});
You will see:
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.
Contributors
Feel free to create a Issue to send suggestions and bugs.